Skip to navigation

Elite on the BBC Micro and NES

Moving: MVEIT (Part 9 of 9)

[Elite-A, Docked]

Name: MVEIT (Part 9 of 9) [Show more] Type: Subroutine Category: Moving Summary: Return from the subroutine (the scanner is not used when docked)
Context: See this subroutine in context in the source code References: No direct references to this subroutine in this source file
.MV5 \ --- Mod: Code removed for Elite-A: ------------------> \ LDA INWK+31 \ Fetch the ship's exploding/killed state from byte #31 \ \ AND #%00100000 \ If we are exploding then jump to MVD1 to remove it \ BNE MVD1 \ from the scanner permanently \ \ LDA INWK+31 \ Set bit 4 to keep the ship visible on the scanner \ ORA #%00010000 \ STA INWK+31 \ \.MVD1 \ \ LDA INWK+31 \ Clear bit 4 to hide the ship on the scanner \ AND #%11101111 \ STA INWK+31 \ --- End of removed code -----------------------------> RTS \ Return from the subroutine