.TRADEMODE JSR TT66 ; Clear the top part of the screen, draw a border box, ; and set the current view type in QQ11 to A JSR FLKB ; Call FLKB to flush the keyboard buffer LDA #48 ; Switch to the palette for trading screens, though this JSR DOVDU19 ; doesn't actually do anything in this version of Elite ;LDA #CYAN ; These instructions are commented out in the original ;JMP DOCOL ; source RTS ; Return from the subroutineName: TRADEMODE [Show more] Type: Subroutine Category: Drawing the screen Summary: Clear the screen and set up a trading screenContext: See this subroutine in context in the source code References: This subroutine is called as follows: * EQSHP calls TRADEMODE * STATUS calls TRADEMODE * TT167 calls TRADEMODE * TT208 calls TRADEMODE * TT213 calls TRADEMODE * TT219 calls TRADEMODE * TT25 calls TRADEMODE
Clear the top part of the screen, draw a border and set the current view type in QQ11 to A.
Arguments: A The type of the new current view (see QQ11 for a list of view types)
[X]
Subroutine DOVDU19 (category: Drawing the screen)
Implement the #SETVDU19 command (change mode 1 palette)
[X]
Subroutine FLKB (category: Keyboard)
Flush the keyboard buffer
[X]
Subroutine TT66 (category: Drawing the screen)
Clear the screen and set the current view type