Prev: 62179 Up: Map Next: 62225
62219: Clear Bytes
Used by the routines at ResetLife, ResetPlayerState and BuildShapeTables.
Sets a number of bytes of memory to zero.
Input
B Number of bytes
HL Address
Output
HL Address after the last byte
ClearBytes 62219 LD (HL),0 Store 0 at the address in HL.
62221 INC HL Advance HL.
62222 DJNZ ClearBytes Decrease B and jump to ClearBytes until none remain.
62224 RET Return.
View the equivalent code in;
Prev: 62179 Up: Map Next: 62225