Skip to navigation

Elite on the BBC Micro and NES

Stardust: NWSTARS

[NES version, Bank 0]

Name: NWSTARS [Show more] Type: Subroutine Category: Stardust Summary: Initialise the stardust field
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * LOOK1 calls NWSTARS * TT110 calls NWSTARS

This routine is called when the space view is initialised in routine LOOK1.
.NWSTARS LDA QQ11 ; If this is not a space view (in which case QQ11 > 0), ORA demoInProgress ; or demoInProgress > 0 (in which case we are playing BNE WPSHPS ; the demo), jump to WPSHPS to skip the initialisation ; of the SX, SY and SZ tables