| |
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. |
|
| |
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 |
| |
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 :-) |