Skip to navigation


Flight: hy6

[BBC Micro cassette version]

Name: hy6 [Show more] Type: Subroutine Category: Flight Summary: Print a message to say there is no hyperspacing allowed inside the station
Context: See this subroutine in context in the source code Variations: See code variations for this subroutine in the different versions References: This subroutine is called as follows: * hyp calls hy6

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