Skip to navigation

Elite on the BBC Micro

Text: me1 (6502SP version)

Name: me1 [View in context] Type: Subroutine [Compare versions] Category: Text Summary: Erase an old in-flight message and display a new one
Arguments: A The text token to be printed X Must be set to 0
.me1 STX DLY \ Set the message delay in DLY to 0, so any new \ in-flight messages will be shown instantly PHA \ Store the new message token we want to print LDA MCH \ Set A to the token number of the message that is JSR mes9 \ currently on-screen, and call mes9 to print it (which \ will remove it from the screen, as printing is done \ using EOR logic) PLA \ Restore the new message token