![]() |
Routines |
| Prev: 27509 | Up: Map | Next: 27642 |
|
||||||||||||||
| 27606 | EX AF,AF' | Copy the attribute byte to A'. | ||||||||||||
| 27607 | LD A,C | |||||||||||||
| 27608 | EX AF,AF' | |||||||||||||
| 27609 | LD BC,16384 | Set HL to the appropriate display file address. | ||||||||||||
| 27612 | ADD HL,BC | |||||||||||||
| 27613 | EX AF,AF' | Copy the attribute byte from A' back to C. | ||||||||||||
| 27614 | LD C,A | |||||||||||||
| 27615 | EX AF,AF' | |||||||||||||
| 27616 | CALL 27642 | Draw the top-left tile. | ||||||||||||
| 27619 | CALL 27642 | Draw the top-right tile. | ||||||||||||
| 27622 | LD A,L | Set HL to the display file address for the bottom-left tile. | ||||||||||||
| 27623 | ADD A,30 | |||||||||||||
| 27625 | LD L,A | |||||||||||||
| 27626 | JR NC,27632 | |||||||||||||
| 27628 | LD A,H | |||||||||||||
| 27629 | ADD A,8 | |||||||||||||
| 27631 | LD H,A | |||||||||||||
| 27632 | CALL 27663 | Set HL' to the corresponding attribute file address. | ||||||||||||
| 27635 | CALL 27642 | Draw the bottom-left tile. | ||||||||||||
| 27638 | CALL 27642 | Draw the bottom-right tile. | ||||||||||||
| 27641 | RET | |||||||||||||
| Prev: 27509 | Up: Map | Next: 27642 |