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 > Disabling AR freeze button
2003-02-20 22:19
6R6

Registered: Feb 2002
Posts: 244
Disabling AR freeze button

Is it possible to disable the Action
Replay freeze function 100% ?

In that case, please enlighten me... :)

 
... 83 posts hidden. Click here to view all posts....
 
2008-01-29 03:38
Style

Registered: Jun 2004
Posts: 498
Quote: i'd also like krill to explain how ar would freeze with nmi and irq disabled, because i cant see that working ...

Im pretty sure the cart itself drives the NMI line high itself..... Remember, the reason you can disable NMIs is by not acknowledging an NMI, therefore leaving the NMI line low. From what I can tell from the circuit diagram, the AR itself itself drives the NMI line high with a 74LS74 (from memory).

I dont have a problem with this. However, wouldnt this make it impossible to disable the restore key as well?

Or perhaps the AR only drives the NMI line high when you press the button, and then a short while later grounds it again? If thats the case, I cant see it in the circuit.....

2008-01-29 05:47
Mace

Registered: May 2002
Posts: 1799
If it was possible to disable such a cartridge feature, wouldn't that have been one of the better piracy protections?
2008-01-29 05:55
chatGPZ

Registered: Dec 2001
Posts: 11107
not really, it only works if you disable IRQ _and_ NMI (cause then there is no way for the AR to kick in).

a much easier way is however, to sync a timer to the raster, and every now and then check if the timer is still in sync.... if it isnt, then the program has been frozen (and restarted). and this has indeed been done in some games :)
2008-01-29 06:48
Radiant

Registered: Sep 2004
Posts: 639
Quoting The Shadow
Why would you want to disable the freeze button on a cartridge. In this modern 64 day, [...]

Curiosity; "can it be done, if so, how"? To give other people something to put their head against? Just for the hell of it?
2008-01-30 07:17
Style

Registered: Jun 2004
Posts: 498
Quote: not really, it only works if you disable IRQ _and_ NMI (cause then there is no way for the AR to kick in).

a much easier way is however, to sync a timer to the raster, and every now and then check if the timer is still in sync.... if it isnt, then the program has been frozen (and restarted). and this has indeed been done in some games :)


Have you tested your theory groep? ie, disable NMI and IRQ and try to freeze the program?

2008-01-30 08:05
chatGPZ

Registered: Dec 2001
Posts: 11107
actually, no...but since what the freeze button does is causing an NMI, i dont feel like doing it either, its obvious =)
2008-01-30 09:37
Frantic

Registered: Mar 2003
Posts: 1627
I remember some compo-pic which (by accident, it seemed) jammed the machine after making sure the gfx was visible. Another way to do it perhaps. :)
2008-01-30 11:31
Style

Registered: Jun 2004
Posts: 498
Are you really really sure its that obvious groep?

:D

2008-01-30 12:05
chatGPZ

Registered: Dec 2001
Posts: 11107
yes, how do you think freeze works?
2008-01-30 21:32
Martin Piper

Registered: Nov 2007
Posts: 633
Stopping the NMI will stop most freezers from working. Unless the freezer is actually watching the data and address bus and is able to dump the whole of memory. To restore all the freezer needs to do is dump out touched memory, restore CIA, VIC, SID state (it's possible to read the SID for protection purposes for example) and then start the CPU. Such hardware based freezers that watch the internal buses are practically impossible to stop.
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 - Next
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
A3/AFL
Urban Space Cowboy
zscs
LMan
Krill/Plush
WVL/Xenon
Steveboy
Guests online: 59
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 Logo Graphicians
1 Sander  (10)
2 Facet  (9.7)
3 Mermaid  (9.4)
4 Pal  (9.4)
5 Shine  (9.3)

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