![]() |
Routines |
| Prev: 6B75 | Up: Map |
|
||||||||||||||||
| 6BD6 | EX AF,AF' | Copy the attribute byte to A'. | ||||||||||||||
| 6BD7 | LD A,C | |||||||||||||||
| 6BD8 | EX AF,AF' | |||||||||||||||
| 6BD9 | LD BC,$4000 | Set HL to the appropriate display file address. | ||||||||||||||
| 6BDC | ADD HL,BC | |||||||||||||||
| 6BDD | EX AF,AF' | Copy the attribute byte from A' back to C. | ||||||||||||||
| 6BDE | LD C,A | |||||||||||||||
| 6BDF | EX AF,AF' | |||||||||||||||
| 6BE0 | CALL $6BFA | Draw the top-left tile. | ||||||||||||||
| 6BE3 | CALL $6BFA | Draw the top-right tile. | ||||||||||||||
| 6BE6 | LD A,L | Set HL to the display file address for the bottom-left tile. | ||||||||||||||
| 6BE7 | ADD A,$1E | |||||||||||||||
| 6BE9 | LD L,A | |||||||||||||||
| 6BEA | JR NC,$6BF0 | |||||||||||||||
| 6BEC | LD A,H | |||||||||||||||
| 6BED | ADD A,$08 | |||||||||||||||
| 6BEF | LD H,A | |||||||||||||||
| 6BF0 | CALL $6C0F | Set HL' to the corresponding attribute file address. | ||||||||||||||
| 6BF3 | CALL $6BFA | Draw the bottom-left tile. | ||||||||||||||
| 6BF6 | CALL $6BFA | Draw the bottom-right tile. | ||||||||||||||
| 6BF9 | RET | |||||||||||||||
| Prev: 6B75 | Up: Map |