Skip to navigation


Universe: UNIV

[NES version, Bank 7]

Name: UNIV [Show more] Type: Variable Category: Universe Summary: Table of pointers to the local universe's ship data blocks Deep dive: The local bubble of universe Ship data blocks
Context: See this variable in context in the source code References: This variable is used as follows: * GINF uses UNIV * KILLSHP uses UNIV * KS2 uses UNIV * TACTICS (Part 1 of 7) uses UNIV

Note that in the NES version, there are four extra bytes at the end of each K% block that don't form part of the core ship block, so each ship in K% contains NIK% = NI% + 4 bytes, rather than NI%.
.UNIV FOR I%, 0, NOSH EQUW K% + I% * NIK% ; Address of block no. I%, of size NIK%, in workspace K% NEXT