-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.sh
executable file
·34 lines (28 loc) · 1.18 KB
/
test.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
# Warning: this script overwrites files.
clear
rm -f test-out/*.csv
rm -f test-out/*.txt
rm -f test-out/*.png
python3 cdl_summary.py \
-r16 -b16 cdl/gamegenie.cdl > test-out/gamegenie-prg-default.csv
python3 cdl_summary.py \
-r16 -b16 -ft cdl/gamegenie.cdl > test-out/gamegenie-prg-default.txt
python3 cdl_summary.py \
-r16 -b16 -m -fc cdl/gamegenie.cdl > test-out/gamegenie-prg-nomethod.csv
python3 cdl_summary.py \
-r16 -b16 -m -ft cdl/gamegenie.cdl > test-out/gamegenie-prg-nomethod.txt
python3 cdl_summary.py \
-r32 -b32 -ft cdl/smb1-w.cdl > test-out/smb-prg-default.txt
python3 cdl_summary.py \
-r32 -b32 -m -ft cdl/smb1-w.cdl > test-out/smb-prg-nomethod.txt
python3 cdl_summary.py \
-r32 -pc -b8 -ft cdl/smb1-w.cdl > test-out/smb-chr.txt
python3 cdl_summary.py \
-r128 -pp -b16 -ft cdl/blastermaster-u.cdl > test-out/blaster-prg.txt
python3 cdl_summary.py \
-r128 -pc -b4 -o4 -ft cdl/blastermaster-u.cdl > test-out/blaster-chr.txt
python3 cdl2png.py cdl/gamegenie.cdl test-out/gamegenie.png
python3 cdl2png.py cdl/smb1-w.cdl test-out/smb1-w.png
python3 cdl2png.py cdl/blastermaster-u.cdl test-out/blastermaster-u.png
echo "=== test-out/ ==="
ls -1 test-out/