Skip to navigation

Elite on the BBC Micro and NES

Workspaces: XX3

[NES version, Common]

Name: XX3 [Show more] Type: Workspace Address: $0100 to the top of the descending stack Category: Workspaces Summary: Temporary storage space for complex calculations
Context: See this workspace in context in the source code References: This workspace is used as follows: * DOEXP uses XX3 * DrawExplosionBurst uses XX3 * FadeColours uses XX3 * GetViewPalettes uses XX3 * LL62 uses XX3 * LL9 (Part 2 of 12) uses XX3 * LL9 (Part 8 of 12) uses XX3 * LL9 (Part 9 of 12) uses XX3 * LL9 (Part 10 of 12) uses XX3 * SendPalettesToPPU uses XX3 * SetPaletteColours uses XX3 * SFS1 uses XX3

Used as heap space for storing temporary data during calculations. Shared with the descending 6502 stack, which works down from $01FF.
ORG $0100 .XX3 SKIP 256 ; Temporary storage, typically used for storing tables ; of values such as screen coordinates or ship data ; ; [Show more]
; ; This variable is used by the following: ; ; * DOEXP ; * DrawExplosionBurst ; * FadeColours ; * GetViewPalettes ; * LL62 ; * LL9 (Part 2 of 12) ; * LL9 (Part 8 of 12) ; * LL9 (Part 9 of 12) ; * LL9 (Part 10 of 12) ; * SendPalettesToPPU ; * SetPaletteColours ; * SFS1 ; ; 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