| Routines

F9A5: Print the lesson

Used by the routine at 66E6. Prints the lesson or 'DEMO. - PRESS A KEY TO PLAY' in the lesson box.
F9A5 | LD A,($7FEA) | Collect the game mode indicator from 7FEA
F9A8 | AND A | Are we in demo mode?
F9A9 | JP NZ,$7940 | Jump if not
F9AC | LD HL,$EBE0 | EBE0: 'DEMO. - PRESS A KEY TO PLAY'
This entry point is used by the routine at F8B4 with HL=FEE0 ('WELL DONE! GO UP A YEAR').
F9AF | LD DE,$ED30 | Point DE at the lesson box graphic buffer
F9B2 | CALL $755A | Write the first line of text into the lesson box graphic buffer
F9B5 | LD L,$F0 | HL=EBF0 ('A KEY TO PLAY') or FEF0 ('UP A YEAR')
F9B7 | JP $7975 | Write the second line of text into the lesson box graphic buffer and copy the buffer to the screen