Prev: D871 Up: Map Next: D8C0
D8A3: Copy screen display file into room graphic data buffer
Used by the routine at D871.
D8A3 LD IY,$AC0D Set IY to the address into the display lookup table
D8A7 LD B,$A8 Set B to the number of pixel-rows to copy
D8A9 LD DE,$EAFF Set DE to the base address for the room graphic buffer
D8AC PUSH BC Save REGbc
D8AD LD L,(IY+$00) Copy a pixel-row from display file to room graphic data
D8B0 LD H,(IY+$01)
D8B3 LD BC,$0020
D8B6 LDIR
D8B8 INC IY Increment address into the display lookup table
D8BA INC IY
D8BC POP BC Restore BC
D8BD DJNZ $D8AC Jump back until all the screen copied
D8BF RET
Prev: D871 Up: Map Next: D8C0