Prev: A303 Up: Map Next: A3F6
A3CF: Copy a clipped row into the buffer
The row loop of the clipped copy into the buffer, for a box straddling the left edge of the play area: entered from the DJNZ at the end of draw_sprite_pair, so many LDIs before the end of this chain as there are bytes on the screen, then the rest of the buffer's row skipped and the screen address moved up a line. The first LDI is reached only with the full six bytes, which never happened in the build's sessions.
copy_in_clipped A3CF LDI Copy the row's bytes from the screen to the buffer (C is $FF, so the LDIs never touch B)
A3D1 LDI
A3D3 LDI
A3D5 LDI
A3D7 LDI
A3D9 LDI
A3DB LD A,$00 Skip the part of the buffer's row left of the edge (the LD's operand is patched by draw_sprite_pair)
A3DD ADD A,E
A3DE LD E,A
A3DF POP HL Back to the row's start, and up one pixel line; then round again
A3E0 DEC H
A3E1 LD A,H
A3E2 INC A
A3E3 AND $07
A3E5 JP NZ,draw_sprite_pair_7
A3E8 LD A,L
A3E9 SUB $20
A3EB LD L,A
A3EC JP C,draw_sprite_pair_7
A3EF LD A,H
A3F0 ADD A,$08
A3F2 LD H,A
A3F3 JP draw_sprite_pair_7
Prev: A303 Up: Map Next: A3F6