Beta Test Modified Versions of Vice 3.6.1 and TCPser

Racer
Posts: 6
Joined: Fri May 13, 2022 7:58 am

Re: Beta Test Modified Versions of Vice 3.6.1 and TCPser

Post by Racer »

Cube,

I discovered it by accident. I was playing with the terminal I wrote so I was just typing in random AT commands and then I "broke" it on the ATA. Though it was my code at first.

Not a big deal. Just a heads up to anyone, don't type ATA. For now anyway. :)
Racer
Posts: 6
Joined: Fri May 13, 2022 7:58 am

Re: Beta Test Modified Versions of Vice 3.6.1 and TCPser

Post by Racer »

EDIT:

Disregard this post. I apparently had some settings in vice messed up and it was not showing the registers correctly in the monitor. I reset everything and now the swiftlink registers are showing up.



Ok, so I did a little playing around but to me DCD with ACIA is still not being passed to Vice. Maybe I am doing something wrong. I have it set up for Swiftlink operation. I can connect, transfer files, etc but DCD is not showing up. Best example is Novaterm, it has a display at the top that shows when there is a character and it never changes. Doing a little digging in the emulator ML monitor the locations for the swiftlink registers $DE00 etc are all 00 and they should not be that way. Now using it in userport emulation mode with tcpser seems to detect the carrier properly.

This is on a Win10 machine with pre-compiled builds
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 »

You had me worried there for a moment, but I was pretty sure DCD was working because that is how Image BBS detects a lost caller and resets to the idle screen. I'm hoping to have the Ring Indicator working in the next version of tcpser & Vice.

(Apart from the "using ATA when there is no incoming caller" issue) - has anyone run into any problems with tcpser locking up? Have you tried killing tcpser and restarting it while Vice is running?

Image
Racer
Posts: 6
Joined: Fri May 13, 2022 7:58 am

Re: Beta Test Modified Versions of Vice 3.6.1 and TCPser

Post by Racer »

Now I am not sure if it has anything to do with what you have been modifying, but UP9600 support does not seem to work.

I set tcpser to use 9600 baud and set the RS232 settings for UP9600, 9600 baud using serial device 3 which is the IP232 to my tcpser at 9600 baud and I just get random garbage on the screen. Using Novaterm, CCGMS Future and ZTerm all produce the same exact results.

Just wondering if anyone else has it working. If so it's probably just me.
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 »

One thing you may want to check is that tcpser is using the same baud rate (the -s option if memory serves) as your modem setting in Vice. From what I recall tcpser's baud rate setting doesn't seem to matter when using an ACIA modem, but it did matter when using the user port modems and I got garbage on any userport modem if the tcpser -s speed didn't match the modem speed in Vice.

Full disclosure - I never did test the UP9600 mode... I pretty much assumed that if you were using speeds over 2400 you'd be using an ACIA modem. I will test that out next time I sit down to work on it again. I wasn't 100% happy with the way the user port system reconnected to tcpser if you killed and restarted tcpser... It worked, but unlike the ACIA modem you had to send two bytes of data to the modem before Vice actually detected the loss of the socket (first byte) and then initiated a new connection to tcpser (second byte) whereupon it was back online by the time you typed the third byte onward.

Racer - You're running both the modified tcpser and vice in Windows, right? On one of the bulletin boards someone said they could not get the Win64 compiled Vice to run, saying it gave an error stating that it was not a 32-bit application. (Technically it is a 64-bit application, so maybe they were trying to run it on a 32-bit version of Windows?) Brent also mentioned getting a similar error, though I he said it claimed Vice was a 16-bit application. I've tried it on two separate clean builds of Windows 10 Pro and apart from the warning about the software not being signed, it's worked fine on both so I am not sure what is going on for those who are having trouble getting it to start, unless they are running a 32-bit version of Windows or are running it from the Program Files (x86) folder, which assumes programs located there are all 32-bit compiled. I could always try building a 32-bit version and see if that helps...

Image
Racer
Posts: 6
Joined: Fri May 13, 2022 7:58 am

Re: Beta Test Modified Versions of Vice 3.6.1 and TCPser

Post by Racer »

Racer - You're running both the modified tcpser and vice in Windows, right? On one of the bulletin boards someone said they could not get the Win64 compiled Vice to run, saying it gave an error stating that it was not a 32-bit application. (Technically it is a 64-bit application, so maybe they were trying to run it on a 32-bit version of Windows?) Brent also mentioned getting a similar error, though I he said it claimed Vice was a 16-bit application. I've tried it on two separate clean builds of Windows 10 Pro and apart from the warning about the software not being signed, it's worked fine on both so I am not sure what is going on for those who are having trouble getting it to start, unless they are running a 32-bit version of Windows or are running it from the Program Files (x86) folder, which assumes programs located there are all 32-bit compiled. I could always try building a 32-bit version and see if that helps...
Yes running the compiled version on Win10 x64 with no issues.
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 »

I have downloaded the source codes that are in tone of the first posts, and will test again. How are you compiling TCPSER in Windows? I tried the make -f Makefile.Win32 command and get an error no such file or direcotry src/bridge.c It's a lot easier to test in Windows as I just set up 2 different Vice instances and build Image boards on both then create a network then it is on Linux as there I have to build 2 seperate VM's of Linux as I don't want to play with my running boards.. I will post my findings soon...

AL
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 used MSYS2 (https://www.msys2.org/) to build both the tcpser and Vice binaries on Windows. Both were built for 64-bit Windows though, and I wonder if that may be where some (or all?) of the issues are coming from for those users who are having trouble getting the binaries to run. I am certain the compiled versions will not run on any 32-bit version of Windows, or if you extracted the files into the "Program Files (x86)" folder where Windows is expecting the software to be 32-bit. Try extracting it to C:\Program Files\ instead if that is the case and it should run.

If you're still having trouble, could you post screen shots of the error message(s) you are encountering? What version / edition of Windows are you running it on? What type of CPU? I know some people have tried it (myself included) and had no problems at all getting it to run on Windows 10 Pro, 64-bit version. Windows will complain that it is not signed and could harm your computer, but if you skip past that warning I've never had it fail to start and work properly.

Image
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 »

One thing that did trip me up with MSYS2: Make sure you start it with the correct shortcut / link!!! When you install MSYS2 there are three links that get created, and each one sets up the environment differently but "look" very similar, especially when you are not familiar with it (as I was not!!!) I was getting all kinds of errors and problems trying to compile anything until I went back and read the instructions again, found one of the first lines which spelled out the importance of starting the right link for the task you are trying to perform, and from there everything was smooth sailing.

Image
Post Reply