Skip to navigation

Elite on the BBC Micro and NES

Workspaces: K%

[NES version, Common]

Name: K% [Show more] Type: Workspace Address: $0600 to $07FF Category: Workspaces Summary: Ship data blocks Deep dive: Ship data blocks The local bubble of universe
Context: See this workspace in context in the source code References: This workspace is used as follows: * ANGRY uses K% * BEGIN uses K% * CheckJumpSafety uses K% * ChooseLanguage uses K% * DCS1 uses K% * DOEXP uses K% * DrawExplosionBurst uses K% * DrawTitleScreen uses K% * Main flight loop (Part 1 of 16) uses K% * Main flight loop (Part 9 of 16) uses K% * Main flight loop (Part 14 of 16) uses K% * Main game loop (Part 2 of 6) uses K% * Main game loop (Part 4 of 6) uses K% * MAS2 uses K% * MAS3 uses K% * PlayDemo uses K% * SetupDemoUniverse uses K% * SPS3 uses K% * SPS4 uses K% * TAS4 uses K% * UNIV uses K% * VCSU1 uses K%

Contains ship data for all the ships, planets, suns and space stations in our local bubble of universe. See the deep dive on "Ship data blocks" for details on ship data blocks, and the deep dive on "The local bubble of universe" for details of how Elite stores the local universe in K%, FRIN and UNIV.
ORG $0600 .K% CLEAR K%, $0800 ; The ship data blocks share memory with the X1TB, Y1TB ; and X2TB variables (for use in the scroll text), so we ; need to clear this block of memory to prevent BeebAsm ; from complaining ; ; [Show more]
; ; This variable is used by the following: ; ; * ANGRY ; * BEGIN ; * CheckJumpSafety ; * ChooseLanguage ; * DCS1 ; * DOEXP ; * DrawExplosionBurst ; * DrawTitleScreen ; * Main flight loop (Part 1 of 16) ; * Main flight loop (Part 9 of 16) ; * Main flight loop (Part 14 of 16) ; * Main game loop (Part 2 of 6) ; * Main game loop (Part 4 of 6) ; * MAS2 ; * MAS3 ; * PlayDemo ; * SetupDemoUniverse ; * SPS3 ; * SPS4 ; * TAS4 ; * UNIV ; * VCSU1 ; ; This list only includes code that refers to the ; variable by name; there may be other references to ; this memory location that don't use this label, and ; these will not be mentioned above
SKIP NOSH * NIK% ; Ship data blocks