| |
Bread Box Buggar Account closed
Registered: Feb 2003 Posts: 2 |
Restore key register? / Cartridge switch off?
Hey There.
Can anyone tell me where (which adress(es) in the C64 memory) I can read if the [Restore] key is being pushed?
-Also, I need to know if there is some poke or sys (or other) I can use to shut off whatever cartridge expansion my C64 emulator seem to be based upon.
I hope someone can help.
Thank you. |
|
| |
chatGPZ
Registered: Dec 2001 Posts: 11107 |
the restore key is connected straight to the NMI line of the cpu...cant be read from some memory location or alike... you need to program your own nmi routine to check if that key has been pressed...
what do you need this for? may theres a simplier solution :) |
| |
Bread Box Buggar Account closed
Registered: Feb 2003 Posts: 2 |
The thing is that I have become involved in upgrading the e32frodo emulator (for Nokia 9210) to work with a danish N9210 keyboard. All about the keyboard is pretty much in place now ... except for the Restore key.
That's what I need it for. :o) |
| |
Graham Account closed
Registered: Dec 2002 Posts: 990 |
if you just want to test if the restore key works, you can use RUN/STOP + RESTORE.
about the expansion cartridges: no there is not such a poke or sys command which disables all expansions. most expansions have to be removed from the expansion port to completely disable them. |
| |
Bud
Registered: Jan 2002 Posts: 14 |
I use SYS $E453 to switch off my action replay cartridge, but i do not know if it works for other cartridges... |
| |
Graham Account closed
Registered: Dec 2002 Posts: 990 |
switching off fastloader and basic extension is not equal to switching off the hardware itself... for example, a REU does not have any fastloader or basic extension and you cant disable the registers mapped to the I/O area by software. |