Posted By
 Csabo on 2021-01-08 19:14:41
| Re: Help with raster interrupt
You're missing the "acknowledge interrupt" step. You just need to read and write $FF09, in practice this is usually ASL $FF09 or something similar.
You don't _have_ to call SCNKEY/GETIN from IRQ. Those write to $C6 IIRC.
If you need to look at some working code, all my demos/games should have source code released. (Let me know if you see something that's missing the source.) E.g. check Stack 123 for a fully working keyboard handler, etc. |