Skip to navigation

Elite on the BBC Micro

Market: TT208 (Master version)

Name: TT208 [View in context] Type: Subroutine [Compare versions] Category: Market Summary: Show the Sell Cargo screen (red key f2)
.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