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: 849
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: 11386
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: 849
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
rexbeng
BYB/Hokuto Force
Da Snake
WVL/Xenon
camper
Chesser/Blazon
Rub_0201
Fred/Channel 4
Paul Bearer
blitzed
Guests online: 144
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 Edge of Disgrace  (9.6)
6 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 No Listen  (9.6)
2 Layers  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 Dawnfall V1.1  (9.5)
7 Rainbow Connection  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Censor Design  (9.3)
5 Triad  (9.3)
Top Graphicians
1 Mirage  (9.8)
2 Archmage  (9.7)
3 Pal  (9.6)
4 Carrion  (9.6)
5 Sulevi  (9.6)

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