![]() |
Routines |
| Prev: 56102 | Up: Map | Next: 56129 |
|
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 | 56105 | LD A,(52826) | The vertical step copy. | |||||
| 56108 | SUB B | Subtract B from A. | ||||||
| 56109 | LD B,A | B=A. | ||||||
| 56110 | LD A,(52804) | The segment row. | ||||||
| 56113 | SUB B | Subtract B from A. | ||||||
| 56114 | LD (52804),A | Update the segment row. | ||||||
| 56117 | SRL B | Shift B right. | ||||||
| MoveUpEdgeRows_Up | 56119 | DEC H | Step H back. | |||||
| 56120 | CALL MoveUpARow | Call MoveUpARow. | ||||||
| 56123 | DJNZ MoveUpEdgeRows_Up | Decrease B and jump to MoveUpEdgeRows_Up until none remain. | ||||||
| 56125 | EXX | Switch to the alternate registers. | ||||||
| 56126 | DJNZ CallEdgePainter | Decrease B and jump to CallEdgePainter until none remain. | ||||||
| 56128 | RET | Return. | ||||||
| Prev: 56102 | Up: Map | Next: 56129 |