Prev: 31257 Up: Map Next: 31303
31290: Set INK colour of attributes
Sets a number of attributes to given INK colour
Input
B first cy
C first cx
D Number of attributes to set
E INK colour
set_attributes_xy_n 31290 CALL cxy2aaddr Find attribute address of cy,cx in BC
set_attributes_xy_n_0 31293 LD A,248 Clear INK in attribute cell
31295 AND (HL)
31296 OR E Merge in E
31297 LD (HL),A Set attribute cell
31298 INC HL Next cell
31299 DEC D Dec counter
31300 JR NZ,set_attributes_xy_n_0
31302 RET
Prev: 31257 Up: Map Next: 31303