|
Post by xlar54 on Sept 19, 2008 23:45:21 GMT -5
Hey guys,
Just tossing this out that I have finally cracked the problem with VICE running Image BBS. I hope to also get C-Net 64 and 128 working as well. All that is needed is Image 1.2, a custom +.modem file, and a TCPIP bridge program that I wrote. No hacks needed to VICE. I have a system running now at:
74.51.1.199 Port 25232 (yes obscure, but this is really just for you guys to see it working)
I dont have a dedicated machine, so if its down, some child of mine is playing lego star wars :/
If interested, I will zip everything up and toss it out to filedropper.com. Just let me know.
|
|
|
Post by wiskow on Sept 20, 2008 17:45:39 GMT -5
As far as I know, running a 128 BBS in VICE, or a 128 terminal program for that matter, won't work because the functionality isn't there for modem communication. The VICE team doesn't seem to be interested in fixing this issue. But that's great news on "cracking" the problem with running Image in VICE. And it'd be great to have a C-Net64 BBS up and running (emulated or not)!
|
|
|
Post by xlar54 on Sept 20, 2008 22:39:13 GMT -5
Actually, the code is semi-there. The main problem to overcome is that for a real modem, you not only have transmit/recieve, but you also have other bits like RTS,CTS, CD, RI, etc. Theres no telnet equivalent of course to these bits, and either VICE needs to be hacked to simulate these values somehow, or the BBS needs to be modified. Thats why some folks have had issues with people hanging up, but the BBS not detecting it. (CD isnt being changed, and the BBS code is PEEKing to CIA 2 to check for it). Image BBS has modem files that one can edit, making this change doable, so long as the code is understandable (which is tricky in itself... those guys seem to have deliberately made their code hard to understand...gosub-ing all over God's creation). What my modem file does is invert the carrier detection code. (CD and RI are always on in the emulator, so originally Image would just constantly loop thinking there was a call)
In VICE, try: peek(56577)and 8 ... a 0 means the phone is ringing
VICE will always report 0, while a real 64 will only return a 0 if the phone is actually ringing.
Im not sure about C-Net 128 just yet. If it's I/O code is in BASIC, then I think it can be modded like I did for Image.
What would be sweet is if they could mod VICE to include an incoming telnet port, where you can set these bits. Then, the external bridge program, upon receiving telnet connection, could tell VICE to set CD/RI/CTS, etc, making the emulation much more complete (but probably slower).
|
|
|
Post by Pinacolada on Mar 23, 2009 18:53:54 GMT -5
Hey, that's great to know, xlar. Do you have the BBS up nowadays? Are you running it with tcpser?
(Edit) Does Vice 2.1 work with it? Could I see the modified +.modem file? Are you interested in contributing to the BBS wiki? I haven't done anything with it in the last few months, but perhaps activity will pick up later this summer.
|
|