Prev: 60157 Up: Map Next: 60227
60166: Keyboard/joystick control method and port checking values
60166 DEFW 0 Address pointer to one of the list of input values below, depending on control option selected by the player.
KEMPSTON JOYSTICK control input values
60168 DEFB 8,4,2,1,16 Up, down, left, right, fire
60173 DEFB 0 End-of-data byte to indicate end of control checks
KEYBOARD controls - ports to read (up, down, left, right, fire) and the values used as a mask for checking which keys are pressed
60174 DEFW 65022 Keyboard port input address for keys A to G
60176 DEFB %11100000 Input value mask.
Bits 0-4 not set, as all keys (A, S, D, F, G) can be used to move UP
60177 DEFW 65278 Keyboard port input address for keys CAPS SHIFT to V
60179 DEFB %11100000 Input value mask.
Bits 0-4 not set, as all keys (CAPS, Z, X, C, V) can be used to move DOWN
60180 DEFW 32766 Keyboard port input address for keys SPACE to B
60182 DEFB %11100111 Input value mask.
Bits 3-4 not set, for keys B and N, which can both be used to move LEFT
60183 DEFW 32766 Keyboard port input address for keys SPACE to B
60185 DEFB %11111000 Input value mask.
Bits 0-2 not set, for keys M, SYMBOL SHIFT, SPACE, which can all be used to move RIGHT
60186 DEFW 49150 Keyboard port input address for keys ENTER to H
60188 DEFB %11100000 Input value mask.
Bits 0-4 not set, as all keys (H, J, K, L, ENTER) can be used to FIRE
60189 DEFB 0 End-of-data byte to indicate end of control checks
AGF/CURSOR JOYSTICK controls (up, down, left, right, fire)
60190 DEFW 61438 Keyboard port input address for number keys 6-0
60192 DEFB %11110111 Input value mask.
Bit 3 not set, to check key 7 for UP
60193 DEFW 61438 Keyboard port input address for number keys 6-0
60195 DEFB %11101111 Input value mask.
Bit 4 not set, to check key 6 for DOWN
60196 DEFW 63486 Keyboard port input address for number keys 1-5
60198 DEFB %11101111 Input value mask.
Bit 4 not set, to check key 5 for LEFT
60199 DEFW 61438 Keyboard port input address for number keys 6-0
60201 DEFB %11111011 Input value mask.
Bit 2 not set, to check key 8 for RIGHT
60202 DEFW 61438 Keyboard port input address for number keys 6-0
60204 DEFB %11111110 Input value mask.
Bit 0 not set, to check key 0 for FIRE
60205 DEFB 0 End-of-data byte to indicate end of control checks
Store for up, down, left, right, fire for selected control method, indicating which controls are pressed (1 = Pressed, 0 = Not pressed).
60206 DEFB 0 UP
60207 DEFB 0 DOWN
60208 DEFB 0 LEFT
60209 DEFB 0 RIGHT
60210 DEFB 0 FIRE
SINCLAIR JOYSTICK (up, down, left, right, fire)
60211 DEFW 61438 Keyboard port input address for number keys 6-0
60213 DEFB %11111101 Input value mask.
Bit 1 not set, to check key 9 for UP
60214 DEFW 61438 Keyboard port input address for number keys 6-0
60216 DEFB %11111011 Input value mask.
Bit 2 not set, to check key 8 for DOWN
60217 DEFW 61438 Keyboard port input address for number keys 6-0
60219 DEFB %11101111 Input value mask.
Bit 4 not set, to check key 6 for LEFT
60220 DEFW 61438 Keyboard port input address for number keys 6-0
60222 DEFB %11110111 Input value mask.
Bit 3 not set, to check key 7 for RIGHT
60223 DEFW 61438 Keyboard port input address for number keys 6-0
60225 DEFB %11111110 Input value mask.
Bit 0 not set, to check key 0 for FIRE
60226 DEFB 0 End-of-data byte to indicate end of control checks
Prev: 60157 Up: Map Next: 60227