A89: Re: keyboard buffer


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

A89: Re: keyboard buffer




This may be a little late - but make sure you disable interrupt 1 before
reading the port.  See the STron89 key reading routine for how

    -Scott

>Date: Sat, 24 Jul 1999 16:34:44 -0500
>From: mhlandry <mhlandry@bellsouth.net>
>Subject: A89: keyboard buffer
>
>When reading form the keyboard buffer, I came across something very
>odd.  I would try for one row of keys, and that worked fine, then when I
>went for another row, something strange happened: when I pressed esc
>(meant to exit) my sprite went up.  Then I added a clr.l d0 between the
>two reads and it still went up after pressing esc, only after you held
>down esc for awhile, it would exit.  So, I added another clr.l d0 right
>before the second read and it works.  Why does this happen?  Should I be
>clearing $600019 or 60001b instead of d0?
> - Matt