Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user Sepa ! (Registered 2024-05-13) 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: 833
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: 11137
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: 833
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
Visage/Lethargy
Alakran_64
Scrap/Genesis Project
radius75
Smasher/F4CG
kbs/Pht/Lxt
TMA/Abyss-Connection
DeMOSic/HF^MS^BCC^LSD
Sentinel/Excess/TREX
marty/RADWAR
tubesockor
Guests online: 93
Top Demos
1 13:37  (9.8)
2 Next Level  (9.8)
3 Mojo  (9.7)
4 Coma Light 13  (9.7)
5 Edge of Disgrace  (9.6)
6 Comaland 100%  (9.6)
7 Uncensored  (9.6)
8 No Bounds  (9.6)
9 Wonderland XIV  (9.6)
10 Bromance  (9.5)
Top onefile Demos
1 Party Elk 2  (9.7)
2 It's More Fun to Com..  (9.6)
3 Layers  (9.6)
4 Cubic Dream  (9.6)
5 Copper Booze  (9.5)
6 TRSAC, Gabber & Pebe..  (9.5)
7 Rainbow Connection  (9.5)
8 Dawnfall V1.1  (9.5)
9 Quadrants  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Booze Design  (9.3)
3 Nostalgia  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top NTSC-Fixers
1 Pudwerx  (10)
2 Booze  (9.7)
3 Stormbringer  (9.7)
4 Fungus  (9.6)
5 Grim Reaper  (9.3)

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