Skip to navigation

Drawing planets: WP1

[Acorn Electron version]

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: This subroutine is called as follows: * WPLS2 calls WP1
.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