INCLUDE "1-source-files/main-sources/elite-build-options.asm"
_SOURCE_DISC = (_VARIANT = 1)
_SNG45 = (_VARIANT = 2)
_EXECUTIVE = (_VARIANT = 3)
GUARD &F800
CODE% = &1000
LOAD% = &1000
ORG CODE%
IF _SNG45
SKIP 12
ELIF _EXECUTIVE
SKIP 14
ELIF _SOURCE_DISC
SKIP 12
ENDIF
.elitea
PRINT "elitea = ", ~P%
INCBIN "3-assembled-output/ELTA.bin"
.eliteb
PRINT "eliteb = ", ~P%
INCBIN "3-assembled-output/ELTB.bin"
.elitec
PRINT "elitec = ", ~P%
INCBIN "3-assembled-output/ELTC.bin"
.elited
PRINT "elited = ", ~P%
INCBIN "3-assembled-output/ELTD.bin"
.elitee
PRINT "elitee = ", ~P%
INCBIN "3-assembled-output/ELTE.bin"
.elitef
PRINT "elitef = ", ~P%
INCBIN "3-assembled-output/ELTF.bin"
.eliteg
PRINT "eliteg = ", ~P%
INCBIN "3-assembled-output/ELTG.bin"
.eliteh
PRINT "eliteh = ", ~P%
INCBIN "3-assembled-output/ELTH.bin"
.elitei
PRINT "elitei = ", ~P%
INCBIN "3-assembled-output/ELTI.bin"
.elitej
PRINT "elitej = ", ~P%
INCBIN "3-assembled-output/ELTJ.bin"
F% = P%
PRINT "F% = ", ~F%
PRINT "P% = ", ~P%
.words
PRINT "words = ", ~P%
INCBIN "3-assembled-output/WORDS.bin"
.ships
PRINT "ships = ", ~P%
INCBIN "3-assembled-output/SHIPS.bin"
SKIP 244
PRINT "P% = ", ~P%
PRINT "S.P.CODE ", ~LOAD%, " ", ~(F% + &0400 + &2200), " ", ~LOAD%, " ", ~LOAD%
SAVE "3-assembled-output/P.CODE.unprot.bin", CODE%, (F% + &0400 + &2200), LOAD%