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 cartridge problems during runtime.
2007-03-04 11:59
Conrad

Registered: Nov 2006
Posts: 856
Disabling cartridge problems during runtime.

Hey there coders.

I keep noticing that several cracks/releases i upload always fail to run with a particular cartridge inserted (particularly the Action Replay cartridges.) They do of course work in normal mode so the releases are not broken themselves.

I was wondering if there is a piece of code that would disable this problem so that the releases WILL work with a cartridge ?

I keep thinking it's this bit of code here...

JSR $FF5B
JSR $FD15
JSR $E3BF
CLI

...resetting the VIC/SID/IRQ etc. If this is incorrect, is there code that can do this?

Many thanks.
2007-03-04 13:34
chatGPZ

Registered: Dec 2001
Posts: 11523
yes, resetting i/o should cure many common problems.

however lost of the times its the packer that screws up, due to the cartridge not setting some zeropage stuff exactly like the kernal after loading.... cant do much about that
2007-03-04 14:09
Conrad

Registered: Nov 2006
Posts: 856
Quote:
its the packer that screws up, due to the cartridge not setting some zeropage stuff exactly like the kernal after loading


That's true. There are many zero-page address that need to be set at a particular value for all the code the work, especially $01.

I'll see what I can do. Thanks a lot for the advice :-)
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
Hydrogen/Glance
vili
kbs/Pht/Lxt
ritti/TLN
Rock/Finnish Gold
Guests online: 378
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Codeboys & Endians  (9.7)
4 Mojo  (9.6)
5 Coma Light 13  (9.6)
6 Edge of Disgrace  (9.6)
7 Signal Carnival  (9.6)
8 Wonderland XIV  (9.5)
9 Uncensored  (9.5)
10 Comaland 100%  (9.5)
Top onefile Demos
1 Nine  (9.7)
2 Layers  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.5)
6 Scan and Spin  (9.5)
7 Onscreen 5k  (9.5)
8 Grey  (9.5)
9 Dawnfall V1.1  (9.5)
10 Rainbow Connection  (9.5)
Top Groups
1 Artline Designs  (9.3)
2 Booze Design  (9.3)
3 Performers  (9.3)
4 Oxyron  (9.3)
5 Censor Design  (9.3)
Top Original Suppliers
1 Derbyshire Ram  (9.7)
2 Black Beard  (9.2)
3 Baracuda  (9.2)
4 hedning  (9.1)
5 Irata  (8.8)

Home - Disclaimer
Copyright © No Name 2001-2025
Page generated in: 0.067 sec.