Skip to navigation

Elite on the BBC Micro

Version analysis of TT163

This code appears in the following versions (click to see it in the source code):

Code variations between these versions are shown below.

Name: TT163 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

Code variation 1 of 1Related to Elite's use of the Tube

Tap on a version to expand it, and tap it again to show to all variations.

Cassette, Flight, Docked, Electron

6502SP, Master

LDA #17 \ Move the text cursor in XC to column 17 STA XC
LDA #17 \ Move the text cursor in XC to column 17 JSR DOXC
 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

RSS Feed