English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 05 February 2009, 19:22   #1
snyp
'Difficult'.
 
snyp's Avatar
 
Join Date: May 2006
Location: No fixed abode
Age: 46
Posts: 105
Paula output rate

Hi guys,

if anyone knows a lot about amiga hardware, i would really appreciate clarification on this point;

i am making software that includes emulation of the amiga's paula chip.

the cpu clock of the amiga was easy to switch between pal and ntsc.

however, most commonly i've read that paula's output is 3579545 Hz, which is a serial baud rate for NTSC timing.

other places i have read that paula's output is dependent on the system clock, either 3579545 Hz NTSC clock or 3546895 Hz PAL clock.

given that a user could switch the cpu clock very easily, when this was done, was the switch also syncronised in the paula chip?

the amiga was most widely used in europe, utilising the PAL cpu and video clock speeds, 50fps..

NTSC is 60fps..

in popular tracker formats, using the video vblank for timing, switching between PAL and NTSC obviously shows a significant increase in the number of sequencing 'steps' called per second; thus an increase in the speed of the music by 20%.

also, if the paula did in fact have a switchable clock speed, the pitch of the audio would show a significant change, due to the change in output rate.

is all this true of a real amiga?

currently i have emulated PAL video clock with NTSC paula rate.. do i need to rewrite my engine?
snyp is offline  
Old 05 February 2009, 19:59   #2
Eliotg
Banned
 
Eliotg's Avatar
 
Join Date: Dec 2007
Location: Motherearth
Posts: 41
Quote:
Originally Posted by snyp View Post
Hi guys,

if anyone knows a lot about amiga hardware, i would really appreciate clarification on this point;

i am making software that includes emulation of the amiga's paula chip.

the cpu clock of the amiga was easy to switch between pal and ntsc.

however, most commonly i've read that paula's output is 3579545 Hz, which is a serial baud rate for NTSC timing.

other places i have read that paula's output is dependent on the system clock, either 3579545 Hz NTSC clock or 3546895 Hz PAL clock.

given that a user could switch the cpu clock very easily, when this was done, was the switch also syncronised in the paula chip?

the amiga was most widely used in europe, utilising the PAL cpu and video clock speeds, 50fps..

NTSC is 60fps..

in popular tracker formats, using the video vblank for timing, switching between PAL and NTSC obviously shows a significant increase in the number of sequencing 'steps' called per second; thus an increase in the speed of the music by 20%.

also, if the paula did in fact have a switchable clock speed, the pitch of the audio would show a significant change, due to the change in output rate.

is all this true of a real amiga?

currently i have emulated PAL video clock with NTSC paula rate.. do i need to rewrite my engine?

paula maximum output in ntsc or a pal screen is 28 khz
correct me someone if Im wrong
Eliotg is offline  
Old 05 February 2009, 20:06   #3
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,523
Paula's only clock source is master clock (divided by 4 I think) so Paula's audio rate has to change between PAL and NTSC. (same chip, different clock)

Quote:
paula maximum output in ntsc or a pal screen is 28 khz
This has nothing to do with OPs question
Toni Wilen is offline  
Old 06 February 2009, 01:59   #4
snyp
'Difficult'.
 
snyp's Avatar
 
Join Date: May 2006
Location: No fixed abode
Age: 46
Posts: 105
hi tony,

thanks for the reply

i will rewrite my code
snyp is offline  
Old 13 February 2009, 12:35   #5
TheDarkCoder
Registered User
 
Join Date: Dec 2007
Location: Dark Kingdom
Posts: 213
I confirm, PAL Amiga sound different form NTSC ones!
TheDarkCoder is offline  
Old 18 February 2009, 02:32   #6
Thorham
Computer Nerd
 
Thorham's Avatar
 
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 47
Posts: 3,770
Quote:
Originally Posted by Eliotg View Post
paula maximum output in ntsc or a pal screen is 28 khz
correct me someone if Im wrong
28 khz is related to the audio dma rate, which is linked to the screen mode bandwith:
Code:
15 khz screen mode=28 khz audio dma
30 khz screen mode=56 khz audio dma
Paula's audio output rate and audio dma are separate, and Paula can go much faster than the audio dma
Thorham is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using two voices for 56K sample/second audio output rate -- OCS -- No CPU or Copper mc6809e Coders. Asm / Hardware 2 28 January 2012 00:29
Better Paula 8bitbubsy Hardware mods 20 28 November 2011 10:51
Who designed Paula? thinlega Amiga scene 18 16 September 2005 16:45
Is paula enough for mp3? keropi support.Hardware 14 23 June 2005 07:56
Q: recording 4-channels sound output and "Playback Rate" jbl007 support.WinUAE 0 07 June 2005 18:23

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 03:01.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.06902 seconds with 13 queries