Skip to navigation

Elite on the BBC Micro and NES

Text: WHITETEXT

[6502 Second Processor version]

Name: WHITETEXT [Show more] Type: Subroutine Category: Text Summary: Switch to white text
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * JMTB calls WHITETEXT * MT29 calls WHITETEXT
.WHITETEXT LDA #32 \ Send a #SETVDU19 32 command to the I/O processor to JSR DOVDU19 \ switch to the mode 1 palette for the title screen, \ which is yellow (colour 1), white (colour 2) and cyan \ (colour 3) LDA #RED \ Send a #SETCOL RED command to the I/O processor to JMP DOCOL \ switch to colour 2, which is white in the title \ screen, and return from the subroutine using a tail \ call