B88E: Copy the score panel to the screen.
Panel_CopyToScreen |
B88E |
LD HL,$4000 |
|
B891 |
LD DE,$4001 |
|
B894 |
LD BC,$1AFF |
|
B897 |
LD (HL),$00 |
|
B899 |
LDIR |
|
B89B |
LD HL,$59A0 |
|
B89E |
LD ($C588),HL |
|
B8A1 |
LD HL,attr_offscreen |
|
B8A4 |
LD DE,$48A0 |
|
B8A7 |
LD B,$0A |
Panel_CopyToScreen_0 |
B8A9 |
PUSH BC |
|
B8AA |
PUSH DE |
|
B8AB |
LD DE,($C588) |
|
B8AF |
LD BC,$0020 |
|
B8B2 |
LDIR |
|
B8B4 |
LD ($C588),DE |
|
B8B8 |
POP DE |
|
B8B9 |
LD A,$08 |
Panel_CopyToScreen_1 |
B8BB |
PUSH DE |
|
B8BC |
LD BC,$0020 |
|
B8BF |
LDIR |
|
B8C1 |
POP DE |
|
B8C2 |
INC D |
|
B8C3 |
DEC A |
|
B8C4 |
JR NZ,Panel_CopyToScreen_1 |
|
B8C6 |
EX DE,HL |
|
B8C7 |
LD BC,$FF20 |
|
B8CA |
ADD HL,BC |
|
B8CB |
LD A,H |
|
B8CC |
AND $F8 |
|
B8CE |
LD H,A |
|
B8CF |
EX DE,HL |
|
B8D0 |
POP BC |
|
B8D1 |
DJNZ Panel_CopyToScreen_0 |
|
B8D3 |
RET |