Beta Test Modified Versions of Vice 3.6.1 and TCPser

User avatar
Cube Inc
Posts: 98
Joined: Wed Apr 20, 2022 1:02 pm

Beta Test Modified Versions of Vice 3.6.1 and TCPser

Post by Cube Inc »

[Disclaimer]

This code has not been cleaned up and still contains a LOT of extra debugging output! Please try it out and report your findings.

[End of Disclaimer]

Below you will find copies of Vice 3.6.1 and TCPSer - both modified by me. These are not official releases, and indeed they are both quite crudely patched but I wanted to get them out for testing so that any bugs found can be addressed quickly. I have included all the source files as well so hopefully there are no issues about distribution, etc. I'm trying to help, not hurt, the community. I've tried to add comments in the source where appropriate.

At the request of several I have also attached a copy of Vice compiled for Windows 64-bit. The Windows version of tcpser is included in the source file, along with a .dll that must be in the same folder as tcpser when you run it on Windows.

I used the included Makefiles for building both, but I don't think there are installers (no setup.exe) for Windows - just extract the files into a folder and run from there. I've tested the Windows executables on Windows 10 and they both seem to work, but I did notice that the keyboard issue seems worse on Windows than it does on Linux. There's an option where you can turn on Keyboard Debugging in Settings, and interestingly enough you can see the keystrokes you type being captured by Vice, yet unless you sort of "hold down" each key as you type it, they often do not appear in the emulated C64. Perhaps I will try to look into that one next.

vice-3.6.1-cubeinc.tar.gz
(10.6 MiB) Downloaded 320 times
- Modified source code for Vice 3.6.1

GTK3VICE-3.6.1-cubeinc-win64.zip
(26.92 MiB) Downloaded 329 times
Modified Vice 3.6.1 Compiled for Windows 64-Bit

tcpser-cubeinc.tar.gz
(161.74 KiB) Downloaded 393 times
Modified source code for TCPSer (Couldn't find a version number) - Windows .exe & required .dll file included.


I realize as I write this that I may need to provide tcpser in a .zip format as well since Windows can't open tar / gzipped files without additional tools. I've got to drive kids to school but later on today I'll upload a .zip file of the tcpser source & binaries.

The changes, in a nutshell, are that with this combination, ACIA Swiftlink / Turbo232 modem emulation is a lot more robust & reliable, and Vice will reconnect to tcpser (or BBS Server - whatever you use) automatically if that connection is broken - no more need to restart Vice & whatever software you run in it if the connection to your modem proxy is lost.) TCPSer is more stable (I have not had it crash or lock up, but more testing is probably needed to confirm). Also, if you try to connect to an IP host with atdt and it fails, you will get the "no carrier" message, but if you then type ati (Information) - tcpser will provide the reason why the connection failed according to the OS mechanisms - IE: Destination host unreachable, Connection Refused, etc.

The only behavioral thing I've noticed different between Vice on Linux and Windows is that if you kill tcpser while a program in Vice had an open connection to a modem (tcpser) - Vice will get quite laggy as it tries to reconnect. I didn't see this on Linux, so I suspect it has to do with differences in the way each operating system handles IP connections "under the hood". As soon as the connection is restored (IE: TCPser is started again) Vice resumes it's normal pace.

BBS Sysops - If you can try this combination out and let me know how you fare, I will be grateful for any and all feedback.

Enjoy!

Image
User avatar
hendrb01
Site Admin
Posts: 256
Joined: Fri Dec 18, 2015 10:11 am
Location: Pensacola, FL
Contact:

Re: Beta Test Modified Versions of Vice 3.6.1 and TCPser

Post by hendrb01 »

Thanks...

If you do not mind.. Mac OS X can do all three, I will untar/gzip the file file and recompress in .zip for the Windows users..

I will post it on the Forum, giving you full credit. If you want, feel free to upload it in your name, and I will delete my post.
Brent P. Hendricks
Brent's World blog and forum administrator
Blog: www.catracing.org/hendrb
Forum: www.catracing.org/hendrb/forum
User avatar
hendrb01
Site Admin
Posts: 256
Joined: Fri Dec 18, 2015 10:11 am
Location: Pensacola, FL
Contact:

Re: Beta Test Modified Versions of Vice 3.6.1 and TCPser

Post by hendrb01 »

TCPser mod by Cube INC.

I take NO credit for this file, modifications were done by Cube INC. I am simply repackaging it in .zip format for Windows users, as Mac OS X can decompress/recompress .tar, .gzip, and .zip.
Attachments
tcpser-master-mod.zip
(203.02 KiB) Downloaded 369 times
Brent P. Hendricks
Brent's World blog and forum administrator
Blog: www.catracing.org/hendrb
Forum: www.catracing.org/hendrb/forum
User avatar
Cube Inc
Posts: 98
Joined: Wed Apr 20, 2022 1:02 pm

Re: Beta Test Modified Versions of Vice 3.6.1 and TCPser

Post by Cube Inc »

Brent - I do not mind at all! Thanks for doing that, I was just about to post the .zip file myself but you beat me to it. ;)

Image
User avatar
hendrb01
Site Admin
Posts: 256
Joined: Fri Dec 18, 2015 10:11 am
Location: Pensacola, FL
Contact:

Re: Beta Test Modified Versions of Vice 3.6.1 and TCPser

Post by hendrb01 »

Good evening,

It looks like the compile did not work, when I try and load it on Win10 64 bit, I get an error that it is an unsupported 16-Bit appication.
Brent P. Hendricks
Brent's World blog and forum administrator
Blog: www.catracing.org/hendrb
Forum: www.catracing.org/hendrb/forum
User avatar
Cube Inc
Posts: 98
Joined: Wed Apr 20, 2022 1:02 pm

Re: Beta Test Modified Versions of Vice 3.6.1 and TCPser

Post by Cube Inc »

Is that Vice or tcpser that gave you that error?
User avatar
Cube Inc
Posts: 98
Joined: Wed Apr 20, 2022 1:02 pm

Re: Beta Test Modified Versions of Vice 3.6.1 and TCPser

Post by Cube Inc »

I'll download them onto another Win 10 vm and try them on a different machine than the one I compiled them on.
Bucko
Posts: 10
Joined: Mon Jul 29, 2019 8:52 pm

Re: Beta Test Modified Versions of Vice 3.6.1 and TCPser

Post by Bucko »

Tried to assemble the tcpser mod in Debian and got the following errors there are more but I only copied a few of the lines...

/usr/bin/ld: src/bridge.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: src/debug.o: relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: src/getcmd.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: src/ip.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE

I tried to recompile with -fPIE but it sas no such directory or file PIE

Any ideas??
Bucko
Posts: 10
Joined: Mon Jul 29, 2019 8:52 pm

Re: Beta Test Modified Versions of Vice 3.6.1 and TCPser

Post by Bucko »

Just a heads up I got it working with the included tcpser for Linux, I just had to chmod +x it.. Testing network transfer now. I haven't updated the vice portion I will do that when I have a new test bed set up with 2 Images in a network atmosphere.. One question what version of Vice is it? What I mean is the revision number?
Bucko
Posts: 10
Joined: Mon Jul 29, 2019 8:52 pm

Re: Beta Test Modified Versions of Vice 3.6.1 and TCPser

Post by Bucko »

Sad to say I could not do a network transfer with RTG, nothing but bad blocks, BUT I was able to transfer inside my home from one board to another with it.. It's a start.. :)
Post Reply