Keys_UpdateAction |
A606 |
LD A,(Flag_Demo) |
|
A609 |
AND A |
|
A60A |
JP NZ,Keys_UpdateAction_9 |
|
A60D |
CALL Keyboard_GetState |
|
A610 |
LD B,$00 |
|
A612 |
LD IX,KeyState_ShiftToV |
|
A616 |
LD A,(IX+$01) |
|
A619 |
AND $15 |
|
A61B |
LD C,A |
|
A61C |
LD A,(IX+$06) |
|
A61F |
AND $0A |
|
A621 |
OR C |
|
A622 |
XOR $1F |
|
A624 |
JR Z,Keys_UpdateAction_0 |
|
A626 |
SET 2,B |
Keys_UpdateAction_0 |
A628 |
LD A,(IX+$01) |
|
A62B |
AND $0A |
|
A62D |
LD C,A |
|
A62E |
LD A,(IX+$06) |
|
A631 |
SET 0,A |
|
A633 |
AND $15 |
|
A635 |
OR C |
|
A636 |
XOR $1F |
|
A638 |
JR Z,Keys_UpdateAction_1 |
|
A63A |
SET 3,B |
Keys_UpdateAction_1 |
A63C |
LD A,(IX+$00) |
|
A63F |
AND $0A |
|
A641 |
LD C,A |
|
A642 |
LD A,(IX+$07) |
|
A645 |
AND $14 |
|
A647 |
OR C |
|
A648 |
XOR $1E |
|
A64A |
JR Z,Keys_UpdateAction_2 |
|
A64C |
SET 1,B |
Keys_UpdateAction_2 |
A64E |
LD A,(IX+$00) |
|
A651 |
AND $14 |
|
A653 |
LD C,A |
|
A654 |
LD A,(IX+$07) |
|
A657 |
AND $0A |
|
A659 |
OR C |
|
A65A |
XOR $1E |
|
A65C |
JR Z,Keys_UpdateAction_3 |
|
A65E |
SET 0,B |
Keys_UpdateAction_3 |
A660 |
LD A,(IX+$02) |
|
A663 |
AND $0A |
|
A665 |
LD C,A |
|
A666 |
LD A,(IX+$05) |
|
A669 |
AND $15 |
|
A66B |
OR C |
|
A66C |
XOR $1F |
|
A66E |
JR Z,Keys_UpdateAction_4 |
|
A670 |
SET 6,B |
Keys_UpdateAction_4 |
A672 |
LD A,(IX+$02) |
|
A675 |
AND $15 |
|
A677 |
LD C,A |
|
A678 |
LD A,(IX+$05) |
|
A67B |
AND $0A |
|
A67D |
OR C |
|
A67E |
XOR $1F |
|
A680 |
JR Z,Keys_UpdateAction_5 |
|
A682 |
SET 5,B |
Keys_UpdateAction_5 |
A684 |
LD A,(IX+$03) |
|
A687 |
XOR (IX+$04) |
|
A68A |
AND $1E |
|
A68C |
JR Z,Keys_UpdateAction_6 |
|
A68E |
SET 7,B |
Keys_UpdateAction_6 |
A690 |
LD A,(IX+$00) |
|
A693 |
AND (IX+$07) |
|
A696 |
AND (IX+$03) |
|
A699 |
AND (IX+$04) |
|
A69C |
AND $01 |
|
A69E |
JR NZ,Keys_UpdateAction_7 |
|
A6A0 |
SET 4,B |
Keys_UpdateAction_7 |
A6A2 |
LD A,B |
|
A6A3 |
LD (KeyState_Actions),A |
|
A6A6 |
LD A,($BD1F) |
|
A6A9 |
ADD A,B |
|
A6AA |
LD ($BD1F),A |
|
A6AD |
LD A,(IX+$06) |
|
A6B0 |
AND $01 |
|
A6B2 |
XOR $01 |
|
A6B4 |
JR Z,Keys_UpdateAction_8 |
|
A6B6 |
LD A,$FF |
Keys_UpdateAction_8 |
A6B8 |
LD ($BD2B),A |
|
A6BB |
RET |
Keys_UpdateAction_9 |
A6BC |
LD (KeyState_Actions),A |
|
A6BF |
XOR A |
|
A6C0 |
LD ($BD2B),A |
|
A6C3 |
RET |