spec
3.76 KB
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
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
#include "gng.h"
#include "../rdp/dldriver.h"
/*
* ROM spec file. We define two wave objects; the first wave is a small boot
* program (loaded at the standard boot location (0x80200050). The boot wave
* then loads the second wave low in rdram memory, so that we can have enough
* room for a 2MB frame buffer, allowing us to do 1K x 1K rendering.
*/
beginseg
name "boot"
address 0x80200000
flags BOOT OBJECT
entry boot
stack bootStack + STACKSIZE
include "bootsegment.o"
endseg
beginseg
name "code"
flags OBJECT
address 0x80000400
include "testDriverCodeSegment.o"
#if 0 /* debug */
include "main.o"
include "controller.o"
include "sys_misc.o"
include "testDriver.o"
include "zaru.o"
include "audiotest.o"
include "int1.o"
include "../audio/audio.o"
include "../gng_report/gng_report.o"
include "../gng_report/font.o"
include "../pi/pi.o"
include "../pif/pif.o"
include "../rdp/rdpCodeSegment.o"
include "../rsp/rsp.o"
include "../cpu/cpuseg.o"
include "../uji/ujiCodeSegment.o"
include "../video/vi.o"
#endif
include "$(ROOT)/usr/lib/PR/rspboot.o"
include "$(ROOT)/usr/lib/PR/gspLine3D.o"
include "$(ROOT)/usr/lib/PR/gspLine3D.dram.o"
include "$(ROOT)/usr/lib/PR/gspFast3D.o"
include "$(ROOT)/usr/lib/PR/gspFast3D.dram.o"
include "$(ROOT)/usr/lib/PR/tspManTest1.o"
include "$(ROOT)/usr/lib/PR/tspManTest1.dram.o"
include "$(ROOT)/usr/lib/PR/aspMain.o"
endseg
beginseg
name "cfb"
flags OBJECT
address 0x80300000
include "cfb.o"
endseg
beginseg
/*
* $B$3$N%;%0%a%s%H$O%9%?%F%#%C%/%;%0%a%s%H$N%m!<%I%(%j%"$H(B
* $B%*!<%P!<%i%C%W$7$F$$$^$9!#(B
*/
name "cfb_dash"
flags OBJECT
address 0x80200000
include "cfb_dash.o"
endseg
beginseg
name "user"
flags OBJECT
address 0x003C0000
include "../cpu/user/userseg.o"
endseg
beginseg
name "static"
flags OBJECT
number STATIC_SEGMENT
include "../rdp/rdpStaticSegment.o"
endseg
beginseg
name "static1"
flags OBJECT
number STATIC_SEGMENT1
include "../rdp/rdp6M/rdp6M_static.o"
endseg
beginseg
name "static2"
flags OBJECT
number STATIC_SEGMENT2
include "../rdp/rdp8M/rdp8M_static.o"
endseg
beginseg
name "rspcode"
flags RAW
include "../rsp/rspcode"
endseg
beginseg
name "bank"
flags RAW
include "../audio/audAssets/gngBank.ctl"
endseg
beginseg
name "table"
flags RAW
include "../audio/audAssets/gngBank.tbl"
endseg
beginseg
name "seq1"
flags RAW
include "../audio/audAssets/noteLeft.seq"
endseg
beginseg
name "seq2"
flags RAW
include "../audio/audAssets/noteRight.seq"
endseg
beginseg
name "seq3"
flags RAW
include "../audio/audAssets/gonogo1.seq"
endseg
beginseg
name "subway"
flags RAW
include "../audio/audAssets/subway.seq"
endseg
beginseg
name "PI_num_seq"
flags RAW
include "../pi/NumberSequence"
endseg
/* This segment is for playing sound */
beginseg
name "sfxbank"
flags RAW
include "../audio/audAssets/sfx.ctl"
endseg
/* This segment is for playing sound too. */
beginseg
name "sfxtable"
flags RAW
include "../audio/audAssets/sfx.tbl"
endseg
/* $B#C#F#B$N%F%9%HMQ%(%j%"(B */
beginseg
/*
* $B$3$N%;%0%a%s%H$O%9%?%F%#%C%/%;%0%a%s%H$N%m!<%I%(%j%"$H(B
* $B%*!<%P!<%i%C%W$7$F$$$^$9!#(B
*/
name "cfb_testarea"
flags OBJECT
address 0x80180000
include "cfb_testarea.o"
endseg
beginwave
name "boot"
include "boot"
endwave
beginwave
name "gng"
include "code"
include "cfb"
include "cfb_dash"
include "cfb_testarea" /* Each Segment is overwrapped */
include "user"
include "static"
include "static1"
include "static2"
include "rspcode"
include "bank"
include "table"
include "seq1"
include "seq2"
include "seq3"
include "subway"
include "PI_num_seq"
include "sfxbank"
include "sfxtable"
endwave