Stable Raster Interrupts

Basic and Machine Language

Moderator: Moderators

tlr
Vic 20 Afficionado
Posts: 437
Joined: Mon Oct 04, 2004 10:53 am

Re: Stable Raster Interrupts

Postby tlr » Wed Aug 09, 2017 8:08 am

hawk wrote:Do coders use multiple interrupts per screen or do they tend to keep control of the raster within the one interrput for the whole visible screen. (Does that make sense?)

That depends on the task I guess.

Two examples:

In fcbpaint I use one interrupt per frame because cpu control is needed over the whole screen area anyway.

For a program where asynchronous code needs to run in the background using several interrupts makes sense. In datapop there is a 256 cycle stable NMI running + 1 non-stabilized IRQ per frame + asyncronous buffer filling code running in the background.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests