Sherlock: annotated disassembly

Routines

Prev: A2AA Up: Map Next: A2B1
A2AB: Fill B bytes at HL with zero (or, from $A2AC, with A)
Addresses named in the title: A2AC.
Input
B how many
HL where
A2AB XOR A Clear A to zero (and the carry flag) - (Next routine) clear B bytes at HL
A2AC LD (HL),A Store A at the address HL points to
A2AD INC HL Step HL on to the next byte
A2AE DJNZ $A2AC Count B down and, while it is not zero, go back to A2AC
A2B0 RET Return to the caller
Prev: A2AA Up: Map Next: A2B1