Skip to navigation

Elite on the BBC Micro and NES

Drawing planets: WP1

[BBC Micro disc version, Docked]

Name: WP1 [Show more] Type: Subroutine Category: Drawing planets Summary: Reset the ball line heap
Context: See this subroutine in context in the source code References: No direct references to this subroutine in this source file
.WP1 LDA #1 \ Set LSP = 1 to reset the ball line heap pointer STA LSP LDA #&FF \ Set LSX2 = &FF to indicate the ball line heap is empty STA LSX2 RTS \ Return from the subroutine