Texas Instruments TI-83 Plus Manual page 79

Third release
Hide thumbs Also See for TI-83 Plus:
Table of Contents

Advertisement

Chapter 2: TI-83 Plus Specific Information
For example, use the GetKey routine to input only keys A-Z until either Í or É
is pressed.
Enter_Alphas:
keyLoop:
;
;
;
;
;
Return:
TI-83 Plus Developer Guide
B_CALL
RunIndicOff
RES
indicOnly,(IY+indicFlags)
B_CALL
DisableApd
RES
onInterrupt,(IY+onFlags)
EI
B_CALL
GetKey
RES
onInterrupt,(IY+onFlags)
OR
A
JR
Z,Return
CP
kEnter
JR
Z,Return
CP
kCapZ+1
JR
NC,keyLoop
CP
kCapA
CALL
NC,StoreKey
JR
keyLoop
B_CALL
EnableApd
RET
; no run indicator
; make key reads are
; done
; no auto power down
; clear on pressed
; wait for a key
; clear on pressed
; on key ?
; yes return
; jump if Enter key
; possible A-Z
; no ignore
; store it if A-Z
; look for more
; auto power down is
; enabled
Third Release May 28, 2002
69

Advertisement

Table of Contents
loading

Table of Contents