![]() |
Routines |
| Prev: DB26 | Up: Map | Next: DB41 |
|
Used by the routines at FillTwoEdgeRows and FillFourEdgeRows.
The end of the routines that fill the edge: moves up the rows that are left in the step and then goes round for the next step.
|
||||||||
| MoveUpEdgeRows | DB29 | LD A,($CE5A) | The vertical step copy. | |||||
| DB2C | SUB B | Subtract B from A. | ||||||
| DB2D | LD B,A | B=A. | ||||||
| DB2E | LD A,($CE44) | The segment row. | ||||||
| DB31 | SUB B | Subtract B from A. | ||||||
| DB32 | LD ($CE44),A | Update the segment row. | ||||||
| DB35 | SRL B | Shift B right. | ||||||
| MoveUpEdgeRows_Up | DB37 | DEC H | Step H back. | |||||
| DB38 | CALL MoveUpARow | Call MoveUpARow. | ||||||
| DB3B | DJNZ MoveUpEdgeRows_Up | Decrease B and jump to MoveUpEdgeRows_Up until none remain. | ||||||
| DB3D | EXX | Switch to the alternate registers. | ||||||
| DB3E | DJNZ CallEdgePainter | Decrease B and jump to CallEdgePainter until none remain. | ||||||
| DB40 | RET | Return. | ||||||
| Prev: DB26 | Up: Map | Next: DB41 |