![]() |
Routines |
Prev: A5AA | Up: Map | Next: A68F |
A612 | LD HL,($A244) | Configure port for key read in routine $A61F | ||
A615 | LD ($A620),HL | |||
A618 | LD A,($A246) | Configure operand BIT to check for key press in routine $A61F | ||
A61B | LD ($A629),A | |||
A61E | RET | |||
Check FIRE key pressed. Default key is O. Used by the routines at 9470, 97AB, 97D2 and A68F.
|
||||
A61F | LD BC,$DFFE | Read port for FIRE key | ||
A622 | IN A,(C) | |||
A624 | LD HL,$A247 | Reset input device type | ||
A627 | XOR (HL) | |||
A628 | BIT 1,A | Execute specific BIT operand to test if bit of key FIRE is set | ||
A62A | RET | |||
A62B | LD HL,($A244) | Configure port for key read in routine $A638 | ||
A62E | LD ($A639),HL | |||
A631 | LD A,($A246) | Configure operand BIT to check for key press in routine $A638 | ||
A634 | LD ($A642),A | |||
A637 | RET | |||
Check LEFT key pressed. Default key is Q. Used by the routine at 9470.
|
||||
A638 | LD BC,$FBFE | Read port for LEFT key | ||
A63B | IN A,(C) | |||
A63D | LD HL,$A247 | Reset input device type | ||
A640 | XOR (HL) | |||
A641 | BIT 0,A | Execute specific BIT operand to test if bit of key LEFT is set | ||
A643 | RET | |||
A644 | LD HL,($A244) | Configure port for key read in routine $A651 | ||
A647 | LD ($A652),HL | |||
A64A | LD A,($A246) | Configure operand BIT to check for key press in routine $A651 | ||
A64D | LD ($A65B),A | |||
A650 | RET | |||
Check RIGHT key pressed. Default key is W. Used by the routine at 9470.
|
||||
A651 | LD BC,$FBFE | Read port for RIGHT key | ||
A654 | IN A,(C) | |||
A656 | LD HL,$A247 | Reset input device type | ||
A659 | XOR (HL) | |||
A65A | BIT 1,A | Execute specific BIT operand to test if bit of key RIGHT is set | ||
A65C | RET | |||
A65D | LD HL,($A244) | Configure port for key read in routine $A66A | ||
A660 | LD ($A66B),HL | |||
A663 | LD A,($A246) | Configure operand BIT to check for key press in routine $A66A | ||
A666 | LD ($A674),A | |||
A669 | RET | |||
Check UP key pressed. Default key is I. Used by the routine at 9470.
|
||||
A66A | LD BC,$DFFE | Read port for UP key | ||
A66D | IN A,(C) | |||
A66F | LD HL,$A247 | Reset input device type | ||
A672 | XOR (HL) | |||
A673 | BIT 2,A | Execute specific BIT operand to test if bit of key UP is set | ||
A675 | RET | |||
A676 | LD HL,($A244) | Configure port for key read in routine $A683 | ||
A679 | LD ($A684),HL | |||
A67C | LD A,($A246) | Configure operand BIT to check for key press in routine $A683 | ||
A67F | LD ($A68D),A | |||
A682 | RET | |||
Check DOWN key pressed. Default key is J. Used by the routine at 9470.
|
||||
A683 | LD BC,$BFFE | Read port for DOWN key | ||
A686 | IN A,(C) | |||
A688 | LD HL,$A247 | Reset input device type | ||
A68B | XOR (HL) | |||
A68C | BIT 3,A | Execute specific BIT operand to test if bit of key DOWN is set | ||
A68E | RET |
Prev: A5AA | Up: Map | Next: A68F |