Skip to navigation

BBC Micro Elite

Flight: dockEd (6502SP version)

Name: dockEd [View in context] Type: Subroutine 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.
.dockEd 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 JSR DOXC LDA #RED \ Send a #SETCOL RED command to the I/O processor to JSR DOCOL \ switch to colour 2, which is magenta in the trade view \ or red in the chart view LDA #205 \ Print extended token 205 ("DOCKED") and return from JMP DETOK \ the subroutine using a tail call