Skip to navigation

Elite on the BBC Micro

Dashboard: ECBLB (Electron version)

Name: ECBLB [View in context] Type: Subroutine [Compare versions] Category: Dashboard Summary: Light up the E.C.M. indicator bulb ("E") on the dashboard
.ECBLB LDA #&98 \ Set A to the low byte of the screen address of the \ E.C.M. bulb (which is at &7C98) LDX #LO(ECBT) \ Set X to the low byte of the address of the character \ definition in ECBT LDY #&7C \ Set Y to the high byte of the screen address of the \ E.C.M. bulb (which is at &7C98) BNE BULB \ Jump down to BULB (this BNE is effectively a JMP as \ A will never be zero)