RE: A86: Key info
[Prev][Next][Index][Thread]
RE: A86: Key info
Find attached an info file for the 86 ports. It is all explained there!
-Martin
Stud. tech. Martin Blix Grydeland, Computer Science NTNU
E-mail: grydelan@stud.ntnu.no
Web: http://www.stud.ntnu.no/~grydelan
-----Original Message-----
From: malluck@bellsouth.net [SMTP:malluck@bellsouth.net]
Sent: 17. oktober 1997 22:03
To: assembly-86@lists.ticalc.org
Subject: A86: Key info
Hi,
Got a newbie question for you...What are the values for so other keys
using the masking method over the getkey command? More specificly left,
right, up, and down. Someone showed me how to do this with the exit key.
the code looks like this:
ld a,%00111111 ;this is the mask for the keycheck
out (1),a ;put it out keypad port
in a,(1) ;now check key
bit 6,a ;this checks for exit
What would the bit values be for the other keys and how does this work?
Does it destroy any registers that I should know of?
-Michael
- Warning
- Could not process part with given Content-Type:
application/ms-tnef
Follow-Ups: