Jump to content
Posted Mon Mar 19, 2012 12:10 PM
Posted Mon Mar 19, 2012 3:23 PM
Posted Mon Mar 19, 2012 3:31 PM
Not in this sense. To indicate that you handled the IRQ, you need to clear the keyboard IRQ. For that, write first #$bf to IRQStat ($d20e) which resets the IRQ. Then write again a mask into IRQStat to indicate which IRQs you would like to receive.
It works for the most part, but the game also plays some 4bit sound samples and it is crashing from time to time. The RTI sometimes sends the program somewhere not part of the main program area after the sound plays, even if I never hit pause. I disable the keyboard IRQ while playing a sound, but didn't help much. Wouder if there is a POKEY register I have to do to clear the last key pressed or something.
Edited by thorfdbg, Mon Mar 19, 2012 3:32 PM.
Posted Mon Mar 19, 2012 5:07 PM
Posted Tue Mar 20, 2012 12:03 AM
0 members, 0 guests, 0 anonymous users