|
Atari coding BBS
Re: FDC/HDC interrupt |
Posted by: evil
|
Feb,04.2005-09:29
|
And before anyone asks how you play 60Hz or other frequencies on 200Hz timer-c. It's not 100% accurate, but I doubt anyone could tell this from the real thing without knowing which is which.
Same init/exit stuff as before, and a little alteration in the code:
replay_freq: equ 60
my_c:
sub.w #replay_freq,timing
bpl.s not_yet
add.w #200,timing
movem.l d0-a6,-(sp)
jsr playmusic
movem.l (sp)+,d0-a6
.not_yet:
move.l save_c,-(sp)
rts
.timing: dc.w 200
--
Anders Eriksson
ae@dhs.nu
|
[All messages in this thread] [Start new thread]
Topic
|
Posted by
|
Date
|
FDC/HDC interrupt
|
tobe
|
Jan,31.2005-17:17
|
Re: FDC/HDC interrupt
|
earx
|
Jan,31.2005-23:14
|
Re: FDC/HDC interrupt
|
tobe
|
Feb,01.2005-02:29
|
Re: FDC/HDC interrupt
|
stghost
|
Feb,01.2005-22:41
|
Re: FDC/HDC interrupt
|
tobe
|
Feb,02.2005-05:50
|
Re: FDC/HDC interrupt
|
gwEm
|
Feb,02.2005-16:15
|
Re: FDC/HDC interrupt
|
stghost
|
Feb,02.2005-22:59
|
Re: FDC/HDC interrupt
|
tobe
|
Feb,03.2005-18:16
|
Re: FDC/HDC interrupt
|
evil
|
Feb,04.2005-08:33
|
Re: FDC/HDC interrupt
|
evil
|
Feb,04.2005-09:29
|
Re: FDC/HDC interrupt
|
Simon Sunnyboy / Paradize
|
Feb,04.2005-11:11
|
Re: FDC/HDC interrupt
|
tobe
|
Feb,04.2005-19:32
|
Re: FDC/HDC interrupt
|
Patrice Mandin
|
Feb,07.2005-00:27
|
Re: FDC/HDC interrupt
|
tobe
|
Feb,07.2005-13:44
|
What's the anti-troll code? That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
|