Re: A89: how do i fix this... quick question


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

Re: A89: how do i fix this... quick question




Scott Noveck wrote:
> 
> > ok, im testing keys through using the masks...
> > now, as you know, the up arrow is bit 0 and so is esc. but on different =
> > masks.
> > im checking mask 0 (u,d,l,r) and mask 6 (esc) but say if i hold the up =
> > arrow, it will think escape was pressed (after a few loops)
> > how do i fix this? i dont want it quitting the game when their character =
> > moves up :P i know its a newbie question, but its bugging me...
> 
> nah, it's not really a newbie question, and it had me confused for a long
> time when nobody else could fix it --
> 
> YOU MUST DISABLE AUTO-INTERRUPT 1 BEFORE WRITING TO ($600019) AND NOT
> REENABLE IT UNTIL AFTER READING FROM ($60001b)!!!
> 
> maybe someone will finally pick up on that if I scream, or at least be able
> to repeat it to help the next guy. . .
> 


In my programs, I always test the esc key twice, and I only take it into
account if it looks pressed the two times. 


-- 
Jean Canazzi / Blue-Z



References: