![]() |
Routines |
| Prev: CB03 | Up: Map | Next: CB35 |
|
Used by the routine at CB03.
|
||||
| CB15 | PUSH AF | Remember A. | ||
| CB16 | LD A,$05 | Start at column 5. | ||
| CB18 | LD C,$00 | Start at row 0. | ||
| CB1A | LD ($CB91),A | Set the current column. | ||
| CB1D | LD A,($CB92) | Increment the timer, which cycles between 0 and 3. | ||
| CB20 | INC A | |||
| CB21 | AND $03 | |||
| CB23 | LD ($CB92),A | |||
| CB26 | JR NZ,$CB2A | If the timer is not yet zero, skip this. | ||
| CB28 | LD C,$10 | Scroll 1A columns. | ||
| CB2A | LD A,$0A | |||
| CB2C | ADD A,C | |||
| CB2D | LD B,A | Scroll #0A rows. | ||
| CB2E | CALL $CB63 | Scroll the column. | ||
| CB31 | DJNZ $CB2E | Loop back if there is more to do. | ||
| CB33 | POP AF | Restore A and return. | ||
| CB34 | RET | |||
| Prev: CB03 | Up: Map | Next: CB35 |