Skip to navigation

Aviator on the BBC Micro

The Theme: PrintTooLate

Name: PrintTooLate [Show more] Type: Subroutine Category: The Theme Summary: Print the "TOO LATE!" message at column 6, row 7 on-screen
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * AlienInAcornsville calls PrintTooLate
.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 subroutine