Skip to navigation


Dashboard: ECBLB

[Apple II version]

Name: ECBLB [Show more] Type: Subroutine Category: Dashboard Summary: Light up the E.C.M. indicator bulb ("E") on the dashboard
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * ECMOF calls ECBLB
.ECBLB LDA #LO(ECBT) ; Set A to the low byte of the character definition in ; ECBT, to pass to BULB LDX #7*8 ; The E.C.M. bulb is in character block number 7 and ; each character is eight pixels wide, so this sets ; X to the pixel x-coordinate of the bulb we want to ; draw BNE BULB ; Jump down to BULB (this BNE is effectively a JMP as ; A will never be zero)