data/claims/elite-bbc.yamlElite (BBC Micro cassette, 1984), market code
Game: Q55815. Concept: Commodity trading.
Elite came out in 1984. elite-bbc/release
Value: 1984
WikidataWikidata ·Q55815, publication date (P577), as data/catalog/games.json records it+1984-09-20T00:00:00ZAcornsoft published it for the BBC Micro and Acorn Electron; the catalog keeps only the earliest year.
Cited by: Commodity trading
Elite's station markets price 17 goods afresh in every star system and stock all but the last, alien items, whose availability var sets to 0. elite-bbc/trades
1-source-files/main-sources/elite-source.asm#L32542-L32560.QQ23
…ITEM 19, -2, 't', 6, %00000001 \ 0 = Food
…ITEM 53, 15, 't', 192, %00000111 \ 16 = Alien itemsElite source code (BBC Micro cassette version), fully documented · 1-source-files/main-sources/elite-source.asm#L20798-L20799LDA #0 \ Set AVL+16 (availability of alien items) to 0,
STA AVL+16 \ setting A to 0 in the processChecked by claude, 2026-10-27 — read the QQ23 table (17 ITEM rows, L32544-L32560) and TT151, which prices one row at a time; in the audit, `var` zeroing AVL+16 (L20798-L20799), the only write to it besides its initial EQUB 0 (L7038)Cited by: Commodity trading
Each good's price is tenths of a credit, from its base price , a random byte masked by , the system's economy (0 to 7), and the good's economic factor , all in 8-bit arithmetic. elite-bbc/price-formula
1-source-files/main-sources/elite-source.asm#L20485-L20535LDA QQ26
AND QQ23+3,X
…
ADC QQ23,X
…
ADC QQ19+3
…
SBC QQ19+3
…
JSR GC2Elite source code (BBC Micro cassette version), fully documented · 1-source-files/main-sources/elite-source.asm#L20785-L20822LDY QQ28
…
ADC QQ19+2Market item prices and availability — Mark Moxon's commentary on the same routine; it calls the result an 8-bit calculationprice = (base_price + (random AND mask) + economy * economic_factor) * 4Checked by claude, 2026-10-20 — read TT151 (L20460-L20535): A = QQ26 AND mask, CLC, ADC base, then var (L20785-L20822) leaves economy × |factor| in QQ19+3 with the carry clear, then ADC or SEC/SBC by the factor's sign, then GC2 multiplies by 4 and pr5 prints with one decimal place. Every step is a single byte, so a sum past 255 wraps. The probe evaluates the formula for every byte and economyProbe: probes/trading/elite.mjsThe comments in the pinned file are Moxon's; the instructions are the original's.
Cited by: Commodity trading
One random byte, drawn on arrival in a new system, sets every good's fluctuation for that visit. elite-bbc/visit-random
1-source-files/main-sources/elite-source.asm#L20931-L20935.GVL
JSR DORND
STA QQ26Elite source code (BBC Micro cassette version), fully documented · 1-source-files/main-sources/elite-source.asm#L21185JSR GVLChecked by claude, 2026-10-20 — read GVL, which stores a DORND byte in QQ26, and its call in the hyperspace arrival code (L21170-L21186); TT151 reads QQ26 for every itemCited by: Commodity trading
The table gives each good a base price, an economic factor from −9 (Furs) to +29 (Narcotics), and a fluctuation mask from 1 (Food) to 120 (Narcotics). elite-bbc/market-table
Value
{
"Food": [
19,
-2,
1
],
"Textiles": [
20,
-1,
3
],
"Radioactives": [
65,
-3,
7
],
"Slaves": [
40,
-5,
31
],
"Liquor/Wines": [
83,
-5,
15
],
"Luxuries": [
196,
8,
3
],
"Narcotics": [
235,
29,
120
],
"Computers": [
154,
14,
3
],
"Machinery": [
117,
6,
7
],
"Alloys": [
78,
1,
31
],
"Firearms": [
124,
13,
7
],
"Furs": [
176,
-9,
63
],
"Minerals": [
32,
-1,
3
],
"Gold": [
97,
-1,
7
],
"Platinum": [
171,
-2,
31
],
"Gem-Stones": [
45,
-1,
15
],
"Alien items": [
53,
15,
7
]
}1-source-files/main-sources/elite-source.asm#L32544-L32560ITEM 235, 29, 't', 8, %01111000 \ 6 = NarcoticsChecked by claude, 2026-10-20 — read the 17 ITEM rows (base price, factor, unit, quantity, mask); the probe parses them and compares with this valueProbe: probes/trading/elite.mjsCited by: Commodity trading
A negative factor makes a good cheapest in poor agricultural systems and a positive one in rich industrial systems, so Food costs 7.6–8.0 credits a tonne at economy 0 and 2.0–2.4 at economy 7, and Computers 61.6–62.8 and 100.8–102.0. elite-bbc/economy-gradient
Value
{
"Food": {
"economy0": [
7.6,
8
],
"economy7": [
2,
2.4
]
},
"Computers": {
"economy0": [
61.6,
62.8
],
"economy7": [
100.8,
102
]
}
}1-source-files/main-sources/elite-source.asm#L20502-L20520LDA QQ19+1
BMI TT155Elite source code (BBC Micro cassette version), fully documented · 1-source-files/main-sources/elite-source.asm#L3036-L3047 — Moxon's comment naming the economy values* 0 = Rich Industrial
…
* 7 = Poor AgriculturalChecked by claude, 2026-10-20 — the probe evaluates the price formula for Food and Computers at economies 0 and 7 over all 256 random bytesProbe: probes/trading/elite.mjsCited by: Commodity trading
Narcotics' sum can pass 255 and wrap around, so in a rich industrial system its price is either 94.0–100.4 or 1.2–39.6 credits. elite-bbc/narcotics-wrap
Value
{
"economy0": [
[
94,
100.4
],
[
1.2,
39.6
]
]
}1-source-files/main-sources/elite-source.asm#L20491-L20493CLC
ADC QQ23,X
STA QQ24Checked by claude, 2026-10-20 — traced TT151 with base 235, mask %01111000, and factor 29: at economy 0 the byte is 235 + 8k for k = 0..15, which passes 255 from k = 3; the probe lists every price the formula givesProbe: probes/trading/elite.mjsMeasured from the code, not from play. At economy 7 the byte starts at 235 + 203, so the prices fall in two bands again (the probe prints them).
Cited by: Commodity trading