On 19/10/2020 3:26 pm, Johann 'Myrkraverk' Oskarsson wrote:
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?
AFAIR
DEVICE=\BOOT\COM.SYS ...
see http://www.edm2.com/index.php/COM.SYS
Reading now.
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).
Marcel
Thank 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.
--
Johann | email: invalid -> com | www.myrkraverk.com/blog/
I'm not from the Internet, I just work there. | twitter: @myrkraverk
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)