I just tried to connect Chessmaster 4000 (running in Win-OS/2) to
another instance over a virtual serial line in VirtualBox, however
it complained it couldn't access the serial port.
How do I make sure the serial driver is loaded, and the com port works
in OS/2 itself?
I am using ArcaOS, as I said in VirtualBox, so I thought this part
would be easy.
I naively tried to fopen( "com1", "r+" ) but this did not work.
Am 18.10.20 um 02:38 schrieb Johann 'Myrkraverk' Oskarsson:Yes, I configured the two virtual machines to connect through a named
I just tried to connect Chessmaster 4000 (running in Win-OS/2) to
another instance over a virtual serial line in VirtualBox, however
it complained it couldn't access the serial port.
Vou want to communicate over *virtual* serial ports?
Does the software try to access the UART controller directly? This isReading now.
not allowed by default for good reasons. But the virtual DOS driver
supports this feature if you enable it by the setting COM_DIRECT_ACCESS.
How do I make sure the serial driver is loaded, and the com port works
in OS/2 itself?
AFAIR
DEVICE=\BOOT\COM.SYS ...
see http://www.edm2.com/index.php/COM.SYS
Yes, see above.I am using ArcaOS, as I said in VirtualBox, so I thought this part
would be easy.
I naively tried to fopen( "com1", "r+" ) but this did not work.
- Have you configured a virtual COM port in VBOX?
- Is the COM.SYS driver loaded. Try /V to get meaningful boot messages.Afaict, no; a quick grep -i com \config.sys yielded nothing promising;
- Is the VCOM.SYS driver loaded (for DOS emulation)?Also negative.
- Check for direct hardware access (see above).
MarcelThank you, I'll see if I can load the driver successfully.
On 18/10/2020 8:43 pm, Marcel Mueller wrote:
Am 18.10.20 um 02:38 schrieb Johann 'Myrkraverk' Oskarsson:
I just tried to connect Chessmaster 4000 (running in Win-OS/2) to
another instance over a virtual serial line in VirtualBox, however
it complained it couldn't access the serial port.
Vou want to communicate over *virtual* serial ports?Yes, I configured the two virtual machines to connect through a named
pipe on the host system.
Does the software try to access the UART controller directly? This is
not allowed by default for good reasons. But the virtual DOS driver supports this feature if you enable it by the setting COM_DIRECT_ACCESS.
How do I make sure the serial driver is loaded, and the com port works
in OS/2 itself?
AFAIRReading now.
DEVICE=\BOOT\COM.SYS ...
see http://www.edm2.com/index.php/COM.SYS
I am using ArcaOS, as I said in VirtualBox, so I thought this part
would be easy.
I naively tried to fopen( "com1", "r+" ) but this did not work.
- Have you configured a virtual COM port in VBOX?Yes, see above.
- Is the COM.SYS driver loaded. Try /V to get meaningful boot messages.Afaict, no; a quick grep -i com \config.sys yielded nothing promising;
I'm reading the edm/2 page now.
- Is the VCOM.SYS driver loaded (for DOS emulation)?Also negative.
- Check for direct hardware access (see above).
MarcelThank you, I'll see if I can load the driver successfully.
I loaded the pscom.sys drivers, for SMB support,
though I think in VBox
I don't need it. By fopen( "com1", "r+" )ing on both ends, I have
verified I'm able to send text from one machine to the other, but it
takes quite a few send tries for a single receieve, so I believe there's
more to serial programming than I was aware of.
I've also loaded vcom.sys on both ends, but it does not seem the
Chessmasters are able to talk successfully to each other, and that
can be a bug in Chessmater, Win-os/2, and/or vcom.sys because the
windows session seems to freeze completely.
I naively tried to fopen( "com1", "r+" ) but this did not work.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 10:37:36 |
Calls: | 6,645 |
Calls today: | 5 |
Files: | 12,190 |
Messages: | 5,326,502 |