BDC1: Clears screen then sets in-game attributes
clear_screen_set_attrs |
BDC1 |
CALL clear_game_screen |
|
BDC4 |
LD HL,$4800 |
|
BDC7 |
LD DE,$4801 |
|
BDCA |
LD BC,$0FFF |
|
BDCD |
LD (HL),$FF |
|
BDCF |
LDIR |
|
BDD1 |
LD HL,$5900 |
|
BDD4 |
LD DE,$5901 |
|
BDD7 |
LD (HL),$28 |
|
BDD9 |
LD C,$40 |
|
BDDB |
LDIR |
|
BDDD |
LD (HL),$68 |
|
BDDF |
LD C,$60 |
|
BDE1 |
LDIR |
|
BDE3 |
LD A,($5CF4) |
|
BDE6 |
LD (HL),A |
|
BDE7 |
LD BC,$015F |
|
BDEA |
LDIR |
|
BDEC |
LD HL,$5900 |
|
BDEF |
LD DE,$001F |
|
BDF2 |
LD B,$10 |
clear_screen_set_attrs_0 |
BDF4 |
LD (HL),D |
|
BDF5 |
ADD HL,DE |
|
BDF6 |
LD (HL),D |
|
BDF7 |
INC HL |
|
BDF8 |
DJNZ clear_screen_set_attrs_0 |
|
BDFA |
RET |