Skip to navigation

Elite on the BBC Micro and NES

List of all macros

[NES version]

This index contains every macro that appears in the source code for the NES version of Elite, grouped by category.

Drawing ships
-------------

EDGE (Common)Macro definition for adding edges to ship blueprints
FACE (Common)Macro definition for adding faces to ship blueprints
VERTEX (Common)Macro definition for adding vertices to ship blueprints

Drawing the screen
------------------

ADD_CYCLES (Common)Add a specified number to the cycle count
ADD_CYCLES_CLC (Common)Add a specified number to the cycle count
FILL_MEMORY (Common)Fill memory with the specified number of bytes
SEND_DATA_TO_PPU (Common)Send a specified block of memory to the PPU
SUBTRACT_CYCLES (Common)Subtract a specified number from the cycle count

Market
------

ITEM (Common)Macro definition for the market prices table

PPU
---

SETUP_PPU_FOR_ICON_BAR (Common)If the PPU has started drawing the icon bar, configure the PPU to use nametable 0 and pattern table 0

Text
----

CHAR (Common)Macro definition for characters in the recursive token table
CONT (Common)Macro definition for control codes in the recursive token table
ECHR (Common)Macro definition for characters in the extended token table
EJMP (Common)Macro definition for jump tokens in the extended token table
ERND (Common)Macro definition for random tokens in the extended token table
ETOK (Common)Macro definition for recursive tokens in the extended token table
ETWO (Common)Macro definition for two-letter tokens in the extended token table
RTOK (Common)Macro definition for recursive tokens in the recursive token table
TOKN (Common)Macro definition for standard tokens in the extended token table
TWOK (Common)Macro definition for two-letter tokens in the token table