Prev: B952 Up: Map Next: B9D6
B9AC: Copy the screen to the working buffer
Used by the routines at B952, ED2A and EDF7.
B9AC LD DE,$5B00 Point DE into the screen buffer.
B9AF LD IX,$8278 Point IX at the offset table for the main screen.
B9B3 LD BC,$1000 Number of bytes to draw.
B9B6 LD L,(IX+$00) Put the next address in HL.
B9B9 LD H,(IX+$01)
B9BC INC IX Move to the next entry in the table.
B9BE INC IX
B9C0 CALL $BA25 Copy the data.
B9C3 JP PE,$B9B6 Jump back if there is more to copy.
B9C6 LD BC,$0200 Number of bytes to draw.
B9C9 LD DE,$FE00 Point DE at the attribute buffer.
B9CC LD HL,$5900 Point HL at the attributes for the main play area.
B9CF CALL $BA25 Copy the data.
B9D2 JP PE,$B9CF Jump back if there is more to copy.
B9D5 RET Otherwise return.
Prev: B952 Up: Map Next: B9D6