Page 1 of 1

non-blocking read of serial port via BDOS?

Posted: Mon Nov 05, 2018 6:54 am
by tschak909
I seem to have a hazy recollection that any reads/writes through BDOS to the default serial port (RDR and the like) block until there is something to read. Is there any way around this? Am trying to find ways to support other systems for PLATOTerm without an explicit RS232 driver (such as the Tatung Einstein).


Posted: Mon Nov 05, 2018 6:55 am
by tschak909
(yes, I meant to say BIOS)


Posted: Mon Nov 05, 2018 8:25 am
by dom
Just thinking...

BDOS call 11 checks whether CON can be read

BDOS call 8 allows IOBYTE to be changed.

You don't use CON, so can you redirect CON to RDR etc?

Obviously that depends on the device implementation in the BIOS, but might be worth a go.

Posted: Mon Nov 05, 2018 2:36 pm
by tschak909