jetpac
Routines
Prev:
7185
Up:
Map
Next:
718e
7187: Fill a memory block with a byte value.
Used by the routine at
718e
.
Input
B
Loop counter: the MSB of the address to stop at.
C
Fill byte.
HL
Start address to begin filling.
7187
ld (hl),c
Write the fill byte
7188
inc hl
7189
ld a,h
718a
cp b
718b
jr c,$7187
Repeat until
H
matches
B
718d
ret
Prev:
7185
Up:
Map
Next:
718e