Appendix A: System Routines — Utility
TI-83 Plus Developer Guide
9
Beta Version May 16, 2001
NzIf83Plus
Utility
Return status if calculator is a TI-83 Plus or not.
None
None
None
None
NZ = Status if calculator is a TI-83 Plus
Z = Status if calculator is a TI-83 Plus
SILVER EDITION
None
None
Note that this B_CALL is not available on Cerebrus version 1.12 and earlier.
The calling routine needs to check the software version before performing the
B_CALL.
This routine is not as intrusive as GetSysInfo if all you need to know is if the
calculator is an earlier edition of the TI-83 Plus.
Return NZ if are running on a TI-83 Plus.
B_CALL getBaseVer ; OS version in (A, B)
CP 1 ; major version
JR C,MustBe83Plus ; if 0.x than < 1.13
JR NZ,Above112 ; if 2.x then > 1.12
LD A,B ; major version is 1
CP 13 ; minor version
JR NC,above112 ; C if minor version < 13
MustBe83Plus:
RET ; NZ status
above112: ; later than version 1.12
B_CALL NzIf83Plus ; NZ if original TI-83 Plus
RET
Category:
Description:
Input:
Registers:
Flags:
Others:
Outputs:
Registers:
Flags:
Others:
Registers
destroyed:
Remarks:
Example: