![]() |
Routines |
A | Pixel column of character from message being spoken |
HL | Display file address |
32216 | LD B,4 | There are four pixel rows to slide left |
32218 | PUSH BC | Save the pixel row counter |
32219 | LD C,L | Save L in C briefly |
32220 | LD B,6 | The text window is six bytes wide |
32222 | RLCA | Push a pixel from the message character into the carry flag |
32223 | RL (HL) | Slide this pixel into a row of the text window |
32225 | DEC HL | |
32226 | DJNZ 32223 | |
32228 | LD L,C | Restore L |
32229 | POP BC | Restore the pixel row counter to B |
32230 | INC H | Move to the next row of pixels |
32231 | DJNZ 32218 | Jump back until all four rows of pixels have been done |
32233 | RET |