ED6D: Routine at ED6D
ED6D |
PUSH DE |
ED6E |
PUSH BC |
ED6F |
CALL define_keys |
ED72 |
CALL keyscan_all |
ED75 |
JR NZ,$ED6F |
ED77 |
INC D |
ED78 |
JR Z,$ED6F |
ED7A |
DEC D |
ED7B |
LD A,D |
ED7C |
POP BC |
ED7D |
PUSH BC |
ED7E |
LD HL,$EE38 |
ED81 |
LD B,C |
ED82 |
DEC B |
ED83 |
JR Z,$ED8B |
ED85 |
CP (HL) |
ED86 |
JR Z,$ED6F |
ED88 |
INC HL |
ED89 |
DJNZ $ED85 |
ED8B |
POP BC |
ED8C |
PUSH BC |
ED8D |
LD HL,$EE37 |
ED90 |
LD B,$00 |
ED92 |
ADD HL,BC |
ED93 |
LD (HL),A |
ED94 |
LD HL,$EDD6 |
ED97 |
LD D,$00 |
ED99 |
LD B,A |
ED9A |
AND $07 |
ED9C |
LD C,A |
ED9D |
ADD A,A |
ED9E |
ADD A,A |
ED9F |
ADD A,C |
EDA0 |
SRL B |
EDA2 |
SRL B |
EDA4 |
SRL B |
EDA6 |
ADD A,B |
EDA7 |
ADD A,A |
EDA8 |
LD E,A |
EDA9 |
ADD HL,DE |
EDAA |
POP BC |
EDAB |
POP DE |
EDAC |
PUSH BC |
EDAD |
PUSH DE |
EDAE |
LD ($EADD),DE |
EDB2 |
LD A,(HL) |
EDB3 |
LD ($EADF),A |
EDB6 |
INC HL |
EDB7 |
LD A,(HL) |
EDB8 |
SET 7,A |
EDBA |
LD ($EAE0),A |
EDBD |
LD HL,$EADC |
EDC0 |
CALL menu_draw_string |
EDC3 |
POP DE |
EDC4 |
CALL $EDCC |
EDC7 |
POP BC |
EDC8 |
LD A,B |
EDC9 |
CP $04 |
EDCB |
RET NZ |
EDCC |
LD A,E |
EDCD |
ADD A,$20 |
EDCF |
LD E,A |
EDD0 |
RET NC |
EDD1 |
LD A,D |
EDD2 |
ADD A,$08 |
EDD4 |
LD D,A |
EDD5 |
RET |