Skip to navigation

BBC Micro Elite

Market: TT163 (Cassette version)

Name: TT163 [View in context] Type: Subroutine Category: Market Summary: Print the headers for the table of market prices
Print the column headers for the prices table in the Buy Cargo and Market Price screens.
.TT163 LDA #17 \ Move the text cursor in XC to column 17 STA XC LDA #255 \ Print recursive token 95 token ("UNIT QUANTITY BNE TT162+2 \ {crlf} PRODUCT UNIT PRICE FOR SALE{crlf}{lf}") by \ jumping to TT162+2, which contains JMP TT27 (this BNE \ is effectively a JMP as A will never be zero), and \ return from the subroutine using a tail call