|
Post by xlar54 on Jun 7, 2006 18:19:05 GMT -5
I have created a windows service that does basically what Jims code does.... minus sound of course (its a service!). Anyways, anyone interested? Id be glad to send the code to anyone who wants it. It does require the 1.1 .NET framework, and a serial connection to your Commodore.
|
|
|
Post by Jeff Ledger on Jun 7, 2006 18:21:24 GMT -5
Sweet! By all means, please send it to me. Got a URL?
Jeff
|
|
|
Post by xlar54 on Jun 7, 2006 18:40:04 GMT -5
Whats your email address, and Ill send it right now if you want to put it up on the qlink files site.
|
|
|
Post by Jeff Ledger on Jun 7, 2006 19:26:57 GMT -5
jeffledger@gmail.com
Jeff
|
|
|
Post by xlar54 on Jun 7, 2006 19:27:21 GMT -5
In a more ambitious project, Im thinking about writing a transfer program that will read D64/81 images and copy the files to a commodore drive using this code.
Right now, I dont have an X1541 cable, so my only option is 1581Copy, OR setup a BBS and use this to connect and retrieve those files.
Using 1581Copy is fine, except that theres alot of steps to move files via 64Copy/StarCommander, then write a 1581 disk. Setting up a BBS for this purpose is overkill.
Probably a middle-ground would be to add an AT command to this service which initiates a Zmodem transfer.. something like:
ATGET somedisk.d64:file1.prg
Then the service would initiate a transfer, and on the commodore side, just begin the file transfer in your terminal program.
|
|
|
Post by Jeff Ledger on Jun 7, 2006 20:20:41 GMT -5
|
|
|
Post by xlar54 on Jun 8, 2006 0:25:20 GMT -5
Ok, so I have it now so you can initiate an XMODEM file transfer. So in "immediate mode", you can do:
ATGET c:/somefile.prg
And it will begin an xmodem transfer. Ill start work to make it read into D64 and D81 images, so you can transfer files directly out of an image file, and maybe even a full disk copy.
Its only as fast as your userport interface.... so it will definately bring back memories of downloading a large (120 blocks) file and waiting awhile. Not the fastest method of copying files to your Commodore, but its one way to do it.
I guess Ill add an upload capability too, so you can send files from the Commodore to the PC as well.
|
|
|
Post by xlar54 on Jun 11, 2006 2:23:02 GMT -5
Some additions... it can now support batch transfers from the PC, via the ATYG command, as in:
ATYG c:/somedir/*
This will initiate a YModem batch transfer. For simple Xmodem file transfers, use ATXG (AT Xmodem Get)
The transfer protocols are the simpler checksum methods (no CRC)...I figured if youre using this as a replacement for TCPSER4J, you probably arent expecting too many data errors (ie, you have direct connection to the PC).
Its actually been quite interesting working on this... I just wanted a quick and easy file transfer method using this interface, and Ive learned more about XModem/YModem than I ever cared to... and that I DONT want to learn the CRC versions, Zmodem, or Punter. And Ive also learned that sample source code for the protocols are actually pretty hard to find these days. At least anything .NET...there's the actual C Unix source for sb and rz, etc... Maybe Ill revisit my C-Net PC BBS code, and add filetransfers.
Anyway, Ill be sending Jeff the updated code tommorrow to be put on for downloads. It will be v1.3.
|
|
|
Post by Pinacolada on Jun 11, 2006 10:19:33 GMT -5
That sounds cool... any luck with getting the CNet PC BBS telnettable? I wanna see.
|
|
|
Post by xlar54 on Jun 11, 2006 11:46:46 GMT -5
The CNet PC BBS already works via telnet (you were on ) but Ive got AADD (adult attention deficit disorder (kidding) ), and got sidetracked onto this for now. Which is fine I guess - theres plenty of other BBSs out there. Im just trying to be a good caller and not try to compete at this point. But I am surprised that CNet 64/128 or Image isnt being used as much as some of the other BBS software out there (on real hardware). What happened to forgottenrealms?
|
|
|
Post by hemingray on Jun 17, 2006 10:54:29 GMT -5
Would something like this also work for connecting an old Macintosh machine? or no
|
|
|
Post by xlar54 on Jun 17, 2006 19:16:25 GMT -5
Unfortunately, no. Its just for Windows. But Jim's program ought to work for you as its written in Java..?
|
|
|
Post by hemingray on Jun 17, 2006 20:14:04 GMT -5
no, not that. the program would be run on a machine running windows, but the machine on the other end of the serial cable would be a 68k Mac. (no ethernet card for it)
|
|