#10503 - sgeos - Sat Sep 06, 2003 6:02 pm
Do interrupts have to be enabled to take advantage of SWI 4 (IntrWait)?
Does the v-blank interrupt need to be enabled to take advantage of SWI 5 (VBlankIntrWait)?
-Brendan Sechter
#10504 - sajiimori - Sat Sep 06, 2003 6:47 pm
Yes on both counts. Make sure you acknowledge the vblank interrupt to the BIOS when using SWI 5, or it will lock up.
#10507 - tepples - Sat Sep 06, 2003 7:32 pm
Strictly, when you write back to IF it should be | (because it's a register with, essentially, OR logic), and when you write back to BIOS's mirror of IF it should be |= (because it's plain memory, which has REPLACE logic).
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.