-
Notifications
You must be signed in to change notification settings - Fork 2
/
banks.html
450 lines (445 loc) · 17.2 KB
/
banks.html
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
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
<!DOCTYPE HTML>
<html>
<head>
<meta name="description" content="View conflicts in your VRAM BG allocation for your NDS homebrew. This is the worksheet you need to satisfy in order to ensure non-corrupted BG graphics." />
<meta name="keywords" content="nds, vram, banking, homebrew, selector, nintendo ds" />
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<link rel="stylesheet" href="banks.css">
<script type="text/javascript" src="banks.js"></script>
<title>VRAM Banks Selector</title>
</head>
<body onLoad="loadp()"><div id="Content">
<h1>NDS Homebrew VRAM Banks Selector</h1>
<h4>For the VRAM BG Allocation Conflict Viewer tool <a href="vram.html">click here</a></h4>
<h4>Please contact mtheall in #dsdev on irc.blitzed.org regarding errors, discrepancies, suggestions, or bugs with this tool</h4>
<h4>Link for sharing: <span id='ShareLink'>Loading...</span></h4>
<hr />
<h2 id='Notify'>None</h2>
<table class='main'>
<tr>
<td class='main' style='width=500px'>
<form name='banks'>
<table style='width=720px'>
<thead>
<tr>
<td rowspan='2' colspan='4' class='left'>Function</td>
<td colspan='9' class='left'>VRAM Bank</td>
</tr>
<tr>
<td>A 128KB</td>
<td>B 128KB</td>
<td>C 128KB</td>
<td>D 128KB</td>
<td>E 64KB</td>
<td>F 16KB</td>
<td>G 16KB</td>
<td>H 32KB</td>
<td>I 16KB</td>
</tr>
</thead>
<!-- LCD Mode - ARM9 Memory Mapped -->
<tr><td colspan='13' class='black'></td></tr>
<tr>
<td colspan='4'>LCD</td>
<td id='A_LCD'><input type='radio' name='A' value='LCD' onClick="upd()" checked /></td>
<td id='B_LCD'><input type='radio' name='B' value='LCD' onClick="upd()" checked /></td>
<td id='C_LCD'><input type='radio' name='C' value='LCD' onClick="upd()" checked /></td>
<td id='D_LCD'><input type='radio' name='D' value='LCD' onClick="upd()" checked /></td>
<td id='E_LCD'><input type='radio' name='E' value='LCD' onClick="upd()" checked /></td>
<td id='F_LCD'><input type='radio' name='F' value='LCD' onClick="upd()" checked /></td>
<td id='G_LCD'><input type='radio' name='G' value='LCD' onClick="upd()" checked /></td>
<td id='H_LCD'><input type='radio' name='H' value='LCD' onClick="upd()" checked /></td>
<td id='I_LCD'><input type='radio' name='I' value='LCD' onClick="upd()" checked /></td>
</tr>
<!-- ARM7 Mode - ARM7 Memory Mapped -->
<tr><td colspan='13' class='black'></td></tr>
<tr>
<td colspan='4'>ARM7 Extra RAM (1st 128KB)</td>
<td rowspan='2' class='x'></td>
<td rowspan='2' class='x'></td>
<td id='C_ARM70'><input type='radio' name='C' value='ARM70' onClick="upd()" /></td>
<td id='D_ARM70'><input type='radio' name='D' value='ARM70' onClick="upd()" /></td>
<td rowspan='2' class='x'></td>
<td rowspan='2' class='x'></td>
<td rowspan='2' class='x'></td>
<td rowspan='2' class='x'></td>
<td rowspan='2' class='x'></td>
</tr>
<tr>
<td colspan='4'>ARM7 Extra RAM (2nd 128KB)</td>
<td id='C_ARM71'><input type='radio' name='C' value='ARM71' onClick="upd()" /></td>
<td id='D_ARM71'><input type='radio' name='D' value='ARM71' onClick="upd()" /></td>
</tr>
<!-- Main 2D Engine -->
<tr><td colspan='13' class='black'></td></tr>
<tr>
<td rowspan='25'>Main 2D Engine</td>
<td rowspan='11'>BG VRAM</td>
<td rowspan='8'>1st 128KB</td>
<td>1st 16KB</td>
<td rowspan='8' id='A_MBG0'><input type='radio' name='A' value='MBG0' onClick="upd()" /></td>
<td rowspan='8' id='B_MBG0'><input type='radio' name='B' value='MBG0' onClick="upd()" /></td>
<td rowspan='8' id='C_MBG0'><input type='radio' name='C' value='MBG0' onClick="upd()" /></td>
<td rowspan='8' id='D_MBG0'><input type='radio' name='D' value='MBG0' onClick="upd()" /></td>
<td rowspan='4' id='E_MBG'><input type='radio' name='E' value='MBG' onClick="upd()" /></td>
<td id='F_MBG00'><input type='radio' name='F' value='MBG00' onClick="upd()" /></td>
<td id='G_MBG00'><input type='radio' name='G' value='MBG00' onClick="upd()" /></td>
<td rowspan='11' class='x'></td>
<td rowspan='11' class='x'></td>
</tr>
<tr>
<td>2nd 16KB</td>
<td id='F_MBG01'><input type='radio' name='F' value='MBG01' onClick="upd()" /></td>
<td id='G_MBG01'><input type='radio' name='G' value='MBG01' onClick="upd()" /></td>
</tr>
<tr>
<td>3rd 16KB</td>
<td rowspan='2' class='x'></td>
<td rowspan='2' class='x'></td>
</tr>
<tr>
<td>4th 16KB</td>
</tr>
<tr>
<td>5th 16KB</td>
<td rowspan='7' class='x'></td>
<td id='F_MBG02'><input type='radio' name='F' value='MBG02' onClick="upd()" /></td>
<td id='G_MBG02'><input type='radio' name='G' value='MBG02' onClick="upd()" /></td>
</tr>
<tr>
<td>6th 16KB</td>
<td id='F_MBG03'><input type='radio' name='F' value='MBG03' onClick="upd()" /></td>
<td id='G_MBG03'><input type='radio' name='G' value='MBG03' onClick="upd()" /></td>
</tr>
<tr>
<td>7th 16KB</td>
<td rowspan='5' class='x'></td>
<td rowspan='5' class='x'></td>
</tr>
<tr>
<td>8th 16KB</td>
</tr>
<tr>
<td>2nd 128KB</td>
<td>All 128KB</td>
<td id='A_MBG1'><input type='radio' name='A' value='MBG1' onClick="upd()" /></td>
<td id='B_MBG1'><input type='radio' name='B' value='MBG1' onClick="upd()" /></td>
<td id='C_MBG1'><input type='radio' name='C' value='MBG1' onClick="upd()" /></td>
<td id='D_MBG1'><input type='radio' name='D' value='MBG1' onClick="upd()" /></td>
</tr>
<tr>
<td>3rd 128KB</td>
<td>All 128KB</td>
<td id='A_MBG2'><input type='radio' name='A' value='MBG2' onClick="upd()" /></td>
<td id='B_MBG2'><input type='radio' name='B' value='MBG2' onClick="upd()" /></td>
<td id='C_MBG2'><input type='radio' name='C' value='MBG2' onClick="upd()" /></td>
<td id='D_MBG2'><input type='radio' name='D' value='MBG2' onClick="upd()" /></td>
</tr>
<tr>
<td>4th 128KB</td>
<td>All 128KB</td>
<td id='A_MBG3'><input type='radio' name='A' value='MBG3' onClick="upd()" /></td>
<td id='B_MBG3'><input type='radio' name='B' value='MBG3' onClick="upd()" /></td>
<td id='C_MBG3'><input type='radio' name='C' value='MBG3' onClick="upd()" /></td>
<td id='D_MBG3'><input type='radio' name='D' value='MBG3' onClick="upd()" /></td>
</tr>
<tr>
<td rowspan='9'>OBJ VRAM</td>
<td rowspan='8'>1st 128KB</td>
<td>1st 16KB</td>
<td rowspan='8' id='A_MOBJ0'><input type='radio' name='A' value='MOBJ0' onClick="upd()" /></td>
<td rowspan='8' id='B_MOBJ0'><input type='radio' name='B' value='MOBJ0' onClick="upd()" /></td>
<td rowspan='9' class='x'></td>
<td rowspan='9' class='x'></td>
<td rowspan='4' id='E_MOBJ'><input type='radio' name='E' value='MOBJ' onClick="upd()" /></td>
<td id='F_MOBJ00'><input type='radio' name='F' value='MOBJ00' onClick="upd()" /></td>
<td id='G_MOBJ00'><input type='radio' name='G' value='MOBJ00' onClick="upd()" /></td>
<td rowspan='9' class='x'></td>
<td rowspan='9' class='x'></td>
</tr>
<tr>
<td>2nd 16KB</td>
<td id='F_MOBJ01'><input type='radio' name='F' value='MOBJ01' onClick="upd()" /></td>
<td id='G_MOBJ01'><input type='radio' name='G' value='MOBJ01' onClick="upd()" /></td>
</tr>
<tr>
<td>3rd 16KB</td>
<td rowspan='2' class='x'></td>
<td rowspan='2' class='x'></td>
</tr>
<tr>
<td>4th 16KB</td>
</tr>
<tr>
<td>5th 16KB</td>
<td rowspan='5' class='x'></td>
<td id='F_MOBJ02'><input type='radio' name='F' value='MOBJ02' onClick="upd()" /></td>
<td id='G_MOBJ02'><input type='radio' name='G' value='MOBJ02' onClick="upd()" /></td>
</tr>
<tr>
<td>6th 16KB</td>
<td id='F_MOBJ03'><input type='radio' name='F' value='MOBJ03' onClick="upd()" /></td>
<td id='G_MOBJ03'><input type='radio' name='G' value='MOBJ03' onClick="upd()" /></td>
</tr>
<tr>
<td>7th 16KB</td>
<td rowspan='3' class='x'></td>
<td rowspan='3' class='x'></td>
</tr>
<tr>
<td>8th 16KB</td>
</tr>
<tr>
<td>2nd 128KB</td>
<td>All 128KB</td>
<td id='A_MOBJ1'><input type='radio' name='A' value='MOBJ1' onClick="upd()" /></td>
<td id='B_MOBJ1'><input type='radio' name='B' value='MOBJ1' onClick="upd()" /></td>
</tr>
<tr>
<td rowspan='4'>BG Ext Palette</td>
<td>Slot 0</td>
<td>8KB</td>
<td rowspan='4' class='x'></td>
<td rowspan='4' class='x'></td>
<td rowspan='4' class='x'></td>
<td rowspan='4' class='x'></td>
<td rowspan='4' id='E_BGEPAL'><input type='radio' name='E' value='BGEPAL' onClick="upd()" /></td>
<td rowspan='2' id='F_BGEPAL01'><input type='radio' name='F' value='BGEPAL01' onClick="upd()" /></td>
<td rowspan='2' id='G_BGEPAL01'><input type='radio' name='G' value='BGEPAL01' onClick="upd()" /></td>
<td rowspan='4' class='x'></td>
<td rowspan='4' class='x'></td>
</tr>
<tr>
<td>Slot 1</td>
<td>8KB</td>
</tr>
<tr>
<td>Slot 2</td>
<td>8KB</td>
<td rowspan='2' id='F_BGEPAL23'><input type='radio' name='F' value='BGEPAL23' onClick="upd()" /></td>
<td rowspan='2' id='G_BGEPAL23'><input type='radio' name='G' value='BGEPAL23' onClick="upd()" /></td>
</tr>
<tr>
<td>Slot 3</td>
<td>8KB</td>
</tr>
<tr>
<td>OBJ Ext Palette</td>
<td colspan='2'>8KB</td>
<td class='x'></td>
<td class='x'></td>
<td class='x'></td>
<td class='x'></td>
<td class='x'></td>
<td id='F_OBJEPAL'><input type='radio' name='F' value='OBJEPAL' onClick="upd()" /></td>
<td id='G_OBJEPAL'><input type='radio' name='G' value='OBJEPAL' onClick="upd()" /></td>
<td class='x'></td>
<td class='x'></td>
</tr>
<!-- Sub 2D Engine -->
<tr><td colspan='13' class='black'></td></tr>
<tr>
<td rowspan='12'>Sub 2D Engine</td>
<td rowspan='8'>BG VRAM</td>
<td rowspan='8'>128KB</td>
<td>1st 16KB</td>
<td rowspan='8' class='x'></td>
<td rowspan='8' class='x'></td>
<td rowspan='8' id='C_SBG'><input type='radio' name='C' value='SBG' onClick="upd()" /></td>
<td rowspan='8' class='x'></td>
<td rowspan='8' class='x'></td>
<td rowspan='8' class='x'></td>
<td rowspan='8' class='x'></td>
<td rowspan='2' id='H_SBG0'><input type='radio' name='H' value='SBG0' onClick="upd()" /></td>
<td rowspan='2' class='x'></td>
</tr>
<tr>
<td>2nd 16KB</td>
</tr>
<tr>
<td>3rd 16KB</td>
<td rowspan='6' class='x'></td>
<td id='I_SBG1'><input type='radio' name='I' value='SBG1' onClick="upd()" /></td>
</tr>
<tr>
<td>4th 16KB</td>
<td rowspan='5' class='x'></td>
</tr>
<tr>
<td>5th 16KB</td>
</tr>
<tr>
<td>6th 16KB</td>
</tr>
<tr>
<td>7th 16KB</td>
</tr>
<tr>
<td>8th 16KB</td>
</tr>
<tr>
<td rowspan='2'>OBJ VRAM</td>
<td rowspan='2'>128KB</td>
<td>1st 16KB</td>
<td rowspan='2' class='x'></td>
<td rowspan='2' class='x'></td>
<td rowspan='2' class='x'></td>
<td rowspan='2' id='D_SOBJ'><input type='radio' name='D' value='SOBJ' onClick="upd()" /></td>
<td rowspan='2' class='x'></td>
<td rowspan='2' class='x'></td>
<td rowspan='2' class='x'></td>
<td rowspan='2' class='x'></td>
<td id='I_SOBJ'><input type='radio' name='I' value='SOBJ' onClick="upd()" /></td>
</tr>
<tr>
<td>Final 112KB</td>
<td class='x'></td>
</tr>
<tr>
<td>BG Ext Palette</td>
<td colspan='2'>32KB</td>
<td class='x'></td>
<td class='x'></td>
<td class='x'></td>
<td class='x'></td>
<td class='x'></td>
<td class='x'></td>
<td class='x'></td>
<td id='H_SBGEPAL'><input type='radio' name='H' value='SBGEPAL' onClick="upd()" /></td>
<td class='x'></td>
</tr>
<tr>
<td>OBJ Ext Palette</td>
<td colspan='2'>8KB</td>
<td class='x'></td>
<td class='x'></td>
<td class='x'></td>
<td class='x'></td>
<td class='x'></td>
<td class='x'></td>
<td class='x'></td>
<td class='x'></td>
<td id='I_SOBJEPAL'><input type='radio' name='I' value='SOBJEPAL' onClick="upd()" /></td>
</tr>
<!-- 3D Engine -->
<tr><td colspan='13' class='black'></td></tr>
<tr>
<td rowspan='10'>3D Engine</td>
<td rowspan='4'>Texture</td>
<td>Slot 0</td>
<td>128KB</td>
<td id='A_TS0'><input type='radio' name='A' value='TS0' onClick="upd()" /></td>
<td id='B_TS0'><input type='radio' name='B' value='TS0' onClick="upd()" /></td>
<td id='C_TS0'><input type='radio' name='C' value='TS0' onClick="upd()" /></td>
<td id='D_TS0'><input type='radio' name='D' value='TS0' onClick="upd()" /></td>
<td class='x'></td>
<td class='x'></td>
<td class='x'></td>
<td class='x'></td>
<td class='x'></td>
</tr>
<tr>
<td>Slot 1</td>
<td>128KB</td>
<td id='A_TS1'><input type='radio' name='A' value='TS1' onClick="upd()" /></td>
<td id='B_TS1'><input type='radio' name='B' value='TS1' onClick="upd()" /></td>
<td id='C_TS1'><input type='radio' name='C' value='TS1' onClick="upd()" /></td>
<td id='D_TS1'><input type='radio' name='D' value='TS1' onClick="upd()" /></td>
<td class='x'></td>
<td class='x'></td>
<td class='x'></td>
<td class='x'></td>
<td class='x'></td>
</tr>
<tr>
<td>Slot 2</td>
<td>128KB</td>
<td id='A_TS2'><input type='radio' name='A' value='TS2' onClick="upd()" /></td>
<td id='B_TS2'><input type='radio' name='B' value='TS2' onClick="upd()" /></td>
<td id='C_TS2'><input type='radio' name='C' value='TS2' onClick="upd()" /></td>
<td id='D_TS2'><input type='radio' name='D' value='TS2' onClick="upd()" /></td>
<td class='x'></td>
<td class='x'></td>
<td class='x'></td>
<td class='x'></td>
<td class='x'></td>
</tr>
<tr>
<td>Slot 3</td>
<td>128KB</td>
<td id='A_TS3'><input type='radio' name='A' value='TS3' onClick="upd()" /></td>
<td id='B_TS3'><input type='radio' name='B' value='TS3' onClick="upd()" /></td>
<td id='C_TS3'><input type='radio' name='C' value='TS3' onClick="upd()" /></td>
<td id='D_TS3'><input type='radio' name='D' value='TS3' onClick="upd()" /></td>
<td class='x'></td>
<td class='x'></td>
<td class='x'></td>
<td class='x'></td>
<td class='x'></td>
</tr>
<tr>
<td rowspan='6'>Texture Palette</td>
<td>Slot 0</td>
<td>16KB</td>
<td rowspan='6' class='x'></td>
<td rowspan='6' class='x'></td>
<td rowspan='6' class='x'></td>
<td rowspan='6' class='x'></td>
<td rowspan='4' id='E_TPAL'><input type='radio' name='E' value='TPAL' onClick="upd()" /></td>
<td id='F_TPAL0'><input type='radio' name='F' value='TPAL0' onClick="upd()" /></td>
<td id='G_TPAL0'><input type='radio' name='G' value='TPAL0' onClick="upd()" /></td>
<td rowspan='6' class='x'></td>
<td rowspan='6' class='x'></td>
</tr>
<tr>
<td>Slot 1</td>
<td>16KB</td>
<td id='F_TPAL1'><input type='radio' name='F' value='TPAL1' onClick="upd()" /></td>
<td id='G_TPAL1'><input type='radio' name='G' value='TPAL1' onClick="upd()" /></td>
</tr>
<tr>
<td>Slot 2</td>
<td>16KB</td>
<td rowspan='2' class='x'></td>
<td rowspan='2' class='x'></td>
</tr>
<tr>
<td>Slot 3</td>
<td>16KB</td>
</tr>
<tr>
<td>Slot 4</td>
<td>16KB</td>
<td rowspan='2' class='x'></td>
<td id='F_TPAL4'><input type='radio' name='F' value='TPAL4' onClick="upd()" /></td>
<td id='G_TPAL4'><input type='radio' name='G' value='TPAL4' onClick="upd()" /></td>
</tr>
<tr>
<td>Slot 5</td>
<td>16KB</td>
<td id='F_TPAL5'><input type='radio' name='F' value='TPAL5' onClick="upd()" /></td>
<td id='G_TPAL5'><input type='radio' name='G' value='TPAL5' onClick="upd()" /></td>
</tr>
</table>
</form>
</td>
<td class='main'>
<table>
<thead>
<tr><td class='left'>Function call</td></tr>
</thead>
<tr><td class='left' id='FunctionCall'>Loading...</td></tr>
</table>
<p> </p>
<table>
<thead>
<tr><td class='left'>CPU Access</td></tr>
</thead>
<tr><td class='left' id='CPUAccess'>Loading...</td></tr>
</table>
</td>
</tr></table>
<hr />
<p>Copyright © 2011-2012, mtheall & JustBurn</p>
</div></body>
</html>