RE: A86: _getkey
[Prev][Next][Index][Thread]
RE: A86: _getkey
There isn't an equate for 2nd when using _getkey. It just sets a flag if you
press 2nd. If you use _getky (GET_KEY) you can check for 2nd, but GET_KEY
(_getky) doesn't wait for a keypress, and it doesn't run the APD routine
either. Both _getkey and _getky put the corresponding code for the key
pressed into A. When you do for example 'cp kEnter' it compares A with that
value from the include file. The values from _getkey are different from the
ones you get with _getky, so if you use _getkey you use kEnter and with
_getky you use K_ENTER. There is yet another call called _getcsc. I think it
returns the same values as _getky.
Andreas Finne
a_finne@hotmail.com
>From: "Brian Deuel" <bdeuel@pathwaynet.com>
>
>Thanks! I should have thought to look in the include file. Turns out >I was
>correct about _getkey returns with regard to the labels and the
> >accumulator, and the comparison to see if a certain key was pressed. >I
>couldn't find the equate for the 2ND key, though. Maybe the label >is
>different.
>
>Thanks to all who gave advise on this matter. My program works now, >and
>I'm on my way!!
>
>Brian Deuel
>Brian's Coinop History Archive
>http://coinop.vintagegaming.com
>
>
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
Follow-Ups: