Skip to navigation


Flight: dockEd

[Commodore 64 version]

Name: dockEd [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 References: This subroutine is called as follows: * hyp calls dockEd

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 the first cleared row LDA #15 ; Move the text cursor to column 15 JSR DOXC ;LDA #RED ; These instructions are commented out in the original ;JSR DOCOL ; source LDA #205 ; Print extended token 205 ("DOCKED") and return from JMP DETOK ; the subroutine using a tail call