![]() |
Routines |
| Prev: 7445 | Up: Map | Next: 746E |
|
Used by the routine at VerticalRun.
Rotates consecutive character rows right.
|
||||
| HorizontalRun_RightRun | 745D | PUSH BC | Stash the row counter on the stack. | |
| 745E | CALL PixelRow | Call PixelRow. | ||
| 7461 | LD B,$08 | Call HorizontalRun_Right with eight pixel rows. | ||
| 7463 | CALL HorizontalRun_Right | |||
| 7466 | POP BC | Restore the row counter from the stack. | ||
| 7467 | INC B | Increment the row counter. | ||
| 7468 | LD A,B | Copy it into A. | ||
|
The stop immediate is self-modified by VerticalRun.
|
||||
| 7469 | CP $00 | Jump to HorizontalRun_RightRun until it equals that stop. | ||
| 746B | JR NZ,HorizontalRun_RightRun | |||
| 746D | RET | Return. | ||
| Prev: 7445 | Up: Map | Next: 746E |