Direct console input: Dont return non-ascii keypresses
This commit is contained in:
parent
da41f6b0e2
commit
43e5cd6379
1 changed files with 4 additions and 0 deletions
|
@ -94,6 +94,8 @@ conine: mov ah, 1
|
|||
ret
|
||||
.has: xor ax, ax
|
||||
int 0x16
|
||||
test al, al
|
||||
jz conine
|
||||
int 0x29
|
||||
test ax, ax
|
||||
ret
|
||||
|
@ -108,6 +110,8 @@ conin: mov ah, 1
|
|||
ret
|
||||
.has: xor ax, ax
|
||||
int 0x16
|
||||
test al, al
|
||||
jz conin
|
||||
test ax, ax
|
||||
ret
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue