| |
The Shadow
Registered: Oct 2007 Posts: 304 |
detecting a cartridge....
There must be somewhere in memory which recognizes the presence of a cartridge. How is it possible to simply detect the presence of a cartridge? |
|
| |
assiduous Account closed
Registered: Jun 2007 Posts: 343 |
it may depend on the cartridge i believe
here's how you do it with Retro Replay: http://codebase64.org/doku.php?id=base:rr_detect |
| |
JackAsser
Registered: Jun 2002 Posts: 2014 |
I have a strong déjà vu feeling about this. Havn't we discussed this a zillion times (can't point you to any threads though :) ). Anyways, some cartridges simply won't be detectable once you use their built-in kill-command, but perhaps that's not what you asking? Are you asking like: If the cartridge is in its normal operation mode, can it then be detected properly? I beleive most, if not all, cartridges that are in operational mode can be detected. |
| |
Necronomfive Account closed
Registered: Dec 2004 Posts: 20 |
There is NO WAY to detect an Action Replay/Retro Replay/MMC Replay once the freezer has been configured. You can however fuck up Action Replay owners (if that's your intention) by performing a:
lda $de00
which crashes machines with Action Replay's. This wont work however on Retro Replay/MMC Replay. |
| |
null Account closed
Registered: Jun 2006 Posts: 645 |
I have heard once, that it is possible to detect a number of different carts, and show on screen *which* cart that is ( or 'undetected' if the cart is unknown ).
can't remember who wrote that, though...
------------------------------------
http://zomgwtfbbq.info |
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
it's possible as long as the cartridge is "active" (eg when you are in "fastload" mode in AR) ... however when you "kill" the cartridge, it's completely invisible to the c64 and only becomes visible again when you press freeze. |
| |
AlexC
Registered: Jan 2008 Posts: 299 |
Take a look at my post:
http://noname.c64.org/csdb/forums/?roomid=11&topicid=3651&showa..
To clear things up: some carts like FCIII can be detected even after kill command has been issued. The 2 hard ones to detect are RR and Expert (from the carts I know and I have for tests). RR after the ZAP command is really invisible to the system. Expert in off position also seems to be hard to detect. I need to do some more research on this one to fully answer your question. |
| |
Turtle Account closed
Registered: Jan 2002 Posts: 70 |
There was an article in some mid 80s issue of the german C64-Magazin talking about copy-protections (by EA?) that check if a cartridge is present. Dunno any further detail... |
| |
The Shadow
Registered: Oct 2007 Posts: 304 |
No just wondering how to detect a cartridge under normal use. Some programs such as Darksqueezer will not squeeze until a cartridge is disabled (as least with Super Snapshot Cartridge). |
| |
AlexC
Registered: Jan 2008 Posts: 299 |
Quote: No just wondering how to detect a cartridge under normal use. Some programs such as Darksqueezer will not squeeze until a cartridge is disabled (as least with Super Snapshot Cartridge).
Basically it works like this:
1. try to enable cartridge ROM bank
2. check if certain procedure (byte sequence) is in place
3. jsr $proc
Also it is possible to use Action Replay RAM bank for own use (only certain areas are safe if you plan to use freezer and / or disk turbo). You can even use whole 8kb. Again this is done by writing to $DE00 certain values - take a look at my article, link is above.
Hope this helps... |
| |
The Shadow
Registered: Oct 2007 Posts: 304 |
Yes Alex, thank you. |