![]() |
Routines |
| Prev: 29691 | Up: Map | Next: 29736 |
|
Used by the routine at HorizontalRun.
Rotates consecutive character rows left.
|
||||
| PixelRow_LeftRun | 29719 | PUSH BC | Stash the row counter on the stack. | |
| 29720 | CALL PixelRow | Call PixelRow. | ||
| 29723 | LD B,8 | Call PixelRow_Left with eight pixel rows. | ||
| 29725 | CALL PixelRow_Left | |||
| 29728 | POP BC | Restore the row counter from the stack. | ||
| 29729 | INC B | Increment the row counter. | ||
| 29730 | LD A,B | Copy it into A. | ||
|
The stop immediate is self-modified by HorizontalRun.
|
||||
| 29731 | CP 0 | Jump to PixelRow_LeftRun until it equals that stop. | ||
| 29733 | JR NZ,PixelRow_LeftRun | |||
| 29735 | RET | Return. | ||
| Prev: 29691 | Up: Map | Next: 29736 |