| |
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?
|
|
| |
SIDWAVE Account closed
Registered: Apr 2002 Posts: 2238 |
They know all that stuff here:
http://www.retrohackers.com/
|
| |
neilbaldwin Account closed
Registered: Sep 2009 Posts: 48 |
Thanks Jan, I'll take a look.
|
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
but to answer your question, no such plugin(s) exist =P |
| |
SIDWAVE Account closed
Registered: Apr 2002 Posts: 2238 |
Neil: for workdisk, just use a D64, and save to fill it up.
when full, copy latest workfile to a new D64, and continue.
that way its safe, and diskbugs shouldnt occur.
170k for a d64 is nothing in 2009, you can afford it :D |
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
again for rambones: no such plugin(s) exists. |
| |
neilbaldwin Account closed
Registered: Sep 2009 Posts: 48 |
Quote: Neil: for workdisk, just use a D64, and save to fill it up.
when full, copy latest workfile to a new D64, and continue.
that way its safe, and diskbugs shouldnt occur.
170k for a d64 is nothing in 2009, you can afford it :D
Heh :)
But are you talking about on a MMC cart on a physical C64 or with, say, VICE?
There's nothing I've found yet that will allow you to write to a D64 on the C64 (via the MMC/Replay) but yes, I've been doing similar to what you describe with VICE and it works very well.
Just want to be able to do the same on the proper hardware :) |
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
on real hardware you can currently do it with the (much more expensive) 1541u. |
| |
neilbaldwin Account closed
Registered: Sep 2009 Posts: 48 |
Quote: on real hardware you can currently do it with the (much more expensive) 1541u.
Let's hope those pre-orders turn into orders sometime soon :) |
| |
Devia
Registered: Oct 2004 Posts: 401 |
So all you need is an OSX rendition of NetDrive and you can redirect all KERNAL disk I/O to your MAC and load save directly from within SDI.. almost ideal? |
| |
neilbaldwin Account closed
Registered: Sep 2009 Posts: 48 |
Quote: So all you need is an OSX rendition of NetDrive and you can redirect all KERNAL disk I/O to your MAC and load save directly from within SDI.. almost ideal?
I looked at netdrive but wasn't sure it was easy to setup on the Mac.
But yes, that would be very, very sweet if it could happen :D |
| |
neilbaldwin Account closed
Registered: Sep 2009 Posts: 48 |
Actually that wasn't very clear.
What I meant was, I tried building netdrive on my Mac but there were plenty of errors. I guess someone could port the code to work on unix platforms - someone did it for codenet (which builds fine on Mac).
|
| |
Kristian
Registered: Apr 2002 Posts: 126 |
Quote: on real hardware you can currently do it with the (much more expensive) 1541u.
And with the (compared to 1541u much cheaper) C64TPC. |
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
yeah well, or rr-net + netdrive or sdiec or iecata or or or...any of the other rather incompatible things that only work with stuff using kernal loading :)
|
| |
neilbaldwin Account closed
Registered: Sep 2009 Posts: 48 |
Quote: And with the (compared to 1541u much cheaper) C64TPC.
Damn, that looks ace but seems no client for Mac/unix/etc. :(
I've emailed the guy to ask if one is available.
|
| |
SIDWAVE Account closed
Registered: Apr 2002 Posts: 2238 |
Neil: when you get a 1541u, you dont need: 1) disks, 2) any other cartridge, 3) your mmc money are wasted and you can sell the crap :D |
| |
neilbaldwin Account closed
Registered: Sep 2009 Posts: 48 |
Quote: Neil: when you get a 1541u, you dont need: 1) disks, 2) any other cartridge, 3) your mmc money are wasted and you can sell the crap :D
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 :)
|
| |
neilbaldwin Account closed
Registered: Sep 2009 Posts: 48 |
Well, after a session of head-scratching last night, between us me and Geir managed to make it work.
I'm using now using netdrive on an XP virtual machine via Parallels Desktop (until I can get someone to build a unix/OSX version of netdrive) using the UNDOCUMENTED "-W" (write) mode. Am now able to load and save SDI song files over wireless network to my MacBook running XP in a virtual machine, LOL.
Only problem I've got at the moment is that netdrive seems to ignore the specified path and reads/writes files from the folder where i run netdrive from. Anyone know why?
I've got someone looking at porting netdrive over to unix so I'll share it on here if it's successful.
Thanks for everyone's input and thanks to Geir for his endless patience and help.
After all this, I bet my 1541U turns up tomorrow LOL
|
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
Quote:Neil: when you get a 1541u, you dont need: 1) disks, 2) any other cartridge, 3) your mmc money are wasted and you can sell the crap :D
except if you want actually properly working ethernet, or maybe a correctly working freezer in AR/RR ... then 1541u isnt quite there =P
Quote:I've got someone looking at porting netdrive over to unix so I'll share it on here if it's successful.
get "diskimagery64" ... its a nice frontend to warpcopy that works in *nix (and the developer is even a osx guy)...and it can work as a server for netdrive too.
|
| |
clonK Account closed
Registered: Aug 2008 Posts: 65 |
Quote: Quote:Neil: when you get a 1541u, you dont need: 1) disks, 2) any other cartridge, 3) your mmc money are wasted and you can sell the crap :D
except if you want actually properly working ethernet, or maybe a correctly working freezer in AR/RR ... then 1541u isnt quite there =P
Quote:I've got someone looking at porting netdrive over to unix so I'll share it on here if it's successful.
get "diskimagery64" ... its a nice frontend to warpcopy that works in *nix (and the developer is even a osx guy)...and it can work as a server for netdrive too.
I haven't had 1 single problem with ethernet since firmware 1.6. Am I just lucky? Are not each 1541U version born equal?
I have a version 2. I use ethernet a lot too, mainly codenet, either firing executables over or using warpcopy to send/receive .d64's.
I haven't had any freezer issues since the custom 1.66 firmware (touch wood), but I s'pose more testing is needed on that score.
The only thing missing for me is a built in sid player.
Anywayz.. I digress.. |
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
Quote:I haven't had 1 single problem with ethernet since firmware 1.6. Am I just lucky? Are not each 1541U version born equal?
try using codenet and upload a file to $d000 -> booom crash (should work fine, as it does on RR/MMCR)
it works with warpcopy and some other programs, thats true.
Quote:I haven't had any freezer issues since the custom 1.66 firmware
i am talking about AR freezer.... start AR, hit f3 ("normal reset"), press freeze, then f3 again ("restart") -> booom crash (should work just fine, as it does on real AR and RR/MMCR too)
|
| |
GT Account closed
Registered: Sep 2008 Posts: 308 |
Netdrive.exe worked very good. Finally I can read and write files directly on PC/MAC using SDI on the real thing without a 15xx diskdrive. Kudos to Neil for digging into it. Nice tool Graham! |
| |
neilbaldwin Account closed
Registered: Sep 2009 Posts: 48 |
Quote: Quote:Neil: when you get a 1541u, you dont need: 1) disks, 2) any other cartridge, 3) your mmc money are wasted and you can sell the crap :D
except if you want actually properly working ethernet, or maybe a correctly working freezer in AR/RR ... then 1541u isnt quite there =P
Quote:I've got someone looking at porting netdrive over to unix so I'll share it on here if it's successful.
get "diskimagery64" ... its a nice frontend to warpcopy that works in *nix (and the developer is even a osx guy)...and it can work as a server for netdrive too.
I've got DiskImagery but it has a design issue (as far as I can see). When you share your Mac files to the network, you have to select files to expose to the C64. If you select a folder it complains and tells you to select files. What that means is you can't write anything back to the Mac from the C64. Even tried point it at a D64 image and writing to that but it complains and fails.
I had a look through the source to see if I could fix it but it's written with some weird build engine, QT-something, and I couldn't be arsed to try to make it build.
I've emailed the author to see if he knows why writing back to the Mac is not working properly.
Unless I'm doing something wrong, of course. |
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
QT is a portable gui framework, you must install the necessary library files for QT, and then run "qmake" once in the source dir. then it builds fine. |
| |
neilbaldwin Account closed
Registered: Sep 2009 Posts: 48 |
Quote: QT is a portable gui framework, you must install the necessary library files for QT, and then run "qmake" once in the source dir. then it builds fine.
OK, I see that now. :)
Do you use DiskImagery? I'm just curious to know if anyone has managed to write files back from 64->Mac?
Also, does anyone know the author? I've tried emailing him but no response so far (few days ago).
|
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
i am using it (but only for warpcopy, not netdrive, so cant tell wether it works) and i have mailed with the author too... maybe he is on vacation or something :) |
| |
A Life in Hell Account closed
Registered: May 2002 Posts: 204 |
Quote: Well, after a session of head-scratching last night, between us me and Geir managed to make it work.
I'm using now using netdrive on an XP virtual machine via Parallels Desktop (until I can get someone to build a unix/OSX version of netdrive) using the UNDOCUMENTED "-W" (write) mode. Am now able to load and save SDI song files over wireless network to my MacBook running XP in a virtual machine, LOL.
Only problem I've got at the moment is that netdrive seems to ignore the specified path and reads/writes files from the folder where i run netdrive from. Anyone know why?
I've got someone looking at porting netdrive over to unix so I'll share it on here if it's successful.
Thanks for everyone's input and thanks to Geir for his endless patience and help.
After all this, I bet my 1541U turns up tomorrow LOL
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. |
| |
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 |
| |
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 |
| |
Angel of Death
Registered: Apr 2008 Posts: 211 |
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.
|
| |
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.
|
| |
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. |
| |
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. :) |
| |
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... |
| |
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 :)
|
| |
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 |
| |
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).
|