EC2C: Renders a single character
menu_draw_char |
EC2C |
SUB $20 |
|
EC2E |
JR NZ,menu_draw_char_0 |
|
EC30 |
EXX |
|
EC31 |
INC E |
|
EC32 |
INC L |
|
EC33 |
EXX |
|
EC34 |
RET |
menu_draw_char_0 |
EC35 |
LD C,$12 |
|
EC37 |
CP $21 |
|
EC39 |
JR NC,menu_draw_char_1 |
|
EC3B |
LD C,$0B |
|
EC3D |
CP $10 |
|
EC3F |
JR NC,menu_draw_char_1 |
|
EC41 |
LD C,$00 |
|
EC43 |
DEC A |
|
EC44 |
JR Z,menu_draw_char_2 |
|
EC46 |
INC C |
|
EC47 |
SUB $07 |
|
EC49 |
JR Z,menu_draw_char_2 |
|
EC4B |
INC C |
|
EC4C |
DEC A |
|
EC4D |
JR Z,menu_draw_char_2 |
|
EC4F |
INC C |
|
EC50 |
SUB $03 |
|
EC52 |
JR Z,menu_draw_char_2 |
|
EC54 |
INC C |
|
EC55 |
JR menu_draw_char_2 |
menu_draw_char_1 |
EC57 |
SUB C |
|
EC58 |
LD C,A |
menu_draw_char_2 |
EC59 |
LD A,C |
|
EC5A |
RLCA |
|
EC5B |
LD B,A |
|
EC5C |
RLCA |
|
EC5D |
ADD A,B |
|
EC5E |
ADD A,C |
|
EC5F |
LD B,$00 |
|
EC61 |
RL B |
|
EC63 |
LD C,A |
|
EC64 |
LD HL,$A27A |
|
EC67 |
ADD HL,BC |
|
EC68 |
EXX |
|
EC69 |
PUSH DE |
|
EC6A |
INC E |
|
EC6B |
EXX |
|
EC6C |
POP DE |
|
EC6D |
EX AF,AF' |
|
EC6E |
JR C,=menu_draw_char_single_height |
|
EC70 |
EX AF,AF' |
menu_draw_char_double_height |
EC71 |
LD A,(HL) |
|
EC72 |
LD (DE),A |
|
EC73 |
INC D |
|
EC74 |
LDI |
|
EC76 |
DEC E |
|
EC77 |
INC D |
|
EC78 |
LD A,(HL) |
|
EC79 |
LD (DE),A |
|
EC7A |
INC D |
|
EC7B |
LDI |
|
EC7D |
DEC E |
|
EC7E |
INC D |
|
EC7F |
LD A,(HL) |
|
EC80 |
LD (DE),A |
|
EC81 |
INC D |
|
EC82 |
LDI |
|
EC84 |
DEC E |
|
EC85 |
INC D |
|
EC86 |
LD A,(HL) |
|
EC87 |
LD (DE),A |
|
EC88 |
INC D |
|
EC89 |
LDI |
|
EC8B |
LD A,E |
|
EC8C |
ADD A,$1F |
|
EC8E |
LD E,A |
|
EC8F |
LD A,D |
|
EC90 |
SUB $07 |
|
EC92 |
LD D,A |
|
EC93 |
LD A,(HL) |
|
EC94 |
LD (DE),A |
|
EC95 |
INC D |
|
EC96 |
LDI |
|
EC98 |
DEC E |
|
EC99 |
INC D |
|
EC9A |
LD A,(HL) |
|
EC9B |
LD (DE),A |
|
EC9C |
INC D |
|
EC9D |
LDI |
|
EC9F |
DEC E |
|
ECA0 |
INC D |
|
ECA1 |
LD A,(HL) |
|
ECA2 |
LD (DE),A |
|
ECA3 |
INC D |
|
ECA4 |
LDI |
|
ECA6 |
DEC E |
|
ECA7 |
INC D |
|
ECA8 |
XOR A |
|
ECA9 |
LD (DE),A |
|
ECAA |
EXX |
|
ECAB |
LD B,L |
|
ECAC |
SET 6,C |
|
ECAE |
LD (HL),C |
|
ECAF |
LD A,L |
|
ECB0 |
ADD A,$20 |
|
ECB2 |
LD L,A |
|
ECB3 |
RES 6,C |
|
ECB5 |
LD (HL),C |
|
ECB6 |
LD L,B |
|
ECB7 |
INC L |
|
ECB8 |
EXX |
|
ECB9 |
RET |
=menu_draw_char_single_height |
ECBA |
EX AF,AF' |
|
ECBB |
LDI |
|
ECBD |
DEC E |
|
ECBE |
INC D |
|
ECBF |
LDI |
|
ECC1 |
DEC E |
|
ECC2 |
INC D |
|
ECC3 |
LDI |
|
ECC5 |
DEC E |
|
ECC6 |
INC D |
|
ECC7 |
LDI |
|
ECC9 |
DEC E |
|
ECCA |
INC D |
|
ECCB |
LDI |
|
ECCD |
DEC E |
|
ECCE |
INC D |
|
ECCF |
LDI |
|
ECD1 |
DEC E |
|
ECD2 |
INC D |
|
ECD3 |
LDI |
|
ECD5 |
EXX |
|
ECD6 |
LD (HL),C |
|
ECD7 |
INC L |
|
ECD8 |
EXX |
|
ECD9 |
RET |