![]() |
Routines |
Prev: 26768 | Up: Map | Next: 26808 |
Used by the routine at TransitionEffect.
|
||||
Print_Asterisk | 26785 | PUSH AF | Stash AF, BC, DE and HL on the stack. | |
26786 | PUSH BC | |||
26787 | PUSH DE | |||
26788 | PUSH HL | |||
26789 | CALL ConvertAttributeToScreenBufferAddress | Call ConvertAttributeToScreenBufferAddress. | ||
Point to an asterisk in the ZX Spectrum font UDG data.
|
||||
26792 | LD DE,15696 | DE=CHARSET+80. | ||
26795 | LD B,8 | Set a line counter in B (8 lines in a UDG). | ||
Print_Asterisk_0 | 26797 | LD A,(DE) | Copy the UDG data to the screen buffer. | |
26798 | LD (HL),A | |||
26799 | INC H | Move down one pixel line in the screen buffer. | ||
26800 | INC DE | Move to the next UDG graphic data byte. | ||
26801 | DJNZ Print_Asterisk_0 | Decrease the line counter by one and loop back to 26978 until all 8 lines of the UDG character have been drawn. | ||
26803 | POP HL | Restore HL, DE, BC and AF from the stack. | ||
26804 | POP DE | |||
26805 | POP BC | |||
26806 | POP AF | |||
26807 | RET | Return. |
Prev: 26768 | Up: Map | Next: 26808 |