Chapter 2: TI-83 Plus Specific Information 119
TI-83 Plus Developer Guide Third Release May 28, 2002
This is the rest of the application code.
Dummy:
RET
;
; Table of vectors loaded into monitor control vectors
;
AppVectors:
DW Dummy ; set this vector to a ‘RET’ instruction
DW Dummy ; set this vector to a ‘RET’ instruction
DW AppPutaway ; set this vector to Apps Put Away
; routine
DW Dummy ; set this vector to a ‘RET’ instruction
DW Dummy ; set this vector to a ‘RET’ instruction
DW Dummy ; set this vector to a ‘RET’ instruction
DB appTextSaveF ; system flag, this is a normal setting
Now the application is connected to the system monitor through the system monitor
vectors. If the monitor were allowed to be in control then all of the information it sends to
the system would come to the application.
Since the monitor is not in control, information will be sent to the application under three
circumstances.
• While GetKey is executing the TI-83 Plus is turned off.
• While GetKey link activity is detected.
• If a system error is generated and allowed to be displayed, the Quit option is chosen
by the user.
In all three circumstances, the system monitor will jump to the application at the label
AppPutAway, or whatever label is used in the AppVectors table.
Sample code to handle the apps termination is given. The turning off situation is handled
differently than the other two.