-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sh
executable file
·55 lines (52 loc) · 3.41 KB
/
build.sh
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
52
53
54
55
clear
echo "*** Building EMULATOR-ONLY ROMs ***"
echo "-> MD"
tools/AS/asl main.asm -i "." -olist out/emu/rom_emu_md.lst -q -xx -A -L -D MCD=0,MARS=0,MARSCD=0,PICO=0,EMU=1
python3 "tools/p2bin.py" main.p out/emu/rom_emu_md.bin
echo "-> PICO"
tools/AS/asl main.asm -i "." -olist out/emu/rom_emu_pico.lst -q -xx -A -L -D MCD=0,MARS=0,MARSCD=0,PICO=1,EMU=1
python3 "tools/p2bin.py" main.p out/emu/rom_emu_pico.bin
echo "-> 32X"
tools/AS/asl main.asm -i "." -olist out/emu/rom_emu_mars.lst -q -xx -A -L -D MCD=0,MARS=1,MARSCD=0,PICO=0,EMU=1
python3 "tools/p2bin.py" main.p out/emu/rom_emu_mars.32x
echo "-> SCD"
tools/AS/asl main.asm -i "." -olist out/emu/rom_emu_mcd_j.lst -q -xx -A -L -D MCD=1,MARS=0,MARSCD=0,PICO=0,CDREGION=0,EMU=1
python3 "tools/p2bin.py" main.p out/emu/rom_emu_mcd_j.iso
tools/AS/asl main.asm -i "." -olist out/emu/rom_emu_mcd_u.lst -q -xx -A -L -D MCD=1,MARS=0,MARSCD=0,PICO=0,CDREGION=1,EMU=1
python3 "tools/p2bin.py" main.p out/emu/rom_emu_mcd_u.iso
tools/AS/asl main.asm -i "." -olist out/emu/rom_emu_mcd_e.lst -q -xx -A -L -D MCD=1,MARS=0,MARSCD=0,PICO=0,CDREGION=2,EMU=1
python3 "tools/p2bin.py" main.p out/emu/rom_emu_mcd_e.iso
echo "-> CD32X"
tools/AS/asl main.asm -i "." -olist out/emu/rom_emu_marscd_j.lst -q -xx -A -L -D MCD=0,MARS=0,MARSCD=1,PICO=0,CDREGION=0,EMU=1
python3 "tools/p2bin.py" main.p out/emu/rom_emu_marscd_j.iso
tools/AS/asl main.asm -i "." -olist out/emu/rom_emu_marscd_u.lst -q -xx -A -L -D MCD=0,MARS=0,MARSCD=1,PICO=0,CDREGION=1,EMU=1
python3 "tools/p2bin.py" main.p out/emu/rom_emu_marscd_u.iso
tools/AS/asl main.asm -i "." -olist out/emu/rom_emu_marscd_e.lst -q -xx -A -L -D MCD=0,MARS=0,MARSCD=1,PICO=0,CDREGION=2,EMU=1
python3 "tools/p2bin.py" main.p out/emu/rom_emu_marscd_e.iso
echo "*** Building REAL HARDWARE ROMs ***"
echo "-> MD"
tools/AS/asl main.asm -i "." -olist out/realhw/rom_md.lst -q -xx -A -L -D MCD=0,MARS=0,MARSCD=0,PICO=0,EMU=0
python3 "tools/p2bin.py" main.p out/realhw/rom_md.bin
echo "-> PICO"
tools/AS/asl main.asm -i "." -olist out/realhw/rom_pico.lst -q -xx -A -L -D MCD=0,MARS=0,MARSCD=0,PICO=1,EMU=0
python3 "tools/p2bin.py" main.p out/realhw/rom_pico.bin
echo "-> 32X"
tools/AS/asl main.asm -i "." -olist out/realhw/rom_mars.lst -q -xx -A -L -D MCD=0,MARS=1,MARSCD=0,PICO=0,EMU=0
python3 "tools/p2bin.py" main.p out/realhw/rom_mars.32x
echo "-> SCD"
tools/AS/asl main.asm -i "." -olist out/realhw/rom_mcd_j.lst -q -xx -A -L -D MCD=1,MARS=0,MARSCD=0,PICO=0,CDREGION=0,EMU=0
python3 "tools/p2bin.py" main.p out/realhw/rom_mcd_j.iso
tools/AS/asl main.asm -i "." -olist out/realhw/rom_mcd_u.lst -q -xx -A -L -D MCD=1,MARS=0,MARSCD=0,PICO=0,CDREGION=1,EMU=0
python3 "tools/p2bin.py" main.p out/realhw/rom_mcd_u.iso
tools/AS/asl main.asm -i "." -olist out/realhw/rom_mcd_e.lst -q -xx -A -L -D MCD=1,MARS=0,MARSCD=0,PICO=0,CDREGION=2,EMU=0
python3 "tools/p2bin.py" main.p out/realhw/rom_mcd_e.iso
echo "-> CD32X"
tools/AS/asl main.asm -i "." -olist out/realhw/rom_marscd_j.lst -q -xx -A -L -D MCD=0,MARS=0,MARSCD=1,PICO=0,CDREGION=0,EMU=0
python3 "tools/p2bin.py" main.p out/realhw/rom_marscd_j.iso
tools/AS/asl main.asm -i "." -olist out/realhw/rom_marscd_u.lst -q -xx -A -L -D MCD=0,MARS=0,MARSCD=1,PICO=0,CDREGION=1,EMU=0
python3 "tools/p2bin.py" main.p out/realhw/rom_marscd_u.iso
tools/AS/asl main.asm -i "." -olist out/realhw/rom_marscd_e.lst -q -xx -A -L -D MCD=0,MARS=0,MARSCD=1,PICO=0,CDREGION=2,EMU=0
python3 "tools/p2bin.py" main.p out/realhw/rom_marscd_e.iso
# delete out files
rm main.p
# rm main.h