Skip to navigation

Elite on the BBC Micro and NES

Universe: SelectNearbySystem

[NES version, Bank 0]

Name: SelectNearbySystem [Show more] Type: Subroutine Category: Universe Summary: Set the current system to the nearest system and update the selected system flags accordingly
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * MJP calls SelectNearbySystem * TT102 calls SelectNearbySystem
.SelectNearbySystem JSR TT111 ; Select the system closest to galactic coordinates ; (QQ9, QQ10) JMP SetSelectionFlags ; Jump to SetSelectionFlags to set the selected system ; flags for the new system and update the icon bar if ; required