|
|
Atari demoscene BBS
| Re: non timer c sndh files |
|
Posted by: evil
|
Apr,16.2004-13:11
|
I assume he means that the calling method is timer-c, not the actual
special effects.
But yes, there are at least VBL-tunes, and if you really need to call
tunes from another timer, just change TCXXX into TBXXX, but make sure that
the music driver does not use B OR C then. The OS needs C free from
special effects to survive! SND-Player hooks into the system C (200Hz) and
approximates the replay frequency from these 200Hz. F.ex. a 60Hz song will
not play at true 60, but so close I bet you can't spot the difference.
timerc:
sub.w #60,timer ;simulated vbl-speed
bpl.s noplay
add.w #200,timer
bsr.w playervbl
noplay:
move.l system_c,-(sp)
rts
section data
timer: dc.w 200
Or something like that I belive..
--
Anders Eriksson
ae@dhs.nu
|
[All messages in this thread] [Start new thread]
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.
|