![]() |
Routines |
| Prev: 6900 | Up: Map | Next: 6919 |
|
Used by the routines at AttributesPlayArea and DrawPlayArea.
|
||||||||||||
|
Calculates the new address for writing a sprite pixel, in an downwards direction.
|
||||||||||||
| 6910 | LD A,L | L=L + 20 (one line). | ||||||||||
| 6911 | ADD A,$20 | |||||||||||
| 6913 | LD L,A | |||||||||||
| 6914 | LD A,H | H=H + 00 (but include the carry from above). | ||||||||||
| 6915 | ADC A,$00 | |||||||||||
| 6917 | LD H,A | |||||||||||
| 6918 | RET | Return. | ||||||||||
| Prev: 6900 | Up: Map | Next: 6919 |