On 7/13/12 1:56 AM, Alex Freed wrote:
To test some hardware I need an easy way to move (binary) data from a PC to Apple 2e. Cross-assembled code, but it doesn't matter. I expect a number of trials and errors so it needs to be fast and easy. For just a single operation I know I can make a disk image with Cider Press and use ADT. There is also the "game server" that can be used to load programs. But it always starts from scratch transferring its own helper code first. Acceptable but not perfect. So the question is is there a program to run from disk that will transfer a file via SSC using say Xmodem? I don't need a full blown communications package, just a simple "rx" type utility to get a block of data and optionally save as a binary file. Or I can do BSAVE myself if I have to. Thanks. -Alex.
Use my c2t (http://asciiexpress.net/files) tool (Windows and Mac binaries included as well as the source). That is what I created it for. Take any binary or monitor text format and convert it to audio with c2t, then just use "LOAD" to load it up at 8000 bps. It will be compressed and automatically expand at your target location. The exception would be BA00-BF00 since I use that range for my code. In that case use c2t to just create a classic tape format file and use the standard monitor commands. c2t also supports multiple memory segments and the standard output will give you the commands needed to run on your 2e.
This is the fastest way I have been able to do quick tests without having to create a disk or do something with the serial cable. I usually type "make install" on my workstation and that dumps the audio file in Dropbox. Then from my iPhone I launch the Dropbox app and play the file into my 2e. (My 2e is in the basement, I work on the 2nd floor).
If you have a command line tool (like sox) and your workstation connected to your 2e via audio you could also add that to your makefile and then just "make test" after you type "LOAD" on the 2e.
If you can use the autoloader "LOAD" with compression, large transfers take seconds.