Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turning on RS423 kills FPS #99

Open
nelgin opened this issue Jan 22, 2022 · 7 comments
Open

Turning on RS423 kills FPS #99

nelgin opened this issue Jan 22, 2022 · 7 comments

Comments

@nelgin
Copy link

nelgin commented Jan 22, 2022

I have a physical modem connected to COM3 of my Windows 10 PC. It works fine in a regular terminal emulator.

In BeebEM I load CommStar into SWR then CTRL-F12

Next I go into the setting and select COM3 as the comm port and then check (enable) RS423 ON/OFF.

At that point, the FPS drop from 40's to 0-1 and response is slow for typing, playing sounds, loading disk, etc. CommStar is unusable.

I'm not sure what information you may need to debug this, so let me know and I'd be happy to provide it.

@chrisn
Copy link
Collaborator

chrisn commented Jan 24, 2022

Thanks, I'll try to reproduce it here. I don't think anything changed in recent releases to cause this problem. Help fixing this is welcome, if you're interested to look into the code.

@nelgin
Copy link
Author

nelgin commented Jan 24, 2022

I wouldn't even know where to start looking but I'm more than happy to throw in any debug statements or do testing etc. I haven't tried this in previous versions so not sure if it's a regression or not. I guess I can grab an older version.

@nelgin
Copy link
Author

nelgin commented Jan 24, 2022

Just loaded 4.14 and it's the same, so the issues goes back a fair way. Maybe it's something to do with modern serial hardware? no idea.

@nelgin
Copy link
Author

nelgin commented Jan 25, 2022

A bit more background. I have a regular serial port on COM1. I use it with putty to connect to my linux as a serial console. If I use this com1 port. then BeebEm works fine when turning on rs423.

My modem is a USB device. It was originally configured for COM7 but BeebEM won't let me select. that. I moved it to COM4 and that gave me the 0 FPS. I then decided to try and move it to COM2, which I did, and rebooted. Same issue. So this may have something to do with it being a USB modem rather than using a COM port directly.

Not sure what else I can give you to help.

@insleys
Copy link
Contributor

insleys commented Jan 25, 2022 via email

@nelgin
Copy link
Author

nelgin commented Jan 25, 2022

I'm pretty sure that's not the problem. When I eventually connect to the modem it definitely isn't 150 baud. The fastest commstar will talk to the DTE is 9600 anyway so I can't go any faster than that.

@nelgin
Copy link
Author

nelgin commented Jan 26, 2022

I have found an acceptable work around. Poking around http://com0com.sourceforge.net I found the hub2com project. This will listen on a given tcp/ip port and redirect to a com port.

Running com2tcp-rfc2217.bat COM2 25232 from the command prompt started the listener then I just selected the IP:25232 option in BeebEM and connected.

I thought I'd include a blast from the past :)

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants