home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Boston 2
/
boston-2.iso
/
DOS
/
PROGRAM
/
C
/
JAZLIB
/
JZKEYPRS.ASM
< prev
next >
Wrap
Assembly Source File
|
1993-12-01
|
283b
|
17 lines
assume cs:_text
_text segment public byte 'code'
public _jzkeyprs
_jzkeyprs proc near
mov ah,1
int 16h ; get key status
mov ax,1 ; assume key pressed
jnz exit ; report char ready
mov ax,0 ; report no char ready
exit:
ret
_jzkeyprs endp
_text ends
end