![]() |
Routines |
| Prev: $2F56 | Up: Map | Next: $2FB6 |
|
||||||||||||
| $2F8C | STY $27 | Store the x-coordinate at $27. | ||||||||||
| $2F8E | LDA #$00 | Initialise the row counter at $28. | ||||||||||
| $2F90 | STA $28 | |||||||||||
| $2F92 | JSR $3329 | Print a play area tile. | ||||||||||
| $2F95 | LDA $5A | Add 320 (40x8) to the screen bitmap address at $5A to point at the adjacent tile in the row below. | ||||||||||
| $2F97 | INC $5B | |||||||||||
| $2F99 | CLC | |||||||||||
| $2F9A | ADC #$40 | |||||||||||
| $2F9C | BCC $2FA0 | |||||||||||
| $2F9E | INC $5B | |||||||||||
| $2FA0 | STA $5A | |||||||||||
| $2FA2 | LDA $5C | Add 40 to the colour information address at $5C to point at the adjacent tile in the row below. | ||||||||||
| $2FA4 | CLC | |||||||||||
| $2FA5 | ADC #$28 | |||||||||||
| $2FA7 | BCC $2FAB | |||||||||||
| $2FA9 | INC $5D | |||||||||||
| $2FAB | STA $5C | |||||||||||
| $2FAD | INC $28 | Increment the row counter at $28. | ||||||||||
| $2FAF | LDA $28 | Pick up the row counter. | ||||||||||
| $2FB1 | CMP #$15 | Have we done all 21 rows yet? | ||||||||||
| $2FB3 | BNE $2F92 | Branch back if not. | ||||||||||
| $2FB5 | RTS | |||||||||||
| Prev: $2F56 | Up: Map | Next: $2FB6 |