Name | Type | Meaning |
TIOS_entries | unsigned long | Number of entries in TIOS jump table: may be used for determining actual AMS version (for example, it is 972 on AMS 1.05 and 1463 on AMS 2.03) |
AMS_1xx | short (Boolean) | TRUE on AMS 1.xx, FALSE on AMS 2.xx |
AMS_2xx | short (Boolean) | TRUE on AMS 2.xx, FALSE on AMS 1.xx |
ROM_base | void * | Base address of the ROM (0x200000 on TI-89, 0x400000 on TI-92 Plus) |
CALCULATOR | short | Zero on TI-89, non-zero on TI-92 Plus |
TI89 | short (Boolean) | TRUE on TI-89, FALSE on TI-92 Plus |
TI92 | short (Boolean) | TRUE on TI-92 Plus, FALSE on TI-89 |
LCD_WIDTH | unsigned short | Width of the screen in pixels (160 on TI-89, 240 on TI-92 Plus) |
LCD_HEIGHT | unsigned short | Height of the screen in pixels (100 on TI-89, 128 on TI-92 Plus) |
LCD_LINE_BYTES | unsigned short | Number of bytes in the visible part of a screen line (20 on TI-89, 30 on TI-92 Plus) |
KEY_LEFT | short | Key code for the left arrow key (see ngetchx) |
KEY_RIGHT | short | Key code for the right arrow key |
KEY_UP | short | Key code for the up arrow key |
KEY_DOWN | short | Key code for the down arrow key |
KEY_UPRIGHT | short | Key code for simultaneous pressing on up and right arrow keys |
KEY_DOWNLEFT | short | Key code for simultaneous pressing on down and left arrow keys |
KEY_DIAMOND | short | The number added to the key code if the Diamond key is pressed with it |
KEY_SHIFT | short | The number added to the key code if the Shift key is pressed with it |