Prev: EAFD Up: Map Next: EB43
EB06: Keyboard/joystick control method and port checking values
EB06 DEFW $0000 Address pointer to one of the list of input values below, depending on control option selected by the player.
KEMPSTON JOYSTICK control input values
EB08 DEFB $08,$04,$02,$01,$10 Up, down, left, right, fire
EB0D DEFB $00 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
EB0E DEFW $FDFE Keyboard port input address for keys A to G
EB10 DEFB %11100000 Input value mask.
Bits 0-4 not set, as all keys (A, S, D, F, G) can be used to move UP
EB11 DEFW $FEFE Keyboard port input address for keys CAPS SHIFT to V
EB13 DEFB %11100000 Input value mask.
Bits 0-4 not set, as all keys (CAPS, Z, X, C, V) can be used to move DOWN
EB14 DEFW $7FFE Keyboard port input address for keys SPACE to B
EB16 DEFB %11100111 Input value mask.
Bits 3-4 not set, for keys B and N, which can both be used to move LEFT
EB17 DEFW $7FFE Keyboard port input address for keys SPACE to B
EB19 DEFB %11111000 Input value mask.
Bits 0-2 not set, for keys M, SYMBOL SHIFT, SPACE, which can all be used to move RIGHT
EB1A DEFW $BFFE Keyboard port input address for keys ENTER to H
EB1C DEFB %11100000 Input value mask.
Bits 0-4 not set, as all keys (H, J, K, L, ENTER) can be used to FIRE
EB1D DEFB $00 End-of-data byte to indicate end of control checks
AGF/CURSOR JOYSTICK controls (up, down, left, right, fire)
EB1E DEFW $EFFE Keyboard port input address for number keys 6-0
EB20 DEFB %11110111 Input value mask.
Bit 3 not set, to check key 7 for UP
EB21 DEFW $EFFE Keyboard port input address for number keys 6-0
EB23 DEFB %11101111 Input value mask.
Bit 4 not set, to check key 6 for DOWN
EB24 DEFW $F7FE Keyboard port input address for number keys 1-5
EB26 DEFB %11101111 Input value mask.
Bit 4 not set, to check key 5 for LEFT
EB27 DEFW $EFFE Keyboard port input address for number keys 6-0
EB29 DEFB %11111011 Input value mask.
Bit 2 not set, to check key 8 for RIGHT
EB2A DEFW $EFFE Keyboard port input address for number keys 6-0
EB2C DEFB %11111110 Input value mask.
Bit 0 not set, to check key 0 for FIRE
EB2D DEFB $00 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).
EB2E DEFB $00 UP
EB2F DEFB $00 DOWN
EB30 DEFB $00 LEFT
EB31 DEFB $00 RIGHT
EB32 DEFB $00 FIRE
SINCLAIR JOYSTICK (up, down, left, right, fire)
EB33 DEFW $EFFE Keyboard port input address for number keys 6-0
EB35 DEFB %11111101 Input value mask.
Bit 1 not set, to check key 9 for UP
EB36 DEFW $EFFE Keyboard port input address for number keys 6-0
EB38 DEFB %11111011 Input value mask.
Bit 2 not set, to check key 8 for DOWN
EB39 DEFW $EFFE Keyboard port input address for number keys 6-0
EB3B DEFB %11101111 Input value mask.
Bit 4 not set, to check key 6 for LEFT
EB3C DEFW $EFFE Keyboard port input address for number keys 6-0
EB3E DEFB %11110111 Input value mask.
Bit 3 not set, to check key 7 for RIGHT
EB3F DEFW $EFFE Keyboard port input address for number keys 6-0
EB41 DEFB %11111110 Input value mask.
Bit 0 not set, to check key 0 for FIRE
EB42 DEFB $00 End-of-data byte to indicate end of control checks
Prev: EAFD Up: Map Next: EB43