Heaven/TQA Posted December 30, 2001 Share Posted December 30, 2001 how can I initialize a routine (VBL) on 7800 which will be called every 50/60 second? not to be too complicated... i need a VBLANK-Interruptroutine... ;=) at the moment i do it in this way... loop jsr WaitVBLANK jsr game-engine ... but this is not what i want because above is embedded into the main-code... but i need a "real" VBI... the robotron source havent showed me how to do it... i tried the IRQ but it seems not working... my DLI routine works... thanks for your help.... Quote Link to comment Share on other sites More sharing options...
DanBoris Posted December 31, 2001 Share Posted December 31, 2001 Unlike the 5200, the 7800 does NOT have a vertical blank interrupt. A way around this is to put a single line region at the very end of your display list and set a Display List Interrupt on that line. This way you will get an NMI to the processor at the end of the display list. Dan Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.