Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > Restore key register? / Cartridge switch off?
2003-02-18 15:01
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.
2003-02-18 17:11
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 :)
2003-02-18 17:23
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)
2003-02-18 17:53
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.
2003-02-18 20:19
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...
2003-02-19 12:29
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.
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
AüMTRöN
Low Spirit
csabanw
TheRyk/MYD!
iceout/Avatar/HF
Apollyon/ALD
DeeKay/Crest
CopAss/Leader
Krill/Plush
Flavioweb/🇮🇹HF..
Nordischsound/Hokuto..
Guests online: 67
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 The Ghost  (9.6)
9 Wonderland XIV  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.8)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 Rainbow Connection  (9.5)
6 TRSAC, Gabber & Pebe..  (9.5)
7 Onscreen 5k  (9.5)
8 Wafer Demo  (9.5)
9 Dawnfall V1.1  (9.5)
10 Quadrants  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Swappers
1 Derbyshire Ram  (10)
2 Jerry  (9.8)
3 Violator  (9.8)
4 Acidchild  (9.7)
5 Starlight  (9.6)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.036 sec.