|
Atari coding BBS
Re: ST Synclock system |
Posted by: evil
|
Jun,13.2015-10:00
|
BBM:
While coding the screen. I allocate too much time so I'm sure it will finish in time. Then at demo put-together I measure how long it will really take and adjust the vbls to wait.
I have no scientific way to calculate to the exact vbls, just a lame-ass visual test:
1. At the end of the runtime init, add this macro: "init_finish_green"
2. In main.s enable the equ for "init_finish"
Now the screen becomes green when the runtime init is done and you can trim down the vbls until there is a short flash of green left.
Of course you don't need to use the macro, just set the colour manually if you like that. I did it a macro like that as it's then easy to switch on/off for all parts with only one flag and only one line in each runtime init.
I'm sure it's possible to make this better to count the real number of VBL's and trim it down a tiny bit more. But this has worked OK for us so far.
--
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.
|