mirror of
https://github.com/FDOS/kernel.git
synced 2025-07-21 12:54:30 +02:00
check for unsupported function call in console - from dosemu2/fdpp bug# 101 fix see c6efa7a203
This commit is contained in:
parent
00daebd468
commit
516a4e7e55
@ -156,6 +156,8 @@ CommonNdRdExit: ; *** tell if key waiting and return its ASCII if yes
|
|||||||
add ah,[cs:_kbdType]
|
add ah,[cs:_kbdType]
|
||||||
int 16h ; Get status, if zf=0 al=char
|
int 16h ; Get status, if zf=0 al=char
|
||||||
jz ConNdRd4 ; Jump if no char available
|
jz ConNdRd4 ; Jump if no char available
|
||||||
|
or ax,ax ; Also check for ax=0 as apparently some
|
||||||
|
jz ConNdRd4 ; int16h handlers set ax=0 to indicate unsupported function
|
||||||
call checke0 ; check for e0 scancode
|
call checke0 ; check for e0 scancode
|
||||||
or ax,ax ; Zero ?
|
or ax,ax ; Zero ?
|
||||||
jnz ConNdRd1 ; Jump if not zero
|
jnz ConNdRd1 ; Jump if not zero
|
||||||
|
Loading…
x
Reference in New Issue
Block a user