Hello Mark,

>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.
 
>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.

 'outp' and 'inp' (or outportb, inportb depending on what compiler you use) are MS-DOS 
compiler intrinsics that translates directly to assembly instruction 'out' resp. 'in'.

 I haven't looked at dosemu's source but I'd be a bit suprised if it didn't emulate 
the IO-ports 0x3F8 and 0x2F8 considering that _all_ programs use these directly since 
the BIOS and system support for serial kommunication (int 0x14) is so poor.

//Bj�rn.

Reply via email to