Login
Back to forumSee the full topicGo to last reply

Posted By

gerliczer
on 2012-02-28
16:12:48
 Re: interrupts

Well, I don't really know what you were doing, but I tried to check your code. I put the JMP $CE0E/$CE42 rigth after the 'rastersik' label. I don't know where you tried to put the jump but it must go there. This way it works and does not break at all. When jumping to $CE0E, the keyboard reading not happens because the interrupt occurs too early (check the KERNAL code please, it is a good idea anyway to study it at least a little bit) but your custom interrupt works OK. When jumping to $CE42, the keyboard reading occurs but your custom interrupt goes horribly wrong. This happens because the KERNAL interrupt handler overrides your raster interrupt setting ($FF0A/$FF0B). Calling the keyboard polling at $DB11 of course will work anytime.



Back to top


Copyright © Plus/4 World Team, 2001-2024