Re: A89: arrow keycodes


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

Re: A89: arrow keycodes




>Did TI screw up in the manual with the arrow key codes?  I put in the
>following code, but instead of being controlled by the left and right arrows
>like the manual says, it's controlled by the up and down arrows...
>
> cmp.w #337,d0
> beq left
> cmp.w #340,d0
> beq right
> cmp.w #264,d0
> bne controlLoop
> rts

The codes you are using here are BASIC code. But in assembly a few codes
have changed (cursor keys for example are inverted).


Xavier VASSOR
---The Doors Team
E-mail:xvassor@mail.dotcom.fr
Doors Homepage: http://doorshome.home.ml.org (not updated for Doors OS)
ICQ:10241721


References: