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 Retro Replay - writing to SD card?
2009-09-22 20:39
neilbaldwin
Account closed

Registered: Sep 2009
Posts: 48
MMC Retro Replay - writing to SD card?

Maybe not the correct place to post this but it doesn't seem to fit anywhere else :)

Is anyone aware of a plugin for RR that enables writing to a mounted .d64 file or alternatively, is it possible to use the Action Replay-type features to dump/load the entire memory to a file on the SD card?
 
... 30 posts hidden. Click here to view all posts....
 
2009-09-29 20:21
clonK
Account closed

Registered: Aug 2008
Posts: 65
I have relaunch64 emulator setting set to: E:\C64\relaunch64\sendC64.bat

my sendC64.bat contains:
c:\codenet\codenet -n 192.168.1.64 -x %~f1

so I run codenet on my C64 with 1541U, then I can compile and run my relaunch code str8 on my C64.

That's all I've done so far. As to the problems that Groepaz mentions with ethernet on the 1541U, I'm not sure how that'll affect what you want to do. Obv those problems don't exist in the MMC replay.
2009-09-30 08:28
neilbaldwin
Account closed

Registered: Sep 2009
Posts: 48
Yeah, I do pretty much the same as hollowman and clonK.

You can grab the source code to 64tass and build it yourself (you need to install the Mac Dev tools if you're on Mac. Download them from Apple for free).

Then use 64tass as a command-line compiler, send the resulting binary files to the C64 as described.

Nice idea putting the Codenet restart in your code. :)
2009-09-30 17:17
Angel of Death

Registered: Apr 2008
Posts: 211
woohoow!
Now that's something I can use.
It's time to start ordering some stuff! :)

Thanks people...
2009-09-30 17:46
neilbaldwin
Account closed

Registered: Sep 2009
Posts: 48
Don't hesitate to ask if you get stuck. Having just gone through the pain of setting this stuff up on the same platform as you I can probably be of some use while it's still fresh in my head :)
2009-10-05 13:37
neilbaldwin
Account closed

Registered: Sep 2009
Posts: 48
Quote: http://www.oxyron.de/html/freplay.html
Quote:

Network server CodeNet

CodeNet is a special transfer server which allows sending of binary data or program files directly into the C64 memory and sending of an execute command. You can use it for easy cross assembling. The server is started by entering the CODENET command (available on the F6 key).


So you flash the retro replay or mmc replay with the tfr rom, then you can press F6 in basic to enter codenet on c64, run a script on the pc which sends the file to the c64 and tells it to execute it.
And preferably you will do as Devia to get the c64 back to codenet receive mode


http://noname.c64.org/csdb/forums/index.php?roomid=11&topicid=3..
Quoting Devia

In my code I then usually setup and NMI interrupt (if I don't use NMI for other stuff) that does something like:
	lda	#$37
	sta	$01
	lda	#$18		;Select Bank 3
	sta	$de00		;in the Retro Replay
	jsr	$FF81		;CINT
	cli
	jmp	$9800		;Jump to CodeNet

This enables me to simply press RESTORE on C64 to terminate my program and return to CodeNet.


Is anyone using the press-RESTORE-to-jump-to-codenet trick?

I tried to implement it but it wouldn't work in my code so I tried just resetting the C64 and typing SYS38912 to simulate the JMP $9800 line in the code but nothing happens.

Does anyone have an up-to-date memory map for the TFR08 cart?

Thanks
2009-10-05 14:02
neilbaldwin
Account closed

Registered: Sep 2009
Posts: 48
I should've added : when I say it doesn't work, the RESTORE key gets trapped and it seems to attempt to restart the C64 but all that happens is the border colour gets reset and my program keeps running (just scrolling some text as a test).
Previous - 1 | 2 | 3 | 4 - 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
The Syndrom/TIA/Pret..
Alta
Darkflight
Stone/Prosonix/Offence
Freeze/Blazon
grennouille
t0m3000/hf^boom!^ibx
BYB/Hokuto Force
Mr. Sex/Byterapers
Guests online: 140
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 Diskmag Editors
1 Magic  (9.8)
2 hedning  (9.6)
3 Jazzcat  (9.5)
4 Elwix  (9.1)
5 Remix  (9.1)

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