Login
Back to forumSee the full topicGo to last reply

Posted By

Mad
on 2018-04-24
11:43:53
 Re: IRQ Interrupt examples

Seems to be ok to me! A hard "bug" I encountered several times, was to set $ff07 without the $80 bit. Without it you just have the lower 128 characters accessible. I don't know what's happening at your setup but the lines you posted are Ok from a first view, I am at work and cannot test them here.

Waiting for rasterlines in gerneral is no good idea, except if you wait for the vsync to change a frame, but even there it is better to use Irqs and perhaps a tripple instead of a double buffer. If you use Irqs be aware that NTSC has a lot less rasterlines than Pal machines. If you use Irqs you can do much of the other stuff you need in the mean time instead of waiting for a rasterline and blocking all the CPU for that.

And it's always a good idea to preserve the $40 bit of $ff07 since it will "fuckup" NTSC machines if changed to the startup state.

I hope you get your bug fixed. All the best!

edit: Ah Kichy answered already, too! :)



Back to top


Copyright © Plus/4 World Team, 2001-2024