durgadas311 / cpnet-z80

26 stars 6 forks source link

SC131 CPNET port speed. #10

Open jayacotton opened 4 years ago

jayacotton commented 4 years ago

Known that sio port b does not have modem signals to the outside world.

A solution is to permanently swap ports a and b (via RomWBW config), such that the console is on port b and the network is on port a. This will allow the device to run at max baud rate and control the host transmission, via modem control signals on port a.

jayacotton commented 4 years ago

So far I have rebuilt the RomWBW code with a permanent port swap. As expected there will be a bit of inconvenience WRT xmodem over the console port. Without the modem control signals xmodem fails. The fix is reboot and say I 1 before the boot command, this will swap the console ports and allow xmodem to work.

The good news is those modem control signals are now available to the cpnet code.

Testing is hampered by the rxtxSerial.jar on windows. See Dougs project to move the server to a different serial wrapper.

jayacotton commented 4 years ago

The serial port server program is now up on a new support library. So far so good with the library. Still no joy on 115200, 57600 works. I'm finding that at 115200 I get a lock up on port 0 of the sio chip. Need to setup a good test and try to isolate the bug.