Prev: FBB4 Up: Map Next: FBFC
FBED: Fill a sprite with an attribute
Used by the routines at 8866 and FBB4.
Input
H Y co-ordinate
L X co-ordinate
C attribute to fill
FBED CALL $FC18 Get the attribute address
FBF0 LD A,C Put the attribute in the first two columns.
FBF1 LD (HL),A
FBF2 INC HL
FBF3 LD (HL),A
FBF4 LD DE,$001F Move to the start of the next row.
FBF7 ADD HL,DE
FBF8 LD (HL),A Put the attribute in the next two columns.
FBF9 INC HL
FBFA LD (HL),A
FBFB RET
Prev: FBB4 Up: Map Next: FBFC