Yay! Got Esc working now. I just copied some of the code from page 466 into $DC1C in my memory map and that did the trick. I could have put it anywhere.. but I think that's where the MOS routine equivalent sits that does the page 466 thing and then jumps back to $b402.
Nice!![Smile :-)]()
Well.. I got the Escape error message appearing when I press the Esc key anyway.. It doesn't stop my code from executing yet so I guess there's still more to do..
So how is the Escape key processed when a program is running? Is there an IRQ interrupt that scans the keys and calls a BASIC ROM routine to handle the Escape press?
Nice!
![Smile :-)](http://www.stardot.org.uk/forums/images/smilies/icon_smile.gif)
Well.. I got the Escape error message appearing when I press the Esc key anyway.. It doesn't stop my code from executing yet so I guess there's still more to do..
So how is the Escape key processed when a program is running? Is there an IRQ interrupt that scans the keys and calls a BASIC ROM routine to handle the Escape press?
Statistics: Posted by SparkyNZ — Thu Feb 22, 2024 4:54 am