Skip to navigation

Universe: jmp

[BBC Micro cassette 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: * hyp1 calls jmp * Ghy calls via hy5

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