.PrintTooLate LDX #11 \ There are 11 VDU characters in the message, so set up \ a counter in X .late1 LDA tooLateText,X \ Print the X-th character from pleaseWaitText JSR OSWRCH DEX \ Decrement the loop counter, as the characters are \ stored backwards in the pleaseWaitText variable BPL late1 \ Loop back to print the next character until we have \ printed all 11 RTS \ Return from the subroutineName: PrintTooLate [Show more] Type: Subroutine Category: The Theme Summary: Print the "TOO LATE!" message at column 6, row 7 on-screenContext: See this subroutine in context in the source code References: This subroutine is called as follows: * AlienInAcornsville calls PrintTooLate
[X]
Configuration variable OSWRCH = &FFEE
The address for the OSWRCH routine
[X]
Label late1 is local to this routine
[X]
Variable tooLateText (category: The Theme)
The "TOO LATE!" message shown when the aliens land in Acornsville