Skip to navigation

Elite on the BBC Micro

Universe: jmp

[BBC Master version]

Name: jmp [Show more] Type: Subroutine Category: Universe Summary: Set the current system to the selected system
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * BR1 (Part 2 of 2) calls jmp * hyp1 calls jmp

Returns: (QQ0, QQ1) The galactic coordinates of the new system Other entry points: hy5 Contains an RTS
.jmp LDA QQ9 \ Set the current system's galactic x-coordinate to the STA QQ0 \ x-coordinate of the selected system LDA QQ10 \ Set the current system's galactic y-coordinate to the STA QQ1 \ y-coordinate of the selected system .hy5 RTS \ Return from the subroutine