-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
162 lines (151 loc) · 7.82 KB
/
Makefile
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
.PHONY: clean video scroller build-loader
KICKASS = /usr/bin/java -jar /home/honza/projects/c64/pc-tools/kickass/KickAss.jar
D64_FILE = meetro-side-a.d64
D64_FILEB = meetro-side-b.d64
clean:
rm -f *.dbg *.prg *.sym *.vs .source.txt chunk.tmp *.vsf meetro.din
rm -rf data-compressed
build-loader:
EXTCONFIGPATH=`pwd` && \
cp -f loaderconfig.inc tools/krill194/loader/include/config.inc && \
cd tools/krill194/loader/src && \
make prg INSTALL=0e00 RESIDENT=9000 ZP=57 && \
cp ../build/install-c64.prg ../../../../install-c64.prgx && \
cp ../build/loader-c64.prg ../../../../loader-c64.prgx && \
cd ${EXTCONFIGPATH}
keyb:
$(KICKASS) keyb.asm
fontm:
$(KICKASS) font_matrix.asm
video:
$(KICKASS) video.asm
scroller:
$(KICKASS) scroller.asm
$(KICKASS) planety_bmpdata.asm
$(KICKASS) cml_bmpdata.asm
titles:
$(KICKASS) titles.asm
prgs: keyb fontm video scroller
prgsb: titles
diska: clean prgs
rm -f $(D64_FILE)
mkdir -p data-compressed
tools/tscrunch.py -p -x 0810 keyb.prg keyb.prg
tools/tscrunch.py -i data/BA.bin data-compressed/BA.bin
tools/tscrunch.py -i data/BB.bin data-compressed/BB.bin
tools/tscrunch.py -i data/BC.bin data-compressed/BC.bin
tools/tscrunch.py -i data/BD.bin data-compressed/BD.bin
tools/tscrunch.py -i data/BE.bin data-compressed/BE.bin
tools/tscrunch.py -i data/BF.bin data-compressed/BF.bin
tools/tscrunch.py -i data/BG.bin data-compressed/BG.bin
tools/tscrunch.py -i data/BH.bin data-compressed/BH.bin
tools/tscrunch.py -i data/BI.bin data-compressed/BI.bin
tools/tscrunch.py -i data/BJ.bin data-compressed/BJ.bin
tools/tscrunch.py -i data/BK.bin data-compressed/BK.bin
tools/tscrunch.py -i data/BL.bin data-compressed/BL.bin
tools/tscrunch.py -i data/BM.bin data-compressed/BM.bin
tools/tscrunch.py -i data/BN.bin data-compressed/BN.bin
tools/tscrunch.py -i data/F5.bin data-compressed/F5.bin
tools/tscrunch.py -i font_matrix.prg font_matrix.prg
tools/tscrunch.py -i data/ucieczka.music data-compressed/ucieczka.music
tools/tscrunch.py -i video.prg video.prg
tools/tscrunch.py -i scroller.prg scroller.prg
tools/tscrunch.py -i planet_bitmap.prg planet_bitmap.prg
# tools/tscrunch.py -i planet_color.prg planet_color.prg
tools/tscrunch.py -i cml_bitmap.prg cml_bitmap.prg
tools/tscrunch.py -i cml_color.prg cml_color.prg
tools/tscrunch.py -i data/video_font.bin data-compressed/video_font.bin
tools/tscrunch.py -i data/search-font.bin data-compressed/search-font.bin
tools/tscrunch.py -i data/results-text.bin data-compressed/results-text.bin
tools/tscrunch.py -i data/results-vert.bin data-compressed/results-vert.bin
c1541 -format " - hondani - ,'24 A" d64 $(D64_FILE)
c1541 -attach $(D64_FILE) -write keyb.prg 'the demo'
c1541 -attach $(D64_FILE) -write data-compressed/BA.bin ba
c1541 -attach $(D64_FILE) -write data-compressed/BB.bin bb
c1541 -attach $(D64_FILE) -write data-compressed/BC.bin bc
c1541 -attach $(D64_FILE) -write data-compressed/BD.bin bd
c1541 -attach $(D64_FILE) -write data-compressed/BE.bin be
c1541 -attach $(D64_FILE) -write data-compressed/BF.bin bf
c1541 -attach $(D64_FILE) -write data-compressed/BG.bin bg
c1541 -attach $(D64_FILE) -write data-compressed/BH.bin bh
c1541 -attach $(D64_FILE) -write data-compressed/BI.bin bi
c1541 -attach $(D64_FILE) -write data-compressed/BJ.bin bj
c1541 -attach $(D64_FILE) -write data-compressed/BK.bin bk
c1541 -attach $(D64_FILE) -write data-compressed/BL.bin bl
c1541 -attach $(D64_FILE) -write data-compressed/BM.bin bm
c1541 -attach $(D64_FILE) -write data-compressed/BN.bin bn
c1541 -attach $(D64_FILE) -write data-compressed/F5.bin f5
c1541 -attach $(D64_FILE) -write font_matrix.prg fontm
c1541 -attach $(D64_FILE) -write data-compressed/ucieczka.music music
c1541 -attach $(D64_FILE) -write video.prg video
c1541 -attach $(D64_FILE) -write scroller.prg scrll
c1541 -attach $(D64_FILE) -write planet_bitmap.prg pbtmp
c1541 -attach $(D64_FILE) -write planet_color.prg pcolr
c1541 -attach $(D64_FILE) -write cml_bitmap.prg cbtmp
c1541 -attach $(D64_FILE) -write cml_color.prg ccolr
c1541 -attach $(D64_FILE) -write data-compressed/video_font.bin vfont
c1541 -attach $(D64_FILE) -write data-compressed/search-font.bin rfont
c1541 -attach $(D64_FILE) -write data-compressed/results-text.bin restx
c1541 -attach $(D64_FILE) -write data-compressed/results-vert.bin vertx
diskb: clean prgsb
rm -f $(D64_FILEB)
mkdir -p datab-compressed
tools/tscrunch.py -i data/ucieczka.music datab-compressed/ucieczka.music
tools/tscrunch.py -i titles.prg titles.prg
tools/tscrunch.py -i datab/vidfont.bin datab-compressed/VF.bin
tools/tscrunch.py -i datab/font6.bin datab-compressed/F6.bin
tools/tscrunch.py -i datab/A0.bin datab-compressed/A0.bin
tools/tscrunch.py -i datab/A1.bin datab-compressed/A1.bin
tools/tscrunch.py -i datab/A2.bin datab-compressed/A2.bin
tools/tscrunch.py -i datab/A3.bin datab-compressed/A3.bin
tools/tscrunch.py -i datab/A4.bin datab-compressed/A4.bin
tools/tscrunch.py -i datab/B0.bin datab-compressed/B0.bin
tools/tscrunch.py -i datab/B1.bin datab-compressed/B1.bin
tools/tscrunch.py -i datab/B2.bin datab-compressed/B2.bin
tools/tscrunch.py -i datab/B3.bin datab-compressed/B3.bin
tools/tscrunch.py -i datab/B4.bin datab-compressed/B4.bin
tools/tscrunch.py -i datab/C0.bin datab-compressed/C0.bin
tools/tscrunch.py -i datab/C1.bin datab-compressed/C1.bin
tools/tscrunch.py -i datab/C2.bin datab-compressed/C2.bin
tools/tscrunch.py -i datab/C3.bin datab-compressed/C3.bin
tools/tscrunch.py -i datab/C4.bin datab-compressed/C4.bin
tools/tscrunch.py -i datab/D0.bin datab-compressed/D0.bin
tools/tscrunch.py -i datab/D1.bin datab-compressed/D1.bin
tools/tscrunch.py -i datab/D2.bin datab-compressed/D2.bin
tools/tscrunch.py -i datab/D3.bin datab-compressed/D3.bin
tools/tscrunch.py -i datab/D4.bin datab-compressed/D4.bin
tools/tscrunch.py -i datab/E0.bin datab-compressed/E0.bin
tools/tscrunch.py -i datab/E1.bin datab-compressed/E1.bin
tools/tscrunch.py -i datab/E2.bin datab-compressed/E2.bin
tools/tscrunch.py -i datab/E3.bin datab-compressed/E3.bin
tools/tscrunch.py -i datab/E4.bin datab-compressed/E4.bin
c1541 -format " - hondani - ,'24 B" d64 $(D64_FILEB)
c1541 -attach $(D64_FILEB) -write datab-compressed/ucieczka.music music
c1541 -attach $(D64_FILEB) -write titles.prg titles
c1541 -attach $(D64_FILEB) -write datab-compressed/VF.bin vf
c1541 -attach $(D64_FILEB) -write datab-compressed/F6.bin f6
c1541 -attach $(D64_FILEB) -write datab-compressed/A0.bin a0
c1541 -attach $(D64_FILEB) -write datab-compressed/A1.bin a1
c1541 -attach $(D64_FILEB) -write datab-compressed/A2.bin a2
c1541 -attach $(D64_FILEB) -write datab-compressed/A3.bin a3
c1541 -attach $(D64_FILEB) -write datab-compressed/A4.bin a4
c1541 -attach $(D64_FILEB) -write datab-compressed/B0.bin b0
c1541 -attach $(D64_FILEB) -write datab-compressed/B1.bin b1
c1541 -attach $(D64_FILEB) -write datab-compressed/B2.bin b2
c1541 -attach $(D64_FILEB) -write datab-compressed/B3.bin b3
c1541 -attach $(D64_FILEB) -write datab-compressed/B4.bin b4
c1541 -attach $(D64_FILEB) -write datab-compressed/C0.bin c0
c1541 -attach $(D64_FILEB) -write datab-compressed/C1.bin c1
c1541 -attach $(D64_FILEB) -write datab-compressed/C2.bin c2
c1541 -attach $(D64_FILEB) -write datab-compressed/C3.bin c3
c1541 -attach $(D64_FILEB) -write datab-compressed/C4.bin c4
c1541 -attach $(D64_FILEB) -write datab-compressed/D0.bin d0
c1541 -attach $(D64_FILEB) -write datab-compressed/D1.bin d1
c1541 -attach $(D64_FILEB) -write datab-compressed/D2.bin d2
c1541 -attach $(D64_FILEB) -write datab-compressed/D3.bin d3
c1541 -attach $(D64_FILEB) -write datab-compressed/D4.bin d4
c1541 -attach $(D64_FILEB) -write datab-compressed/E0.bin e0
c1541 -attach $(D64_FILEB) -write datab-compressed/E1.bin e1
c1541 -attach $(D64_FILEB) -write datab-compressed/E2.bin e2
c1541 -attach $(D64_FILEB) -write datab-compressed/E3.bin e3
c1541 -attach $(D64_FILEB) -write datab-compressed/E4.bin e4