Product specifications
;
DOT4: LD A,L ;Increment Y coord in register L
ADD A,7 ;by 7 to move onto right middle
LD L,A ;side of sprite
PUSH HL ;Save HL register pair
CALL DOTSUB ;(See description in section DOT1)
POP HL ;Retrieve saved HL register pair
LD (SPRP7),A ;Store character value under right
;middle side of sprite in SPRP7
;
DOT5: LD A,H ;Decrement X coord in register H
SUB 7 ;by 7 to move onto the top right hand
LD H,A ;quadrant centre of sprite
PUSH HL ;Save HL register pair
CALL DOTSUB ;(See description in section DOT1)
POP HL ;Retrieve saved HL register pair
LD (SPRP6),A ;Store character value under top right
;hand quadrant centre of sprite in SPRP6
;
DOT6: DEC H ;Decrement X coord in register H
;by 1 to move onto top left hand
;quadrant centre of spite
PUSH HL ;Save HL register pair
CALL DOTSUB ;(See description in section DOT1)
POP HL ;Retrieve saved HL register pair
LD (SPRP5),A ;Store character value under top left
;hand quadrant centre of sprite in SPRP5
;
DOT7: LD A,H ;Decrement X coord in register H
SUB 7 ;by 7 to move onto left middle
LD H,A ;side of sprite
PUSH Hl ;Save HL register pair
CALL DOTSUB ;(See description in section DOT1)
POP HL ;Retrieve saved HL register pair
LD (SPRP4),A ;Store character value under left
;middle side of sprite in SPRP4
;
DOT8: INC L ;Decrement Y coord in register L by 1
LD A,H ;and increment X coord in register H
ADD A,7 ;by 7 to move onto bottom left hand
LD H,A ;quadrant centre of sprite
PUSH HL ;Save HL register pair
CALL DOTSUB ;(See description in section DOT1)
POP HL ;Retrieve saved HL register pair
LD (SPRP8),A ;Store character value under bottom
;left hand quadrant centre of sprite
;in SPRP8
LD (CENLBL),DE;Store address of character value held
;in SPRP8 in two byte location CENLBL
;