![]() |
Routines |
| Prev: 29908 | Up: Map | Next: 29922 |
|
Used by the routine at ResetAttributes.
Writes the same byte to every address from the target address up to the end address.
|
||||||||||||
| ResetCopier | 29915 | LD (HL),C | Write the byte to the buffer. | |||||||||
| 29916 | INC HL | Move on to the next address. | ||||||||||
| 29917 | LD A,H | Are we finished yet? Check the MSB of the target vs. B. | ||||||||||
| 29918 | CP B | |||||||||||
| 29919 | JR C,ResetCopier | Keep looping back to ResetCopier until there is no carry-over. | ||||||||||
| 29921 | RET | Return. | ||||||||||
|
View the equivalent code in;
|
||||||||||||
| Prev: 29908 | Up: Map | Next: 29922 |