Skip to navigation

Elite on the BBC Micro and NES

Drawing ships: DOEXP, Removed

[Elite-A, Docked]

Name: DOEXP, Removed [Show more] Type: Subroutine Category: Drawing ships Summary: Draw an exploding ship Deep dive: Drawing explosion clouds Generating random numbers
Context: See this subroutine in context in the source code References: No direct references to this subroutine in this source file
\ --- Mod: Code removed for Elite-A: ------------------> \.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 \ --- End of removed code ----------------------------->