![]() |
Routines |
| Prev: 29765 | Up: Map | Next: 29806 |
|
Used by the routine at VerticalRun.
Rotates consecutive character rows right.
|
||||
| HorizontalRun_RightRun | 29789 | PUSH BC | Stash the row counter on the stack. | |
| 29790 | CALL PixelRow | Call PixelRow. | ||
| 29793 | LD B,8 | Call HorizontalRun_Right with eight pixel rows. | ||
| 29795 | CALL HorizontalRun_Right | |||
| 29798 | POP BC | Restore the row counter from the stack. | ||
| 29799 | INC B | Increment the row counter. | ||
| 29800 | LD A,B | Copy it into A. | ||
|
The stop immediate is self-modified by VerticalRun.
|
||||
| 29801 | CP 0 | Jump to HorizontalRun_RightRun until it equals that stop. | ||
| 29803 | JR NZ,HorizontalRun_RightRun | |||
| 29805 | RET | Return. | ||
| Prev: 29765 | Up: Map | Next: 29806 |