|
Atari coding BBS
ST Synclock system |
Posted by: BBM/DMG
|
Jun,12.2015-22:35
|
Evening all,
I'm putting something together using the DHS Synclock Demosystem (working great thanks to Evil's makefile), but I've a question about the demopart inits.
The format for the demopart sequences is
;dc.l vbls,timer_a_delay,timer_a_div,vbl_routine,timer_a_routine,main_routine
and for each section in the examples, there's an init then a main call, like
dc.l 20,0,0,dummy,dummy,syncscrl_runtime_init
dc.l 1000,97,4,syncscrl_vbl,syncscrl_ta,syncscrl_main
I'm guessing that for the main routines, the number of VBLs is used to specify how long you want the effect to run for, but for the init routines, how do you know how many VBLs to give it? For example, the standard double-buffer example is given 10 VBLs, but the triple-buffer example is given 200 VBLs. I know this is because it has more work to do, but how do you determine the figure?
Rob
|
[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.
|