Re: A86: getkey program


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

Re: A86: getkey program






David Phillips wrote:

> I already thought of that, but he asked for the small font.  Is there a rom
> call to display a number in the small font?  I didn't know of one, that's
> why I used that custom one.

Oh, right :-)

> Second, does _getkey set the zero flag if no
> key is pressed?

 yes

>
>
> P.S.  Shouldn't that be a call?  ;-)

 call $4a33 ret
,
jp $4a33   ...  same thing, if all the program does is display this number. I
guess he's doing something else than trying to figure out what the key equates
are, though :-)

>
>
> At 04:03 PM 9/5/98 -0400, you wrote:
> >
> >That's insane!  Do this:
> >
> >wait:
> > call _getkey
> > jr z,wait
> > ld l,a
> > xor a
> > ld h,a
> > jp $4a33
> >
>
> --
> David Phillips
> mailto:electrum@tfs.net
> ICQ: 13811951
> AOL/AIM: Electrum32




Follow-Ups: References: