A86: Reading Key presses through ports


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

A86: Reading Key presses through ports




Write-----X.......  00-7F: prevents set of keys from being read

Bit 6 = 1: masks out { F5 F4 F3 F2 F1 2nd EXIT MORE }
Bit 5 = 1: masks out { STO> , x! LN LOG GRAPH ALPHA }
Bit 4 = 1: masks out { 0 1 4 7 EE SIN STAT x-VAR }
Bit 3 = 1: masks out { . 2 5 8 { COS PRGM DEL }
Bit 2 = 1: masks out { (-) 3 6 9 ) TAN CUSTOM }
Bit 1 = 1: masks out { ENTER + - * / ^ CLEAR }
Bit 0 = 1: masks out { DOWN LEFT RIGHT UP }Read----........

Bit 7 = 0: key pressed is one of { ALPHA x-VAR DEL MORE }
Bit 6 = 0: key pressed is one of { GRAPH STAT PRGM CUSTOM CLEAR EXIT }
Bit 5 = 0: key pressed is one of { LOG SIN COS TAN ^ 2nd }
Bit 4 = 0: key pressed is one of { LN EE ( ) / F1 }
Bit 3 = 0: key pressed is one of { UP x! 7 8 9 * F2 }
Bit 2 = 0: key pressed is one of { RIGHT , 4 5 6 - F3 }
Bit 1 = 0: key pressed is one of { LEFT STO> 1 2 3 + F4 }
Bit 0 = 0: key pressed is one of { DOWN 0 . (-) ENTER F5}

>From the Ti-85 ports text file

Andres Garcia
------------------------
xrigel@q-net.net