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 > MMC Replay Open crash
2009-05-16 10:51
Mix256
Account closed

Registered: Dec 2008
Posts: 26
MMC Replay Open crash

Another stupid Q.
	lda #$01
	ldx $ba
	bne _last_used_drive
	ldx #$08
_last_used_drive:
	ldy #$00
	jsr $ffba

	lda #3
	ldx #<_file_name
	ldy #>_file_name
	jsr $ffbd
	jsr $ffc0 ;open


This crashes at the $ffc0 call if I run it in a .d64 on a sd card with my mmc replay (bios 0.54).
If I however run it as a .prg (not included in a d64) from the sd card, it works fine.

Crash in this case is a very fast "inc $d020" (I think) happening.

I've been searching all over for a hint of this but found nothing. Am I doing something wrong?

Any input appreciated!
- Mikael
2009-05-16 11:36
MacGyver
Account closed

Registered: Dec 2001
Posts: 149
Well, I'm not a programmer, but I know the D64 handling of MMC Replay is rather limited.

Have you tried creating a DFI image instead of D64 image?
To create a DFI, use CBMImager. DirMaster by Style for Windows can handle DFI as well.
You will need to copy the DFI Plugin in the SYSTEM64 folder of your SD/MMC card. When you are asked "Kernal or Dreamload", hit K for Kernal. The DFI will be mounted and you will find yourself in the C64 Basic Promt. Use usual disc commands to access the DFI image.

You might also check retrohackers.com, a forum dealing with new hardware for the C64, with a focus on development.

Good luck!
MacGyver/Protovision/Berlin C64 Club
2009-05-16 12:04
Mix256
Account closed

Registered: Dec 2008
Posts: 26
Thanks MacGyver. It probably is an issue with the plugin. Since it works just fine in all other situtations.
Will try the DFI path. Thanks!
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
MWR/Visdom
SplAtterpunk
Acidchild/Padua
Tom-Cat/Nostalgia
Mike
Jammer
deetsay
Guests online: 115
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 Fullscreen Graphicians
1 Joe  (9.7)
2 Sulevi  (9.6)
3 The Sarge  (9.6)
4 Veto  (9.6)
5 Facet  (9.6)

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