Fix func 0Bh (Get STDIN Status) always returns AL=FFh with some alternative CON drivers:
* qwikansi.sys (simtelnet: simtelnet/msdos/screen/qwikansi.zip * most of Japanese input methods (Microsoft MS-IME, ATOK, WXP/WX2/WX3)
This commit is contained in:
parent
9eb9b1a046
commit
19a6dc1ba4
@ -96,7 +96,9 @@ STATIC void CharCmd(struct dhdr FAR **pdev, unsigned command)
|
|||||||
|
|
||||||
STATIC int Busy(struct dhdr FAR **pdev)
|
STATIC int Busy(struct dhdr FAR **pdev)
|
||||||
{
|
{
|
||||||
CharCmd(pdev, C_ISTAT);
|
CharCmd(pdev, C_NDREAD);
|
||||||
|
if (CharReqHdr.r_status & S_ERROR)
|
||||||
|
CharCmd(pdev, C_ISTAT);
|
||||||
return CharReqHdr.r_status & S_BUSY;
|
return CharReqHdr.r_status & S_BUSY;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user