Skip to navigation

Elite on the BBC Micro

Drawing ships: DOEXP (Disc version)

Name: DOEXP [View in context] Type: Subroutine [Compare versions] Category: Drawing ships Summary: Draw an exploding ship Deep dive: Drawing explosion clouds
.EX2 LDA INWK+31 \ Set bits 5 and 7 of the ship's byte #31 to denote that ORA #%10100000 \ the ship is exploding and has been killed STA INWK+31 RTS \ Return from the subroutine .DOEXP RTS \ Return from the subroutine