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?
 
... 26 posts hidden. Click here to view all posts....
 
2009-09-25 07:01
neilbaldwin
Account closed

Registered: Sep 2009
Posts: 48
Quote: i'm using this natrivly on linux, and i think the patched version should also compile on a mac - i don't have a mac right now tho. i'll re-upload the patch when i get home if anyone is interested in it.

Fuck yeah!

:D
2009-09-29 13:50
neilbaldwin
Account closed

Registered: Sep 2009
Posts: 48
I've sorted it;

Netdrive For Linux/Unix

Hope someone else besides me finds this useful :)

Neil
2009-09-29 17:57
Angel of Death

Registered: Apr 2008
Posts: 210
Quote: I hear you Jan :)

Actually, in the MMC/Replay's defence, it is ace for cross-platform coding. Unbelievably easy to compile with 64TASS and throw the binaries at the C64 wirelessly over the network. It's so easy and simple it borders on being silly :)


a bit late of a reaction. But could you elaborate on that?
You compile something on your mac, send it over wireless ethernet (?) to your mmc... and then?
You just retrieve it from the card in your mmc.
I'm just not that familiar with devices like mmc (yet)
But I'd like a nice solution fro x-compiling straight to the '64.
2009-09-29 19:01
hollowman

Registered: Dec 2001
Posts: 474
Quote: a bit late of a reaction. But could you elaborate on that?
You compile something on your mac, send it over wireless ethernet (?) to your mmc... and then?
You just retrieve it from the card in your mmc.
I'm just not that familiar with devices like mmc (yet)
But I'd like a nice solution fro x-compiling straight to the '64.


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.
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: 210
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
Viti/Hokuto Force
cercamon/Scene World..
t0m3000/ibex-crew
Paladin/G★P
Steveboy
Bieno/Commodore Plus
macx
Ymgve
Guests online: 135
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 Memento Mori  (9.6)
10 Bromance  (9.5)
Top onefile Demos
1 It's More Fun to Com..  (9.7)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Rainbow Connection  (9.5)
7 Wafer Demo  (9.5)
8 Dawnfall V1.1  (9.5)
9 Quadrants  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Nostalgia  (9.3)
2 Oxyron  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Webmasters
1 Slaygon  (9.7)
2 Perff  (9.6)
3 Morpheus  (9.5)
4 Sabbi  (9.5)
5 CreaMD  (9.1)

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