Prev: A2CE Up: Map Next: A331
A311: Draw the nine pictures on the title screen
Used by the routine at TITLE_SCREEN.
Works through TITLE_ICONS, copying each eight-byte record into UI_RECORD and drawing it. Nine records, but only six pictures: the three control methods are each too wide for one sprite and are drawn as two halves side by side, while the three characters below are one sprite each.
DRAW_TITLE_ICONS A311 LD IX,UI_RECORD Everything is drawn from the same scratch record...
A315 LD HL,TITLE_ICONS ...one copy of it at a time.
A318 LD B,$09
DRAW_TITLE_ICONS_0 A31A PUSH BC
A31B LD DE,UI_RECORD Eight bytes: the whole record.
A31E LD BC,$0008
A321 LDIR
A323 PUSH HL
A324 PUSH DE
A325 CALL DRAW_THING Put it on the screen, then its colours.
A328 CALL WORKSPACE_AND_DRAW
A32B POP DE
A32C POP HL
A32D POP BC
A32E DJNZ DRAW_TITLE_ICONS_0
A330 RET
Prev: A2CE Up: Map Next: A331