Hey guys, Im finishing up a windows service that acts as a modem, much like BBS Server or Jim's tcpser4j. Ill post both an installer and the source. Ive tested it with Desterm, dialing out, and C-Net BBS 10.0 answering, and all seems to work well. The other programs are absolutely terrific, but I wanted one that would always be running as a service, and of course im a C# guy. The code isnt the most beautiful thing in the world, but it does the job, and I welcome comments or improvements.
In addition to basic Hayes commands, I also am considering adding some additional commands like DIR, etc to access the PC from the Commodore. Anyway, will post shortly.
Thanks
Xlar54
Cool, looking forward to that! What did you write it in? I've played with BBSServer 1.4 source in an effort to make it work with Color64..... Unfortunately I only got it to work once! :( Color does all communication with the modem at 300 BPS, and jumps after it sees a HS connection.... Emulating that, thus far, hasn't been something I've been able to pull off.... Though admittedly it's be tough as BBSserver is written in VB6 which I'd had to convert to VB.Net, which hasn't been fun! :)
Cnet does the same thing. But you can always hack the code to switch baud rates after a certain point. Ill push the code out somewhere tonight and provide a link and let you tinker with it. Feel free to ask any questions. Oh and it was written in C# using the 3.5 framework.
Here's a link to the current build:
http://www.filedropper.com/modememulator
BTW, dialing out is as such:
ATDT <location>:<port>
The server will always listen on a port specified in the config file, and connect if autoanswer is true, or ATA
(Config file is located in C:\Program Files\Qsoft\ModemEmulator)
Remember to start the windows service after installation. Its set to Automatic, but youll need to start it the first time you install it.
I guess I need to include documentation.. will do that later :)
Great stuff - going to test this with an XT (well, in my defence it is a Commodore PC 5.....)
Will report back.
Ive got a new version that includes some extra commands..
DIR <path> [RETUTN] - will get a directory listing
GET <file>[RETURN] - will retrieve a file
XGET <file>[RETURN] - will perform an Xmodem download of a file, use your terminal to receive the file. (Works really well actually) Donwloaded a prg game, about 22k, at 9600 bps in 39 seconds.
Will post this evening if anyone is interested.
Please - due to commitments with a major project I'm involved with I haven't had a huge opportunity to test this beyond "it works" - but should be a little freer after this weekend.
No problem. Its just another alternative to TCPSER and BBS Server. I like it because its out of the way and always running (plus I wrote it, so things like DIR and XGET can be added easily).
I uploaded it to the site. Works really well, and if you use "d128it", its a fairly useful way to copy D64 images to a floppy. I download the D64 image, then use D128IT to copy the image to a real floppy.
Its interesting to note that 9600 baud works fine with desterm. The release package is set to 9600 baud, so if you have trouble, you may want to step it down, starting at 1200 and work up. Dunno what C64 modem will do with 9600 baud.