Hi again,
I had a crash right after downloading some mail and lost about five
messages. If anyone replied to my original post could they please re-send
it.
Thanks,
Mark.
--
,-_|\
/ . \ Mark Lawrence
\_,-._/ [EMAIL PROTECTED]
v
---------- Forwarded message ----------
Date: Thu, 29 Apr 1999 20:46:48 +0930 (CST)
From: Mark Lawrence <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Serial ports and c++ 'outp'
Greetings all,
I have a problem to do with a c++ program written for dos, which makes
heavy us of an 'outp' (dos system/library call? - I have not seen this
before) to communicate with a serial device. 'outp' appears to write
directly to a port address (along the likes of 0x3f8,9,a,b,c etc). I
assume that because it uses this call that setting $_com1 to a value will
not be of any use, and so I need to define a list of ports that dosemu
will allow to be directly written to.
I do not find any evidence of these calls failing. In fact, if I turn on
enough dosemu debugging I can see that port read and write calls are being
made, yet the dos program fails to recognise that the device is on the end
of the line. The program works extremely reliably under standard dos.
Communication with the COM? ports works fine with other programs when I
set $_com?, so, I was wondering if anyone knows of something else I can
try, or how I can write to the COM? devices from dos using some more
standard call that doesn't attempt to write directly to the hardware.
Thanks,
Mark.
--
,-_|\
/ . \ Mark Lawrence
\_,-._/ [EMAIL PROTECTED]
v