Posted By
Csabo on 2017-01-13 20:31:50
| Re: VB interrupt. How do you get it to trigger?
(When questions like this come up, I'm always lamenting what crappy state our knowledge base is in - this should be the topic to check, but currently it barely has anything.)
Hi Stinaris,
I don't think there's such a thing as a VB interrupt, or perhaps I'm not understanding what you mean. $FF09 is the TED register responsible for determining what kinds of interrupts will occurs. There's only 4: raster interrupt (I'd say this is the most common), and 3 more, one for each timer. That's it.
I'm guessing you want to do something at the bottom of the screen, so that you're not drawing on screen while the screen is displayed? The most common way to do that is to set a raster interrupt to $CC (beginning of the lower border).
Let me know if this is what you meant. Otherwise good luck with your game, I hope it comes to fruition
|