Skip to navigation

Elite on the BBC Micro and NES

Market: TT208

[BBC Micro cassette 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 TT66 \ and set the current view type in QQ11 to 4 (Sell \ Cargo screen) LDA #4 \ Move the text cursor to row 4, column 4 STA YC STA XC \JSR FLKB \ This instruction is commented out in the original \ source. It calls a routine to flush the keyboard \ buffer (FLKB) that isn't present in the cassette \ version but is in other versions LDA #205 \ Print recursive token 45 ("SELL") JSR TT27 LDA #206 \ Print recursive token 46 (" CARGO{sentence case}") JSR TT68 \ followed by a colon \ Fall through into TT210 to show the Inventory screen \ with the option to sell