![]() |
Routines |
| Prev: E283 | Up: Map | Next: E28E |
|
One of the clipped ways through the flat-piece blitter blit_flat_step, for a piece that runs off the right-hand side of the play area with two of its three bytes still on it. flat_step_clip sends the loop here by patching the JR in flat_blit_second_byte (offset $26) when the piece's column (the low five bits of column_address) is $18. Each pair of rows is then drawn two bytes wide: the first row's third byte and the second row's right-hand byte are popped and dropped, so SP stays in step with the graphic.
|
||||
| flat_blit_left_two | E289 | DEC H | Up a pixel row: the first row's third byte is not drawn | |
| E28A | POP DE | Drop it, and the second row's right-hand byte with it | ||
| E28B | JP flat_blit_upper_row_0 | Draw the second row's other two bytes, right to left, and go round the loop | ||
| Prev: E283 | Up: Map | Next: E28E |