	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
