Re: A86: [sqrt]key and _getkey


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

Re: A86: [sqrt]key and _getkey






ComAsYuAre@aol.com wrote:

> a few weeks ago i submitted my first real asm program to ticalc.org
> (drugwars).
>
> anyway, i noticed later that when a [sqrt]key program exists on the 86, it
> totally messes with the way drugwars reads keypresses.  btw, drugwars uses
> _getkey for everything.
>
> if anyone can suggest a way to avoid this so that people don't have to delete
> [sqrt]key programs before running this game, i'd appreciate it.

copy bit 6 of iy+$24 somewhere and then reset the bit at the beginning of your
program

before your program exits, copy the bit back to iy+$24

>
>
> -Jonah Cohen
>
> ps  i'm gonna be gone for the next 3 weeks so if i don't respond to a question
> that's why.




References: