Prev: 6890 Up: Map Next: 68B8
68A1: Print Asterisk
Used by the routine at TransitionEffect.
Print_Asterisk 68A1 PUSH AF Stash AF, BC, DE and HL on the stack.
68A2 PUSH BC
68A3 PUSH DE
68A4 PUSH HL
68A5 CALL ConvertAttributeToScreenBufferAddress Call ConvertAttributeToScreenBufferAddress.
Point to an asterisk in the ZX Spectrum font UDG data.
68A8 LD DE,$3D50 DE=CHARSET+50.
68AB LD B,$08 Set a line counter in B (08 lines in a UDG).
Print_Asterisk_0 68AD LD A,(DE) Copy the UDG data to the screen buffer.
68AE LD (HL),A
68AF INC H Move down one pixel line in the screen buffer.
68B0 INC DE Move to the next UDG graphic data byte.
68B1 DJNZ Print_Asterisk_0 Decrease the line counter by one and loop back to 6962 until all 08 lines of the UDG character have been drawn.
68B3 POP HL Restore HL, DE, BC and AF from the stack.
68B4 POP DE
68B5 POP BC
68B6 POP AF
68B7 RET Return.
Prev: 6890 Up: Map Next: 68B8