Skip to navigation


Flight: TT147

[NES version, Bank 0]

Name: TT147 [Show more] Type: Subroutine Category: Flight Summary: Print an error when a system is out of hyperspace range
Context: See this subroutine in context in the source code References: No direct references to this subroutine in this source file

Print "RANGE?" for when the hyperspace distance is too far
.TT147 JSR CLYNS ; Clear the bottom two 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 two bottom rows LDA #189 ; Print token 29 ("HYPERSPACE ") JSR TT27_b2 JSR TT162 ; Print a space LDA #202 ; Print token 42 ("RANGE") followed by a question mark JSR prq JMP DrawScreenInNMI ; Configure the NMI handler to draw the screen, ; returning from the subroutine using a tail call