PUBLIC F2254_KEYAVAIL
F2254_KEYAVAIL PROC
                push    esi
                push    edi
                push    ebx
                mov     ah, 7           ; Function: Input check
                int     90h             ; FM-Towns Keyboard BIOS call
                mov     al, dh          ; dh = FFh if no input character is present
                not     al
                and     eax, 0FFh
                pop     ebx
                pop     edi
                pop     esi
                ret
F2254_KEYAVAIL ENDP
