Re: A86: simple code I can't figure out


[Prev][Next][Index][Thread]

Re: A86: simple code I can't figure out




$01A1 is _kbdScan = $4064
it reads the keyboard, debounces it, and stores the key in _kbdScanCode
and _kbdGetKy

if you just want to check if a key has been pressed, test bit 3,(iy+$00)
this routine will set bit 3 if a scancode is available and bit 4 if
getkey needs to reset the apd counter

-josh

On Thu, 8 Jul 1999 22:34:28 +0300 "Clem" <darkclem@wanadoo.fr> writes:
>
>No, I don't think there is a routine like that (not on Rom page D 
>anyway).
>However, there is a routine on Rom page 0 to read the keyport and 
>then
>reset it... if I remember correctly, $01A1 will translate between 
>keyport
>value and _getcsc value.
>
>>Speaking of key routines, does the 86 have an equivalent of Usgard's
>>READ_KEYPAD?  Or is that it?
>
>
>---
>Clem Vasseur <darkclem@wanadoo.fr>
>
>
>

___________________________________________________________________
Get the Internet just the way you want it.
Free software, free e-mail, and free Internet access for a month!
Try Juno Web: http://dl.www.juno.com/dynoget/tagj.