Login
Back to forumSee the full topicGo to last reply

Posted By

Stinaris
on 2017-01-14
14:43:21
 Re: VB interrupt. How do you get it to trigger?

Basically I'm spreading the screen double buffering over 5 separate iterations.
(I'm scrolling Right to Left)

Raster Interrupt at $04 position (1st)
Copy 160 chars from buffer 1 to Buffer 2 (or vice versa)

Raster Interrupt at $04 position (2nd)
Decrease Scroll reg by 2 (using multi-colour and don't know of a better way)
Copy next 160 chars from buffer 1 to Buffer 2 (or vice versa)

Raster Interrupt at $04 position (3rd)
Copy next 160 chars from buffer 1 to Buffer 2 (or vice versa)

Raster Interrupt at $04 position (4th)
Decrease Scroll reg by 2 (using multi-colour and don't know of a better way)
Copy next 160 chars from buffer 1 to Buffer 2 (or vice versa)

Raster Interrupt at $04 position (5th)
Copy next 160 chars from buffer 1 to Buffer 2 (or vice versa)

Raster Interrupt at $04 position (6th)
Music Player Interrupt
Decrease Scroll reg by 2 (using multi-colour and don't know of a better way)

Raster Interrupt at $04 position (7th)

Raster Interrupt at $04 position (8th)



I may have to spread the copy over a number of interrupts or move it out of the interrupts completely.



Back to top


Copyright © Plus/4 World Team, 2001-2024