ptrs
5.89 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
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
00000000 OVERLAY_0_OFFSET
00000000 OVERLAY_TAB_OFFSET
00000000 RSP_PDATA_OFFSET
00000000 clipDrawLoop
00000000 foundFirstIn
00000000 foundFirstOut
00000000 foundIn
00000000 foundOut
00000000 nextClip
00000002 RSP_STATE_PERSPNORM
00000004 RSP_STATE_RENDER
00000006 RSP_STATE_RENDER_L
00000007 RSP_STATE_TRI
00000008 OVERLAY_1_OFFSET
00000008 OVERLAY_NEWTON
00000008 RSP_STATE_OTHER_H
0000000c RSP_STATE_OTHER_L
00000010 OVERLAY_2_OFFSET
00000010 OVERLAY_CLIP
00000010 RSP_STATE_TEX_CMD
00000011 NUMBER_OF_IMM
00000011 RSP_STATE_TEX_LOD
00000012 RSP_STATE_TEX_TILE
00000014 RSP_STATE_TEX_SCALE_S
00000016 RSP_STATE_TEX_SCALE_T
00000018 OVERLAY_3_OFFSET
00000018 OVERLAY_LIGHT
00000018 RSP_STATE_DRAM_OUTP
00000018 RSP_STATE_FIFO_OUTP
0000001c RSP_STATE_L_LEN
00000020 OVERLAY_4_OFFSET
00000020 OVERLAY_DONE
00000020 RSP_STATE_DRAM_STACK
00000024 RSP_STATE_MMTX_STACK_P
00000026 TASKYIELD
00000028 RSP_STATE_XOFF
00000028 VCONST_SCREENCLAMP
0000002a RSP_STATE_YOFF
0000002c RSP_STATE_HCURVE
0000002e RSP_STATE_VCURVE
00000030 RSP_STATE_DRAM_OUT_LENP
00000030 VCONST_OFFSET
00000034 RSP_STATE_VPTR_COEFF
00000038 RSP_STATE_DL_N
00000040 RSP_STATE_DRAM_OUT_LEN
00000040 RSP_STATE_FIFO_BUF_TOP
00000040 VCONST1_OFFSET
00000044 RSP_STATE_FIFO_BUF_END
0000004a RSP_STATE_FIFO_DMA2BUF
0000004c RSP_STATE_MMTX_STACK_MAX
00000050 VOPENGL_OFFSET
00000060 VNEWT_OFFSET
00000070 CLIP_SELECT
00000076 IMM_JMP_ADD
000000a0 DOLIGHT
000000a8 CLIPMASKS
000000a8 CLIP_MASKS_TABLE
000000a8 REJECT_RATIO
000000b0 REJECT_FLAG
000000b4 ANCHOR
000000b6 TASKDONE
000000b8 OPTYPE_JMP_OFFSET
000000ba GFXDONE
000000c0 DMA_JMP_OFFSET
000000d4 IMM_JMP_OFFSET
000000f6 CLIP_STATE_TABLE
000000f8 FOUND_OUT
000000fe CLIPDRAWLOOP
00000100 DOCLIP
00000102 NEXTCLIP
00000104 DMAWAITDL
00000106 PROGRAM_PAD_OFFSET
00000106 RETURNJUMP
00000108 RSP_STATEP_YIELD_STORE
0000010c RSP_STATEP_RDPHALF
00000110 RSP_STATEP_PERSPNORM_H
00000110 RSP_STATE_OFFSET
00000112 RSP_STATEP_PERSPNORM
00000114 RSP_STATEP_RENDER
00000116 RSP_STATEP_RENDER_L
00000117 RSP_STATEP_TRI
00000118 RSP_STATEP_OTHER_H
0000011c RSP_STATEP_OTHER_L
00000120 RSP_STATEP_TEX_CMD
00000121 RSP_STATEP_TEX_LOD
00000122 RSP_STATEP_TEX_TILE
00000123 RSP_STATEP_TEX_PAD
00000124 RSP_STATEP_TEX_SCALE_S
00000126 RSP_STATEP_TEX_SCALE_T
00000128 RSP_STATEP_DRAM_OUTP
00000128 RSP_STATEP_FIFO_OUTP
0000012c RSP_L_NUM
0000012c RSP_STATEP_L_LEN
00000130 RSP_STATEP_DRAM_STACK
00000134 RSP_STATEP_MMTX_STACK_P
00000138 RSP_STATEP_TXTR_ATTR
00000138 RSP_STATEP_XOFF
0000013a RSP_STATEP_YOFF
0000013c RSP_STATEP_HCURVE
0000013e RSP_STATEP_VCURVE
00000140 RSP_DLINPUT_SIZE8
00000140 RSP_STATEP_DRAM_OUT_LENP
00000144 RSP_STATEP_VPTR_COEFF
00000148 RSP_STATEP_DL_N
00000150 RSP_STATEP_DRAM_OUT_LEN
00000150 RSP_STATEP_FIFO_BUF_TOP
00000154 RSP_STATEP_FIFO_BUF_END
00000158 RETURNJUMP2
0000015a RSP_STATEP_FIFO_DMA2BUF
0000015c RSP_STATEP_MMTX_STACK_MAX
00000160 RSP_SEG_OFFSET
000001a0 RSP_LIGHTS_OFFSET
000001a0 RSP_SELECT_S
000001b0 RSP_L_BASE
000001b0 RSP_R_LOOKATX
000001d0 RSP_R_LOOKATY
000001f0 RSP_LIGHT_COL
000001f0 RSP_L_0
00000208 VCONST3_OFFSET
00000210 RSP_L_1
00000230 RSP_L_2
00000250 RSP_L_3
00000270 RSP_L_4
00000290 RSP_L_5
000002b0 RSP_L_6
000002c0 RSP_OUTPUT_SIZE8
000002d0 RSP_L_7
000002f0 MOVEMEM_TBL
0000030e MOVEWORD_TBL
00000320 RSP_VIEWPORT_OFFSET
00000330 RSP_FOG_FACTOR
00000336 RSP_DLSTACK_OFFSET
00000380 RSP_CURR_MMTX_OFFSET
00000380 RSP_END_INITIALIZE
00000390 RSP_CURR_MMTX_OFFSET_2
000003a0 RSP_CURR_MMTX_OFFSET_3
000003b0 RSP_CURR_MMTX_OFFSET_4
000003c0 RSP_CURR_PMTX_OFFSET
00000400 RSP_CURR_MPMTX_OFFSET
00000410 RSP_CURR_MPMTX_OFFSET_2
00000420 RSP_CURR_MPMTX_OFFSET_3
00000430 RSP_CURR_MPMTX_OFFSET_4
00000440 RSP_POINTS_OFFSET
00000940 RSP_DLINPUT_OFFSET
00000a00 RSP_POINTS_SIZE
00000a80 RSP_DLCOUNT_INIT
00000a80 RSP_INPUT_OFFSET
00000b80 RSP_SETUP_TMP_OFFSET
00000b80 RSP_YIELD_SAVE_LEN1
00000be0 RSP_CLIP_TMP_OFFSET
00000c00 RSP_YIELD_SAVE_LEN
00000c80 RSP_OUTPUT_OFFSET
00000f40 RSP_OUTPUT_END
00000f80 RSP_SCRATCH_FLIGHT
00000f80 RSP_SCRATCH_OFFSET
00000fc0 RSP_END_DMEM
00000fc0 RSP_TASK_OFFSET
04001000 NewtonDiv
04001000 RSPBOOTBASE
04001020 Newtons
04001058 DMAWaitDL
04001060 DecodeDL
04001064 DecodeDL1
04001068 DecodeDL2
04001080 TASKBASE
04001090 ContDecode
0400109c GfxDone
040010ac noYield
040010bc TaskDone
040010c0 RSPYield
040010c8 LoadDL
040010ec loadOverlaySR
040010f0 loadOverlay
0400110c AddrFixup
04001128 OutputClose
0400112c checkFIFO
04001158 WrapBuffer
04001164 AdvanceCurrent
04001178 CurrentFit
04001194 CloseDMA
040011b0 CloseDone
040011b8 doIMM
040011c8 case_G_TRI1
040011d8 case_G_POPMTX
0400120c case_G_MOVEWORD
04001224 case_G_TEXTURE
04001248 case_G_SETOTHERMODE_H
04001250 case_G_SETOTHERMODE_L
04001254 doOtherMode
0400128c case_G_CULLDL
040012ac VolCulLoop
040012c0 case_G_ENDDL
040012e0 case_G_BRANCH_Z
040012f8 case_G_SETGEOMETRYMODE
04001308 case_G_CLEARGEOMETRYMODE
0400131c case_G_MODIFYVTX
0400133c case_G_RDPHALF_1
04001344 case_G_RDPHALF_2
0400134c doRDP
04001368 doRDPSend
0400139c doDMA
040013b4 case_G_VTX
040013f8 xfm_loop
04001434 lightReturn
0400147c lightReturn2
04001670 roundVertex
040016ec xfm_done
040016f4 case_G_MTX
04001738 mtx_PushDone
04001750 mtx_Store
0400175c mtx_MxP
0400176c mtx_StartProj
04001778 mtx_Mul
0400179c MatCat
040017a0 matCatHalf
040017a8 matCatRow
04001800 getScaleTrans
04001828 getMatrix
0400183c getMatrix3
04001870 case_G_MOVEMEM
04001880 case_G_DL
040018a8 G_DL_noPush
040018c0 startClip
040018c8 taskDone
040018cc doLight
040018d8 doInit
040018dc doClip
0400193c restart_fifo
04001958 set_fifo
04001960 NoRestart
040019cc RSPYieldRestart
04001a78 case_G_TRI2
04001a78 clipAndSetup
04001ad0 beginSetup
04001ba4 Draw1stTri
04001bec smoothShade1
04001c08 flatShade1
04001c84 useTexture
04001d80 noTexture
04001ee4 outputZBUF
04001f3c Draw2ndTri
04001f4c End1stTri_NoZ
04001f68 EndOfBody
04001f80 case_G_SWITCH_UCODE
04001fc4 DMAwait
04001fd4 DMAread
04001fd8 DMAproc
04001ff8 DMAWrite
04002000 EndOfProg
fffffbc0 RSP_POINTS_OFFSET_RV
fffffff8 RSP_STATE_YIELD_STORE
fffffffc RSP_STATE_RDPHALF