![]() |
Routines |
| Prev: 50084 | Up: Map | Next: 50240 |
|
Used by the routines at HandleExtraLife and DisplaySunMoonFrame.
Copies a block of the screen buffer, which is two bytes wide and eight lines high, to the display.
|
||||||||||
| CopyAreaToScreen | 50226 | CALL CalculateScreenAddress | Find the address in the display. | |||||||
| 50229 | CALL CalculateBufferAddress | Find the address in the screen buffer. | ||||||||
| 50232 | LD L,C | Copy it to HL. | ||||||||
| 50233 | LD H,B | |||||||||
| 50234 | LD BC,2050 | Set the number of lines to 8 and the number of bytes to 2. | ||||||||
| 50237 | JP CopyBlockToScreen | Copy the block to the display. | ||||||||
|
View the equivalent code in;
|
||||||||||
| Prev: 50084 | Up: Map | Next: 50240 |