Skip to contentSkip to conversation

INT14 waiting for character

DISCUSSION Stas Sergeev 2 participants 2 messages Jan 26, 2004 – Jan 29, 2004

lore
Share & tools
lore
#0 lore raw

Hello.

Quoted 2 lines · Donald Arseneau

Is there any hope of getting a version of INT14 that waits for a character?

Doing this is practically trivial. You have to rewrite that subfunction (ah=2) in asm and put it into bios.S, since it is not possible to do a waiting poll inside dosemu itself. The rest of int14 will stay where it is now, only the polling part must go into bios.S.
We already have such a thing for the keyboard handling (the polling part is in bios.S, rest is in int16.c), so you have a place where to take a look.

Quoted 1 line

(Is Mark Rejhon still involved?)

No, but the serial code still gets some attention nevertheless (depends on what dosemu version you are using however).

#1 lore raw
Quoted 7 lines · Stas Sergeev
Quoted 2 lines · Donald Arseneau

Is there any hope of getting a version of INT14 that waits for a character?

Doing this is practically trivial.
You have to rewrite that subfunction
(ah=2) in asm and put it into bios.S,

That is good to hear! Unfortunately, while what you say rings true (I could find the keyboard wait in bios.S) doing anything about it is vastly non-trivial to me. Isn't this (wait for character on serial port) required for lots of DOS programs? Is anyone with knowledge of the internals interested in implementing it? I hope so.

Donald Arseneau [email protected]