Skip to navigation

Elite on the BBC Micro

Flight: hy6 (Cassette version)

Name: hy6 [View in context] Type: Subroutine [Compare versions] Category: Flight Summary: Print a message to say no hyperspacing inside the station
Print "Docked" at the bottom of the screen to indicate we can't hyperspace when docked.
.hy6 JSR CLYNS \ Clear the bottom three text rows of the upper screen, \ and move the text cursor to column 1 on row 21, i.e. \ the start of the top row of the three bottom rows LDA #15 \ Move the text cursor to column 15 (the middle of the STA XC \ screen), setting A to 15 at the same time for the \ following call to TT27 JMP TT27 \ Print recursive token 129 ("{sentence case}DOCKED") \ and return from the subroutine using a tail call