Skip to navigation

Aviator on the BBC Micro

Graphics: SetColourToWhite

Name: SetColourToWhite [Show more] Type: Subroutine Category: Graphics Summary: Set a logical colour to white
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * DrawCanopyView calls SetColourToWhite * ResetLineLists calls SetColourToWhite

Arguments: X The logical colour to set to white
.SetColourToWhite LDY #7 \ Set Y = 7 so we set the logical colour to physical \ colour 7 (white) BNE SetLogicalColour \ Jump to SetLogicalColour to set the logical colour in \ X to white (this BNE is effectively a JMP as Y is \ never zero