TI-99/4A CRU definitions

From Ninerpedia
Jump to navigation Jump to search

Definitions

For a introduction and usage of the CRU see Geneve CRU definitions

TMS 9901
Address in R12 Bit Kind Default Function Meaning
0000 0 - 0 control mostly 0 (Interrupt mode)
0002 1 in - INT1 EXT. INT, Interrupt vector >0004
0004 2 in - INT2 VDP INT, Interrupt vector >0008
0006 3 in - INT3 Return value from keyboard (depends on set value of P2-P4) for the keys "=", ".", ",", "M", "N", "/", fire button Joystick 1 and 2
0008 4 in - INT4 Return value from keyboard (depends on set value of P2-P4) for the keys " ", "L", "K", "J", "H", ";", left for Joystick 1 and 2
000A 5 in - INT5 Return value from keyboard (depends on set value of P2-P4) for the keys ENTER, "O", "I", "U", "Y", "P", right for Joystick 1 and 2
000C 6 in - INT6 Return value from keyboard (depends on set value of P2-P4) for the keys "9", "8", "7", "6", "0", down for Joystick 1 and 2
000E 7 in - INT7 Return value from keyboard (depends on set value of P2-P4) for the keys FCTN, "2", "3", "4", "5", "1", up for Joystick 1 and 2 and ALPHA-LOCK
0010 8 int - INT8 Return value from keyboard (depends on set value of P2-P4) for the keys SHIFT, "S", "D", "F", "G", "A"
0012 9 in - INT9 Return value from keyboard (depends on set value of P2-P4) for the keys CTRL, "W", "E", "R", "T", "Q"
0014 10 in - INT10 Return value from keyboard (depends on set value of P2-P4) for the keys "X", "C", "V", "B", "Z"
0016 11 in 1 INT11 -
0018 12 in 1 INT12 -
001A 13 in 1 INT13 -
001C 14 in 1 INT14 -
001E 15 in 1 INT15 -
0020 16 - - P0 -
0022 17 - - P1 -
0024 18 out - P2 P2-P4 is the row number which selects the column of the keyboard matrix
0026 19 out - P3
0028 20 out - P4
002A 21 out - P5 set to one for asking ALPHA-LOCK status at INT7
002C 22 out 0 P6 Motor control for CS1
002E 23 out 0 P7 Motor control for CS2
0030 24 out - P8 Audio gate
0032 25 out - P9 Output for CS1 and 2
0034 26 in - P10 Input for CS1 and 2
0036 27 - - P11 -
0038 28 - - P12 -
003A 29 - - P13 -
003C 30 - - P14 -
003E 31 - - P15 -