Jump to content
IGNORED

VBLANK Routine on 7800?


Heaven/TQA

Recommended Posts

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....

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...