Skip to navigation

Dashboard: PZW2

[BBC Master version]

Name: PZW2 [Show more] Type: Subroutine Category: Dashboard Summary: Fetch the current dashboard colours for non-striped indicators, to support flashing
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * DIALS (Part 1 of 4) calls PZW2 * DIALS (Part 4 of 4) calls PZW2
.PZW2 LDX #WHITE2 \ Set X to white, so we can return that as the safe \ colour in PZW below EQUB &2C \ Skip the next instruction by turning it into \ &2C &A9 &23, or BIT &23A9, which does nothing apart \ from affect the flags \ Fall through into PZW to fetch the current dashboard \ colours, returning white for safe colours rather than \ stripes