Re: A86: Re: _getkey routine


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

Re: A86: Re: _getkey routine




>The memory location $8006 is normally the middle of an an OP on ram page
>1.
>The memory locations you are most likely interested are below:

oh, from what i read earlier, i was told that $8006 is where the
translated keycode is located at.
>
>_kbdScanCode          equ         0C000h	; key code
>_kbdLGSC              equ         0C001h
>_kbdPSC               equ         0C002h
>_kbdWUR               equ         0C003h
>_kbdDebncCnt          equ         0C004h
>_kbdkey               equ         0C005h
>_kbdGetKy             equ         0C006h
>_keyextend            equ         0C007h
>
>If you just want to fool getkey, you can have your interrupt put your byte
>into the memory location, but that's not going to work for everything. 
>The
>86 uses port 1 to read the keys from the keyboard, so this method will not
>work with many games.  But I guess you'd actually have to take apart the
>86
>to completely replace the keypad...
>
yes, the 86 will read port 1 for the keys, but doesn't the _getkey routine
just read from the _kbdScanCode? or does _getkey actually scan port 1
itself?

FUZZ
David Norelid
Fuzz Enterprises Inc.
--------------------------
Posse in effect, yo
-----------------------
listen.to/yankovic