-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathelite-disc.asm
51 lines (47 loc) · 1.9 KB
/
elite-disc.asm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
\ ******************************************************************************
\
\ BBC MASTER ELITE DISC IMAGE SCRIPT
\
\ BBC Master Elite was written by Ian Bell and David Braben and is copyright
\ Acornsoft 1986
\
\ The code in this file has been reconstructed from a disassembly of the version
\ released on Ian Bell's personal website at http://www.elitehomepage.org/
\
\ The commentary is copyright Mark Moxon, and any misunderstandings or mistakes
\ in the documentation are entirely my fault
\
\ The terminology and notations used in this commentary are explained at
\ https://elite.bbcelite.com/terminology
\
\ The deep dive articles referred to in this commentary can be found at
\ https://elite.bbcelite.com/deep_dives
\
\ ------------------------------------------------------------------------------
\
\ This source file produces an SSD disc image for BBC Master Elite.
\
\ ------------------------------------------------------------------------------
\
\ This source file produces one of the following SSD disc images, depending on
\ which release is being built:
\
\ * elite-master-sng47.ssd
\ * elite-master-compact.ssd
\
\ This can be loaded into an emulator or a real BBC Master.
\
\ ******************************************************************************
INCLUDE "1-source-files/main-sources/elite-build-options.asm"
_SNG47 = (_VARIANT = 1)
_COMPACT = (_VARIANT = 2)
IF _SNG47
PUTFILE "3-assembled-output/M128Elt.bin", "M128Elt", &FF0E00, &FF0E43
PUTFILE "3-assembled-output/BDATA.bin", "BDATA", &000000, &000000
PUTFILE "3-assembled-output/BCODE.bin", "BCODE", &000000, &000000
ELIF _COMPACT
PUTFILE "3-assembled-output/M128Elt.bin", "!BOOT", &000E00, &000E43
PUTFILE "3-assembled-output/BDATA.bin", "BDATA", &001300, &001300
PUTFILE "3-assembled-output/BCODE.bin", "ELITE", &001300, &002C6C
ENDIF
PUTFILE "3-assembled-output/README.txt", "README", &FFFFFF, &FFFFFF