Skip to navigation

Elite on the BBC Micro and NES

Text: printflag

[6502 Second Processor version]

Name: printflag [Show more] Type: Variable Category: Text Summary: A flag that determines whether to send text output to the printer as well as the screen
Context: See this variable in context in the source code References: This variable is used as follows: * CHPR uses printflag * DOXC uses printflag * Main game loop (Part 5 of 6) uses printflag * TRADEMODE uses printflag

This flag can have the following values: * Bit 7: 1 = printer enabled 0 = printer disabled If the printer is enabled, then text output is sent to the printer as well as the screen. This is set when CTRL is held down when displaying a text screen, such as CTRL-f7 to print out the market prices for the current system.
.printflag EQUB 0