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 > killing is my..... FINAL II & III
2008-05-18 18:27
Kisiel
Account closed

Registered: Jul 2003
Posts: 56
killing is my..... FINAL II & III

hello, maybe someone can help me in coding. I need informationa about how to kill FINAL 2 & 3 cartridge in assembler.
2008-05-18 19:56
Graham
Account closed

Registered: Dec 2002
Posts: 990
Simply call the kernal reset routines.
2008-05-19 18:58
Kisiel
Account closed

Registered: Jul 2003
Posts: 56
maybe it's faster method? as in action replay then you put $0d to de00, I need access to area $DF00.
2008-05-19 22:26
AlexC

Registered: Jan 2008
Posts: 299
Take a look killf3.prg:

SEI
LDA #$F0
STA $DFFF
LDA #$A
STA $DF13
LDA #$1C
STA $DF13
LDA #$22
STA $DF11
JMP ($FFFC)

Also take a look at my write up about different carts including FCIII:
http://codebase64.org/doku.php?id=base:cartridge_detection
2008-05-20 00:09
Graham
Account closed

Registered: Dec 2002
Posts: 990
You can't disable the FC3 on the hardware side, you can only remove all the changes it's firmware does on the jump vectors by using the reset routines.
2008-05-20 09:25
MagerValp

Registered: Dec 2001
Posts: 1078
Quote: Take a look killf3.prg:

SEI
LDA #$F0
STA $DFFF
LDA #$A
STA $DF13
LDA #$1C
STA $DF13
LDA #$22
STA $DF11
JMP ($FFFC)

Also take a look at my write up about different carts including FCIII:
http://codebase64.org/doku.php?id=base:cartridge_detection


Why write to $df11 and $df13? That's just ROM. $dfff is the only writeable register.
2008-05-20 11:19
AlexC

Registered: Jan 2008
Posts: 299
This program as far as I remember has been created for MMC card so it disables df13 is extending banking register of MMC and df11 is a control register of it.

I've just posted the disassembly of it without analyzing it further.
2008-05-20 15:53
TNT
Account closed

Registered: Oct 2004
Posts: 189
IIRC someone didn't like FC III led staying on when attached to MMC64, that's the whole reason for killfc3's existence.
2008-05-20 18:49
Burglar

Registered: Dec 2004
Posts: 1101
jsr $ff8a
jsr $ff84
jsr $ff81

should do the trick, or check the kernal code at $fce2 for more
2008-05-22 10:45
Graham
Account closed

Registered: Dec 2002
Posts: 990
This one restores kernal + basic vectors:

JSR $FF8A
JSR $E453
JSR $E3BF

2013-03-12 00:23
chatGPZ

Registered: Dec 2001
Posts: 11386
Quote:
You can't disable the FC3 on the hardware side, you can only remove all the changes it's firmware does on the jump vectors by using the reset routines.

ehrm. writing $f0 to $dfff does just that. calling the kernal reset routines disables the fastloader - but not the cartridge =P
 
... 2 posts hidden. Click here to view all posts....
 
Previous - 1 | 2 - 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
Matt
Nordischsound/Hokuto..
Guests online: 87
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 Triad  (9.3)
5 Censor Design  (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.049 sec.