Skip to content

Commit 44adc1d

Browse files
committed
Improved folder structure for build process
1 parent e85a9b7 commit 44adc1d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+193
-125
lines changed

1-source-files/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Source file for the BBC Master version of Elite
2+
3+
This folder contains the source files for the BBC Master version of Elite.
4+
5+
* [fonts](fonts) contains the binaries for the game's text font
6+
7+
* [images](images) contains the image binaries for the title screen and dashboard
8+
9+
* [main-sources](main-sources) contains the annotated source code
10+
11+
---
12+
13+
Right on, Commanders!
14+
15+
_Mark Moxon_
File renamed without changes.

1-source-files/fonts/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Font binaries for the BBC Master version of Elite
2+
3+
This folder contains the font binaries from the original game disc for the BBC Master version of Elite on Ian Bell's personal website.
4+
5+
* P.FONT.bin is the standard BBC Micro font, extracted from the MOS ROM
6+
7+
---
8+
9+
Right on, Commanders!
10+
11+
_Mark Moxon_
File renamed without changes.

binaries/README.md renamed to 1-source-files/images/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
# Extracted binaries for the BBC Master version of Elite
1+
# Image binaries for the BBC Master version of Elite
22

33
This folder contains the image binaries from the original game disc for the BBC Master version of Elite on Ian Bell's personal website.
44

5+
* P.DIALS2P.bin is the dashboard image
6+
57
---
68

79
Right on, Commanders!
File renamed without changes.

sources/elite-data.asm renamed to 1-source-files/main-sources/elite-data.asm

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@
2121
\
2222
\ This source file produces the following binary file:
2323
\
24-
\ * output/BDATA.bin
24+
\ * BDATA.bin
2525
\
2626
\ ******************************************************************************
2727

28-
INCLUDE "sources/elite-header.h.asm"
28+
INCLUDE "1-source-files/main-sources/elite-header.h.asm"
2929

3030
CPU 1 \ Switch to 65SC12 assembly, as this code runs on a
3131
\ BBC Master
@@ -75,7 +75,7 @@ ORG CODE%
7575

7676
.DIALS
7777

78-
INCBIN "binaries/P.DIALS2P.bin"
78+
INCBIN "1-source-files/images/P.DIALS2P.bin"
7979

8080
SKIP 256 \ These bytes appear to be unused, but they get moved to
8181
\ &7E00-&7EFF along with the dashboard
@@ -3221,9 +3221,9 @@ ENDMACRO
32213221
IF _MATCH_EXTRACTED_BINARIES
32223222

32233223
IF _SNG47
3224-
INCBIN "extracted/sng47/workspaces/DATA-align.bin"
3224+
INCBIN "4-reference-binaries/sng47/workspaces/DATA-align.bin"
32253225
ELIF _COMPACT
3226-
INCBIN "extracted/compact/workspaces/DATA-align.bin"
3226+
INCBIN "4-reference-binaries/compact/workspaces/DATA-align.bin"
32273227
ENDIF
32283228

32293229
ELSE
@@ -8928,9 +8928,9 @@ ENDIF
89288928

89298929
\ ******************************************************************************
89308930
\
8931-
\ Save output/BDATA.unprot.bin
8931+
\ Save BDATA.unprot.bin
89328932
\
89338933
\ ******************************************************************************
89348934

89358935
PRINT "S.BDATA ", ~CODE%, " ", ~P%, " ", ~LOAD%, " ", ~LOAD%
8936-
SAVE "output/BDATA.unprot.bin", CODE%, P%, LOAD%
8936+
SAVE "3-assembled-output/BDATA.unprot.bin", CODE%, P%, LOAD%

sources/elite-disc.asm renamed to 1-source-files/main-sources/elite-disc.asm

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,19 @@
2929
\
3030
\ ******************************************************************************
3131

32-
INCLUDE "sources/elite-header.h.asm"
32+
INCLUDE "1-source-files/main-sources/elite-header.h.asm"
3333

3434
_SNG47 = (_RELEASE = 1)
3535
_COMPACT = (_RELEASE = 2)
3636

3737
IF _SNG47
38-
PUTFILE "output/M128Elt.bin", "M128Elt", &FF0E00, &FF0E43
39-
PUTFILE "output/BDATA.bin", "BDATA", &000000, &000000
40-
PUTFILE "output/BCODE.bin", "BCODE", &000000, &000000
38+
PUTFILE "3-assembled-output/M128Elt.bin", "M128Elt", &FF0E00, &FF0E43
39+
PUTFILE "3-assembled-output/BDATA.bin", "BDATA", &000000, &000000
40+
PUTFILE "3-assembled-output/BCODE.bin", "BCODE", &000000, &000000
4141
ELIF _COMPACT
42-
PUTFILE "output/M128Elt.bin", "!BOOT", &000E00, &000E43
43-
PUTFILE "output/BDATA.bin", "BDATA", &001300, &001300
44-
PUTFILE "output/BCODE.bin", "ELITE", &001300, &002C6C
42+
PUTFILE "3-assembled-output/M128Elt.bin", "!BOOT", &000E00, &000E43
43+
PUTFILE "3-assembled-output/BDATA.bin", "BDATA", &001300, &001300
44+
PUTFILE "3-assembled-output/BCODE.bin", "ELITE", &001300, &002C6C
4545
ENDIF
4646

47-
PUTFILE "output/README.txt", "README", &FFFFFF, &FFFFFF
47+
PUTFILE "3-assembled-output/README.txt", "README", &FFFFFF, &FFFFFF

sources/elite-loader.asm renamed to 1-source-files/main-sources/elite-loader.asm

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@
2121
\
2222
\ This source file produces the following binary file:
2323
\
24-
\ * output/M128Elt.bin
24+
\ * M128Elt.bin
2525
\
2626
\ ******************************************************************************
2727

28-
INCLUDE "sources/elite-header.h.asm"
28+
INCLUDE "1-source-files/main-sources/elite-header.h.asm"
2929

3030
CPU 1 \ Switch to 65SC12 assembly, as this code runs on the
3131
\ BBC Master
@@ -1220,10 +1220,10 @@ ENDIF
12201220

12211221
\ ******************************************************************************
12221222
\
1223-
\ Save output/M128Elt.bin
1223+
\ Save M128Elt.bin
12241224
\
12251225
\ ******************************************************************************
12261226

12271227
PRINT "S.M128Elt ", ~CODE%, " ", ~P%, " ", ~LOAD%, " ", ~LOAD%
1228-
SAVE "output/M128Elt.bin", CODE%, P%, LOAD%
1228+
SAVE "3-assembled-output/M128Elt.bin", CODE%, P%, LOAD%
12291229

sources/elite-readme.asm renamed to 1-source-files/main-sources/elite-readme.asm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@
2121
\
2222
\ This source file produces the following binary file:
2323
\
24-
\ * output/README.txt
24+
\ * README.txt
2525
\
2626
\ ******************************************************************************
2727

28-
INCLUDE "sources/elite-header.h.asm"
28+
INCLUDE "1-source-files/main-sources/elite-header.h.asm"
2929

3030
_SNG47 = (_RELEASE = 1)
3131
_COMPACT = (_RELEASE = 2)
@@ -57,5 +57,5 @@ ENDIF
5757
EQUS "---------------------------------------"
5858
EQUB 10, 13
5959

60-
SAVE "output/README.txt", readme, P%
60+
SAVE "3-assembled-output/README.txt", readme, P%
6161

0 commit comments

Comments
 (0)