Skip to navigation

Elite on the BBC Micro and NES

Market: TT208

[BBC Master version]

Name: TT208 [Show more] Type: Subroutine Category: Market Summary: Show the Sell Cargo screen (red key f2)
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: * TT102 calls TT208
.TT208 LDA #4 \ Clear the top part of the screen, draw a white border, JSR TRADEMODE \ and set up a printable trading screen with a view type \ in QQ11 of 4 (Sell Cargo screen) LDA #10 \ Move the text cursor to column 10 STA XC LDA #205 \ Print recursive token 45 ("SELL") JSR TT27 LDA #206 \ Print recursive token 46 (" CARGO{sentence case}") JSR NLIN3 \ draw a horizontal line at pixel row 19 to box in the \ title JSR TT67 \ Print a newline \ Fall through into TT210 to show the Inventory screen \ with the option to sell