1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<META name="GENERATOR" content="Microsoft FrontPage 5.0"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 9<title>GX Default TMEM configuration</title> 10</head> 11 12<body> 13 14<h1 align="left">GX Default TMEM configuration</h1> 15 16<H2>Description</H2> 17<p>The <code><a href="../Management/GXInit.html">GXInit</a></code> function defines the default memory map for the TMEM (embedded texture memory) and allocates areas for the texture cache and texture look up table (TLUT). After that, unless the user changes the mapping method, the region for cache used for texture mapping called by the <code><a href="GXLoadTexObj.html">GXLoadTexObj</a></code> function will be decided according to this default memory map.</p> 18 19<p>This default memory map uses the first half of the 1MB TMEM (the address of which corresponds to <code>0x00000-0x7FFFF</code>, known as the Low Memory Bank) as sixteen 32KB cache areas. The region that corresponds to the second half of the addresses, <code>0x80000-0xFFFFF</code>, is divided into two parts: <code>0x80000-0xBFFFF</code> is used as eight 32-KB cache areas, whereas <code>0xC0000-0xFFFFF</code> is used as the TLUT area for CI textures.</p> 20 21<p>When a texture is used, one of these cache areas will be allocated. There are three factors that decide how to allocate the areas.</p> 22 23<ul> 24<li>Texture map ID (<code>GX_TEXMAP0</code>, <code>GX_TEXMAP1</code>, ...)</li> 25<li>Texture Format</li> 26<li>Mipmapped or non-mipmapped</li> 27</ul> 28<p>There are three types of texture formats: CI textures, RGBA8 (32-bit) textures, and others (normal). The following indicates how the area would be used in each case:</p> 29 30<h4>Normal, Mipmap OFF: </h4> 31 32<p>For normal textures (non-CI, non-RGBA8), only one area that corresponds to each map ID in the Low Memory Bank will be used for each texture.</p> 33 34<table border="0" width="100%" cellspacing="1"> 35 <tr> 36 <td width="24%"> 37 <table border="0" width="100%" cellspacing="1" cellpadding="0"> 38 <tr> 39 <td width="100%" height="24" nowrap><code> </code></td> 40 </tr> 41 <tr> 42<td width="100%" align="right" height="24" nowrap><code>0x00000-0x07FFF</code></td> 43 </tr> 44 <tr> 45<td width="100%" align="right" height="24" nowrap><code>0x08000-0x0FFFF</code></td> 46 </tr> 47 <tr> 48<td width="100%" align="right" height="24" nowrap><code>0x10000-0x17FFF</code></td> 49 </tr> 50 <tr> 51<td width="100%" align="right" height="24" nowrap><code>0x18000-0x1FFFF</code></td> 52 </tr> 53 <tr> 54<td width="100%" align="right" height="24" nowrap><code>0x20000-0x27FFF</code></td> 55 </tr> 56 <tr> 57<td width="100%" align="right" height="24" nowrap><code>0x28000-0x2FFFF</code></td> 58 </tr> 59 <tr> 60<td width="100%" align="right" height="24" nowrap><code>0x30000-0x37FFF</code></td> 61 </tr> 62 <tr> 63<td width="100%" align="right" height="24" nowrap><code>0x38000-0x3FFFF</code></td> 64 </tr> 65 <tr> 66<td width="100%" align="right" height="24" nowrap><code>0x40000-0x47FFF</code></td> 67 </tr> 68 <tr> 69<td width="100%" align="right" height="24" nowrap><code>0x48000-0x4FFFF</code></td> 70 </tr> 71 <tr> 72<td width="100%" align="right" height="24" nowrap><code>0x50000-0x57FFF</code></td> 73 </tr> 74 <tr> 75<td width="100%" align="right" height="24" nowrap><code>0x58000-0x5FFFF</code></td> 76 </tr> 77 <tr> 78<td width="100%" align="right" height="24" nowrap><code>0x60000-0x67FFF</code></td> 79 </tr> 80 <tr> 81<td width="100%" align="right" height="24" nowrap><code>0x68000-0x6FFFF</code></td> 82 </tr> 83 <tr> 84<td width="100%" align="right" height="24" nowrap><code>0x70000-0x77FFF</code></td> 85 </tr> 86 <tr> 87<td width="100%" align="right" height="24" nowrap><code>0x78000-0x7FFFF</code></td> 88 </tr> 89 </table> 90 </td> 91 <td width="24%"> 92 <table border="1" cellspacing="1" width="100%" cellpadding="0"> 93 <tr> 94<th width="100%" height="24" align="center" nowrap><code>Low Memory Bank</code></th> 95 </tr> 96 <tr> 97<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP0</code></td> 98 </tr> 99 <tr> 100 <td width="100%" height="24" align="center" nowrap><code> </code></td> 101 </tr> 102 <tr> 103<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP1</code></td> 104 </tr> 105 <tr> 106 <td width="100%" height="24" align="center" nowrap><code> </code></td> 107 </tr> 108 <tr> 109<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP2</code></td> 110 </tr> 111 <tr> 112 <td width="100%" height="24" align="center" nowrap><code> </code></td> 113 </tr> 114 <tr> 115<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP3</code></td> 116 </tr> 117 <tr> 118 <td width="100%" height="24" align="center" nowrap><code> </code></td> 119 </tr> 120 <tr> 121<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP4</code></td> 122 </tr> 123 <tr> 124 <td width="100%" height="24" align="center" nowrap><code> </code></td> 125 </tr> 126 <tr> 127<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP5</code></td> 128 </tr> 129 <tr> 130 <td width="100%" height="24" align="center" nowrap><code> </code></td> 131 </tr> 132 <tr> 133<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP6</code></td> 134 </tr> 135 <tr> 136 <td width="100%" height="24" align="center" nowrap><code> </code></td> 137 </tr> 138 <tr> 139<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP7</code></td> 140 </tr> 141 <tr> 142 <td width="100%" height="24" align="center" nowrap><code> </code></td> 143 </tr> 144 </table> 145 </td> 146 <td width="4%"></td> 147 <td width="24%"> 148 <table border="1" cellspacing="1" width="100%" cellpadding="0" height="409"> 149 <tr> 150<th width="100%" height="24" nowrap><code>High Memory Bank</code></th> 151 </tr> 152 <tr> 153 <td width="100%" height="24" nowrap><code> </code></td> 154 </tr> 155 <tr> 156 <td width="100%" height="24" nowrap><code> </code></td> 157 </tr> 158 <tr> 159 <td width="100%" height="24" nowrap><code> </code></td> 160 </tr> 161 <tr> 162 <td width="100%" height="24" nowrap><code> </code></td> 163 </tr> 164 <tr> 165 <td width="100%" height="24" nowrap><code> </code></td> 166 </tr> 167 <tr> 168 <td width="100%" height="24" nowrap><code> </code></td> 169 </tr> 170 <tr> 171 <td width="100%" height="24" nowrap><code> </code></td> 172 </tr> 173 <tr> 174 <td width="100%" height="24" nowrap><code> </code></td> 175 </tr> 176 <tr> 177<td width="100%" height="199" align="center" nowrap bgcolor="#CCCCCC"><code>TLUT</code></td> 178 </tr> 179 </table> 180 </td> 181 <td width="24%"> 182 <table border="0" width="100%" cellspacing="1" cellpadding="0"> 183 <tr> 184 <td width="100%" height="24" align="left" nowrap></td> 185 </tr> 186 <tr> 187<td width="100%" height="24" align="left" nowrap><code>0x80000-0x87FFF</code></td> 188 </tr> 189 <tr> 190<td width="100%" height="24" align="left" nowrap><code>0x88000-0x8FFFF</code></td> 191 </tr> 192 <tr> 193<td width="100%" height="24" align="left" nowrap><code>0x90000-0x97FFF</code></td> 194 </tr> 195 <tr> 196<td width="100%" height="24" align="left" nowrap><code>0x98000-0x9FFFF</code></td> 197 </tr> 198 <tr> 199<td width="100%" height="24" align="left" nowrap><code>0xA0000-0xA7FFF</code></td> 200 </tr> 201 <tr> 202<td width="100%" height="24" align="left" nowrap><code>0xA8000-0xAFFFF</code></td> 203 </tr> 204 <tr> 205<td width="100%" height="24" align="left" nowrap><code>0xB0000-0xB7FFF</code></td> 206 </tr> 207 <tr> 208<td width="100%" height="24" align="left" nowrap><code>0xB8000-0xBFFFF</code></td> 209 </tr> 210 211 <tr> 212 <td width="100%" height="24" align="left" nowrap></td> 213 </tr> 214 <tr> 215 <td width="100%" height="24" align="left" nowrap></td> 216 </tr> 217 <tr> 218 <td width="100%" height="24" align="left" nowrap></td> 219 </tr> 220 <tr> 221<td width="100%" height="24" align="left" nowrap><code>0xC0000-0xFFFFF</code></td> 222 </tr> 223 <tr> 224 <td width="100%" height="24" align="left" nowrap></td> 225 </tr> 226 <tr> 227 <td width="100%" height="24" align="left" nowrap></td> 228 </tr> 229 <tr> 230 <td width="100%" height="24" align="left" nowrap></td> 231 </tr> 232 <tr> 233 <td width="100%" height="24" align="left" nowrap></td> 234 </tr> 235 </table> 236 </td> 237 </tr> 238</table> 239<h4>Normal, Mipmap ON:</h4> 240<p>For a normal mipmapped texture, two cache areas for the even and odd LODs need to be allocated. Each needs to be located in Low and High Memory Banks separately, so they will be allocated like the following:</p> 241<table border="0" width="100%" cellspacing="1"> 242 <tr> 243 <td width="24%"> 244 <table border="0" width="100%" cellspacing="1" cellpadding="0"> 245 <tr> 246 <td width="100%" height="24" nowrap><code> </code></td> 247 </tr> 248 <tr> 249<td width="100%" align="right" height="24" nowrap><code>0x00000-0x07FFF</code></td> 250 </tr> 251 <tr> 252<td width="100%" align="right" height="24" nowrap><code>0x08000-0x0FFFF</code></td> 253 </tr> 254 <tr> 255<td width="100%" align="right" height="24" nowrap><code>0x10000-0x17FFF</code></td> 256 </tr> 257 <tr> 258<td width="100%" align="right" height="24" nowrap><code>0x18000-0x1FFFF</code></td> 259 </tr> 260 <tr> 261<td width="100%" align="right" height="24" nowrap><code>0x20000-0x27FFF</code></td> 262 </tr> 263 <tr> 264<td width="100%" align="right" height="24" nowrap><code>0x28000-0x2FFFF</code></td> 265 </tr> 266 <tr> 267<td width="100%" align="right" height="24" nowrap><code>0x30000-0x37FFF</code></td> 268 </tr> 269 <tr> 270<td width="100%" align="right" height="24" nowrap><code>0x38000-0x3FFFF</code></td> 271 </tr> 272 <tr> 273<td width="100%" align="right" height="24" nowrap><code>0x40000-0x47FFF</code></td> 274 </tr> 275 <tr> 276<td width="100%" align="right" height="24" nowrap><code>0x48000-0x4FFFF</code></td> 277 </tr> 278 <tr> 279<td width="100%" align="right" height="24" nowrap><code>0x50000-0x57FFF</code></td> 280 </tr> 281 <tr> 282<td width="100%" align="right" height="24" nowrap><code>0x58000-0x5FFFF</code></td> 283 </tr> 284 <tr> 285<td width="100%" align="right" height="24" nowrap><code>0x60000-0x67FFF</code></td> 286 </tr> 287 <tr> 288<td width="100%" align="right" height="24" nowrap><code>0x68000-0x6FFFF</code></td> 289 </tr> 290 <tr> 291<td width="100%" align="right" height="24" nowrap><code>0x70000-0x77FFF</code></td> 292 </tr> 293 <tr> 294<td width="100%" align="right" height="24" nowrap><code>0x78000-0x7FFFF</code></td> 295 </tr> 296 </table> 297 </td> 298 <td width="24%"> 299 <table border="1" cellspacing="1" width="100%" cellpadding="0"> 300 <tr> 301<th width="100%" height="24" align="center" nowrap><code>Low Memory Bank</code></th> 302 </tr> 303 <tr> 304<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP0(EVEN)</code></td> 305 </tr> 306 <tr> 307 <td width="100%" height="24" align="center" nowrap><code> </code></td> 308 </tr> 309 <tr> 310<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP1 (ODD)</code></td> 311 </tr> 312 <tr> 313 <td width="100%" height="24" align="center" nowrap><code> </code></td> 314 </tr> 315 <tr> 316<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP2(EVEN)</code></td> 317 </tr> 318 <tr> 319 <td width="100%" height="24" align="center" nowrap><code> </code></td> 320 </tr> 321 <tr> 322<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP3 (ODD)</code></td> 323 </tr> 324 <tr> 325 <td width="100%" height="24" align="center" nowrap><code> </code></td> 326 </tr> 327 <tr> 328<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP4(EVEN)</code></td> 329 </tr> 330 <tr> 331 <td width="100%" height="24" align="center" nowrap><code> </code></td> 332 </tr> 333 <tr> 334<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP5 (ODD)</code></td> 335 </tr> 336 <tr> 337 <td width="100%" height="24" align="center" nowrap><code> </code></td> 338 </tr> 339 <tr> 340<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP6(EVEN)</code></td> 341 </tr> 342 <tr> 343 <td width="100%" height="24" align="center" nowrap><code> </code></td> 344 </tr> 345 <tr> 346<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP7 (ODD)</code></td> 347 </tr> 348 <tr> 349 <td width="100%" height="24" align="center" nowrap><code> </code></td> 350 </tr> 351 </table> 352 </td> 353 <td width="4%"></td> 354 <td width="24%"> 355 <table border="1" cellspacing="1" width="100%" cellpadding="0" height="409"> 356 <tr> 357<th width="100%" height="24" nowrap><code>High Memory Bank</code></th> 358 </tr> 359 <tr> 360<td width="100%" height="24" nowrap bgcolor="#CCFFFF" align="center"><code>GX_TEXMAP0 (ODD)</code></td> 361 </tr> 362 <tr> 363<td width="100%" height="24" nowrap bgcolor="#CCFFFF" align="center"><code>GX_TEXMAP4 (ODD)</code></td> 364 </tr> 365 <tr> 366<td width="100%" height="24" nowrap bgcolor="#CCFFFF" align="center"><code>GX_TEXMAP1(EVEN)</code></td> 367 </tr> 368 <tr> 369<td width="100%" height="24" nowrap bgcolor="#CCFFFF" align="center"><code>GX_TEXMAP5(EVEN)</code></td> 370 </tr> 371 <tr> 372<td width="100%" height="24" nowrap bgcolor="#CCFFFF" align="center"><code>GX_TEXMAP2 (ODD)</code></td> 373 </tr> 374 <tr> 375<td width="100%" height="24" nowrap bgcolor="#CCFFFF" align="center"><code>GX_TEXMAP6 (ODD)</code></td> 376 </tr> 377 <tr> 378<td width="100%" height="24" nowrap bgcolor="#CCFFFF" align="center"><code>GX_TEXMAP3(EVEN)</code></td> 379 </tr> 380 <tr> 381<td width="100%" height="24" nowrap bgcolor="#CCFFFF" align="center"><code>GX_TEXMAP7(EVEN)</code></td> 382 </tr> 383 <tr> 384<td width="100%" height="199" align="center" nowrap bgcolor="#CCCCCC"><code>TLUT</code></td> 385 </tr> 386 </table> 387 </td> 388 <td width="24%"> 389 <table border="0" width="100%" cellspacing="1" cellpadding="0"> 390 <tr> 391 <td width="100%" height="24" align="left" nowrap></td> 392 </tr> 393 <tr> 394<td width="100%" height="24" align="left" nowrap><code>0x80000-0x87FFF</code></td> 395 </tr> 396 <tr> 397<td width="100%" height="24" align="left" nowrap><code>0x88000-0x8FFFF</code></td> 398 </tr> 399 <tr> 400<td width="100%" height="24" align="left" nowrap><code>0x90000-0x97FFF</code></td> 401 </tr> 402 <tr> 403<td width="100%" height="24" align="left" nowrap><code>0x98000-0x9FFFF</code></td> 404 </tr> 405 <tr> 406<td width="100%" height="24" align="left" nowrap><code>0xA0000-0xA7FFF</code></td> 407 </tr> 408 <tr> 409<td width="100%" height="24" align="left" nowrap><code>0xA8000-0xAFFFF</code></td> 410 </tr> 411 <tr> 412<td width="100%" height="24" align="left" nowrap><code>0xB0000-0xB7FFF</code></td> 413 </tr> 414 <tr> 415<td width="100%" height="24" align="left" nowrap><code>0xB8000-0xBFFFF</code></td> 416 </tr> 417 <tr> 418 <td width="100%" height="24" align="left" nowrap></td> 419 </tr> 420 <tr> 421 <td width="100%" height="24" align="left" nowrap></td> 422 </tr> 423 <tr> 424 <td width="100%" height="24" align="left" nowrap></td> 425 </tr> 426 <tr> 427<td width="100%" height="24" align="left" nowrap><code>0xC0000-0xFFFFF</code></td> 428 </tr> 429 <tr> 430 <td width="100%" height="24" align="left" nowrap></td> 431 </tr> 432 <tr> 433 <td width="100%" height="24" align="left" nowrap></td> 434 </tr> 435 <tr> 436 <td width="100%" height="24" align="left" nowrap></td> 437 </tr> 438 <tr> 439 <td width="100%" height="24" align="left" nowrap></td> 440 </tr> 441 </table> 442 </td> 443 </tr> 444</table> 445<h4>CI, Mipmap OFF:</h4> 446<p>Color index textures will be treated in the same way as the normal non-mipmapped textures. TLUT information located in High Memory Bank will also be used.</p> 447<table border="0" width="100%" cellspacing="1"> 448 <tr> 449 <td width="24%"> 450 <table border="0" width="100%" cellspacing="1" cellpadding="0"> 451 <tr> 452 <td width="100%" height="24" nowrap><code> </code></td> 453 </tr> 454 <tr> 455<td width="100%" align="right" height="24" nowrap><code>0x00000-0x07FFF</code></td> 456 </tr> 457 <tr> 458<td width="100%" align="right" height="24" nowrap><code>0x08000-0x0FFFF</code></td> 459 </tr> 460 <tr> 461<td width="100%" align="right" height="24" nowrap><code>0x10000-0x17FFF</code></td> 462 </tr> 463 <tr> 464<td width="100%" align="right" height="24" nowrap><code>0x18000-0x1FFFF</code></td> 465 </tr> 466 <tr> 467<td width="100%" align="right" height="24" nowrap><code>0x20000-0x27FFF</code></td> 468 </tr> 469 <tr> 470<td width="100%" align="right" height="24" nowrap><code>0x28000-0x2FFFF</code></td> 471 </tr> 472 <tr> 473<td width="100%" align="right" height="24" nowrap><code>0x30000-0x37FFF</code></td> 474 </tr> 475 <tr> 476<td width="100%" align="right" height="24" nowrap><code>0x38000-0x3FFFF</code></td> 477 </tr> 478 <tr> 479<td width="100%" align="right" height="24" nowrap><code>0x40000-0x47FFF</code></td> 480 </tr> 481 <tr> 482<td width="100%" align="right" height="24" nowrap><code>0x48000-0x4FFFF</code></td> 483 </tr> 484 <tr> 485<td width="100%" align="right" height="24" nowrap><code>0x50000-0x57FFF</code></td> 486 </tr> 487 <tr> 488<td width="100%" align="right" height="24" nowrap><code>0x58000-0x5FFFF</code></td> 489 </tr> 490 <tr> 491<td width="100%" align="right" height="24" nowrap><code>0x60000-0x67FFF</code></td> 492 </tr> 493 <tr> 494<td width="100%" align="right" height="24" nowrap><code>0x68000-0x6FFFF</code></td> 495 </tr> 496 <tr> 497<td width="100%" align="right" height="24" nowrap><code>0x70000-0x77FFF</code></td> 498 </tr> 499 <tr> 500<td width="100%" align="right" height="24" nowrap><code>0x78000-0x7FFFF</code></td> 501 </tr> 502 </table> 503 </td> 504 <td width="24%"> 505 <table border="1" cellspacing="1" width="100%" cellpadding="0"> 506 <tr> 507<th width="100%" height="24" align="center" nowrap><code>Low Memory Bank</code></th> 508 </tr> 509 <tr> 510<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP0</code></td> 511 </tr> 512 <tr> 513 <td width="100%" height="24" align="center" nowrap><code> </code></td> 514 </tr> 515 <tr> 516<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP1</code></td> 517 </tr> 518 <tr> 519 <td width="100%" height="24" align="center" nowrap><code> </code></td> 520 </tr> 521 <tr> 522<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP2</code></td> 523 </tr> 524 <tr> 525 <td width="100%" height="24" align="center" nowrap><code> </code></td> 526 </tr> 527 <tr> 528<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP3</code></td> 529 </tr> 530 <tr> 531 <td width="100%" height="24" align="center" nowrap><code> </code></td> 532 </tr> 533 <tr> 534<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP4</code></td> 535 </tr> 536 <tr> 537 <td width="100%" height="24" align="center" nowrap><code> </code></td> 538 </tr> 539 <tr> 540<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP5</code></td> 541 </tr> 542 <tr> 543 <td width="100%" height="24" align="center" nowrap><code> </code></td> 544 </tr> 545 <tr> 546<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP6</code></td> 547 </tr> 548 <tr> 549 <td width="100%" height="24" align="center" nowrap><code> </code></td> 550 </tr> 551 <tr> 552<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP7</code></td> 553 </tr> 554 <tr> 555 <td width="100%" height="24" align="center" nowrap><code> </code></td> 556 </tr> 557 </table> 558 </td> 559 <td width="4%"></td> 560 <td width="24%"> 561 <table border="1" cellspacing="1" width="100%" cellpadding="0" height="409"> 562 <tr> 563<th width="100%" height="24" nowrap><code>High Memory Bank</code></th> 564 </tr> 565 <tr> 566 <td width="100%" height="24" nowrap><code> </code></td> 567 </tr> 568 <tr> 569 <td width="100%" height="24" nowrap><code> </code></td> 570 </tr> 571 <tr> 572 <td width="100%" height="24" nowrap><code> </code></td> 573 </tr> 574 <tr> 575 <td width="100%" height="24" nowrap><code> </code></td> 576 </tr> 577 <tr> 578 <td width="100%" height="24" nowrap><code> </code></td> 579 </tr> 580 <tr> 581 <td width="100%" height="24" nowrap><code> </code></td> 582 </tr> 583 <tr> 584 <td width="100%" height="24" nowrap><code> </code></td> 585 </tr> 586 <tr> 587 <td width="100%" height="24" nowrap><code> </code></td> 588 </tr> 589 <tr> 590<td width="100%" height="199" align="center" nowrap bgcolor="#CCCCCC"><code>TLUT</code></td> 591 </tr> 592 </table> 593 </td> 594 <td width="24%"> 595 <table border="0" width="100%" cellspacing="1" cellpadding="0"> 596 <tr> 597 <td width="100%" height="24" align="left" nowrap></td> 598 </tr> 599 <tr> 600<td width="100%" height="24" align="left" nowrap><code>0x80000-0x87FFF</code></td> 601 </tr> 602 <tr> 603<td width="100%" height="24" align="left" nowrap><code>0x88000-0x8FFFF</code></td> 604 </tr> 605 <tr> 606<td width="100%" height="24" align="left" nowrap><code>0x90000-0x97FFF</code></td> 607 </tr> 608 <tr> 609<td width="100%" height="24" align="left" nowrap><code>0x98000-0x9FFFF</code></td> 610 </tr> 611 <tr> 612<td width="100%" height="24" align="left" nowrap><code>0xA0000-0xA7FFF</code></td> 613 </tr> 614 <tr> 615<td width="100%" height="24" align="left" nowrap><code>0xA8000-0xAFFFF</code></td> 616 </tr> 617 <tr> 618<td width="100%" height="24" align="left" nowrap><code>0xB0000-0xB7FFF</code></td> 619 </tr> 620 <tr> 621<td width="100%" height="24" align="left" nowrap><code>0xB8000-0xBFFFF</code></td> 622 </tr> 623 <tr> 624 <td width="100%" height="24" align="left" nowrap></td> 625 </tr> 626 <tr> 627 <td width="100%" height="24" align="left" nowrap></td> 628 </tr> 629 <tr> 630 <td width="100%" height="24" align="left" nowrap></td> 631 </tr> 632 <tr> 633<td width="100%" height="24" align="left" nowrap><code>0xC0000-0xFFFFF</code></td> 634 </tr> 635 <tr> 636 <td width="100%" height="24" align="left" nowrap></td> 637 </tr> 638 <tr> 639 <td width="100%" height="24" align="left" nowrap></td> 640 </tr> 641 <tr> 642 <td width="100%" height="24" align="left" nowrap></td> 643 </tr> 644 <tr> 645 <td width="100%" height="24" align="left" nowrap></td> 646 </tr> 647 </table> 648 </td> 649 </tr> 650</table> 651<h4>CI, Mipmap ON:</h4> 652<p>For color index mipmapped textures, since the High Memory Bank will be used as the look up for TLUT, caches for both even and odd LODs need to be allocated in the Low Memory Bank. Hence, they will be allocated like the following:</p> 653<table border="0" width="100%" cellspacing="1"> 654 <tr> 655 <td width="24%"> 656 <table border="0" width="100%" cellspacing="1" cellpadding="0"> 657 <tr> 658 <td width="100%" height="24" nowrap><code> </code></td> 659 </tr> 660 <tr> 661<td width="100%" align="right" height="24" nowrap><code>0x00000-0x07FFF</code></td> 662 </tr> 663 <tr> 664<td width="100%" align="right" height="24" nowrap><code>0x08000-0x0FFFF</code></td> 665 </tr> 666 <tr> 667<td width="100%" align="right" height="24" nowrap><code>0x10000-0x17FFF</code></td> 668 </tr> 669 <tr> 670<td width="100%" align="right" height="24" nowrap><code>0x18000-0x1FFFF</code></td> 671 </tr> 672 <tr> 673<td width="100%" align="right" height="24" nowrap><code>0x20000-0x27FFF</code></td> 674 </tr> 675 <tr> 676<td width="100%" align="right" height="24" nowrap><code>0x28000-0x2FFFF</code></td> 677 </tr> 678 <tr> 679<td width="100%" align="right" height="24" nowrap><code>0x30000-0x37FFF</code></td> 680 </tr> 681 <tr> 682<td width="100%" align="right" height="24" nowrap><code>0x38000-0x3FFFF</code></td> 683 </tr> 684 <tr> 685<td width="100%" align="right" height="24" nowrap><code>0x40000-0x47FFF</code></td> 686 </tr> 687 <tr> 688<td width="100%" align="right" height="24" nowrap><code>0x48000-0x4FFFF</code></td> 689 </tr> 690 <tr> 691<td width="100%" align="right" height="24" nowrap><code>0x50000-0x57FFF</code></td> 692 </tr> 693 <tr> 694<td width="100%" align="right" height="24" nowrap><code>0x58000-0x5FFFF</code></td> 695 </tr> 696 <tr> 697<td width="100%" align="right" height="24" nowrap><code>0x60000-0x67FFF</code></td> 698 </tr> 699 <tr> 700<td width="100%" align="right" height="24" nowrap><code>0x68000-0x6FFFF</code></td> 701 </tr> 702 <tr> 703<td width="100%" align="right" height="24" nowrap><code>0x70000-0x77FFF</code></td> 704 </tr> 705 <tr> 706<td width="100%" align="right" height="24" nowrap><code>0x78000-0x7FFFF</code></td> 707 </tr> 708 </table> 709 </td> 710 <td width="24%"> 711 <table border="1" cellspacing="1" width="100%" cellpadding="0"> 712 <tr> 713<th width="100%" height="24" align="center" nowrap><code>Low Memory Bank</code></th> 714 </tr> 715 <tr> 716<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP0(EVEN)</code></td> 717 </tr> 718 <tr> 719<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP0 (ODD)</code></td> 720 </tr> 721 <tr> 722<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP1(EVEN)</code></td> 723 </tr> 724 <tr> 725<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP1 (ODD)</code></td> 726 </tr> 727 <tr> 728<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP2(EVEN)</code></td> 729 </tr> 730 <tr> 731<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP2 (ODD)</code></td> 732 </tr> 733 <tr> 734<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP3(EVEN)</code></td> 735 </tr> 736 <tr> 737<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP3 (ODD)</code></td> 738 </tr> 739 <tr> 740<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP4(EVEN)</code></td> 741 </tr> 742 <tr> 743<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP4 (ODD)</code></td> 744 </tr> 745 <tr> 746<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP5(EVEN)</code></td> 747 </tr> 748 <tr> 749<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP5 (ODD)</code></td> 750 </tr> 751 <tr> 752<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP6(EVEN)</code></td> 753 </tr> 754 <tr> 755<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP6 (ODD)</code></td> 756 </tr> 757 <tr> 758<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP7(EVEN)</code></td> 759 </tr> 760 <tr> 761<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP7 (ODD)</code></td> 762 </tr> 763 </table> 764 </td> 765 <td width="4%"></td> 766 <td width="24%"> 767 <table border="1" cellspacing="1" width="100%" cellpadding="0" height="409"> 768 <tr> 769<th width="100%" height="24" nowrap><code>High Memory Bank</code></th> 770 </tr> 771 <tr> 772 <td width="100%" height="24" nowrap><code> </code></td> 773 </tr> 774 <tr> 775 <td width="100%" height="24" nowrap><code> </code></td> 776 </tr> 777 <tr> 778 <td width="100%" height="24" nowrap><code> </code></td> 779 </tr> 780 <tr> 781 <td width="100%" height="24" nowrap><code> </code></td> 782 </tr> 783 <tr> 784 <td width="100%" height="24" nowrap><code> </code></td> 785 </tr> 786 <tr> 787 <td width="100%" height="24" nowrap><code> </code></td> 788 </tr> 789 <tr> 790 <td width="100%" height="24" nowrap><code> </code></td> 791 </tr> 792 <tr> 793 <td width="100%" height="24" nowrap><code> </code></td> 794 </tr> 795 <tr> 796<td width="100%" height="199" align="center" nowrap bgcolor="#CCCCCC"><code>TLUT</code></td> 797 </tr> 798 </table> 799 </td> 800 <td width="24%"> 801 <table border="0" width="100%" cellspacing="1" cellpadding="0"> 802 <tr> 803 <td width="100%" height="24" align="left" nowrap></td> 804 </tr> 805 <tr> 806<td width="100%" height="24" align="left" nowrap><code>0x80000-0x87FFF</code></td> 807 </tr> 808 <tr> 809<td width="100%" height="24" align="left" nowrap><code>0x88000-0x8FFFF</code></td> 810 </tr> 811 <tr> 812<td width="100%" height="24" align="left" nowrap><code>0x90000-0x97FFF</code></td> 813 </tr> 814 <tr> 815<td width="100%" height="24" align="left" nowrap><code>0x98000-0x9FFFF</code></td> 816 </tr> 817 <tr> 818<td width="100%" height="24" align="left" nowrap><code>0xA0000-0xA7FFF</code></td> 819 </tr> 820 <tr> 821<td width="100%" height="24" align="left" nowrap><code>0xA8000-0xAFFFF</code></td> 822 </tr> 823 <tr> 824<td width="100%" height="24" align="left" nowrap><code>0xB0000-0xB7FFF</code></td> 825 </tr> 826 <tr> 827<td width="100%" height="24" align="left" nowrap><code>0xB8000-0xBFFFF</code></td> 828 </tr> 829 <tr> 830 <td width="100%" height="24" align="left" nowrap></td> 831 </tr> 832 <tr> 833 <td width="100%" height="24" align="left" nowrap></td> 834 </tr> 835 <tr> 836 <td width="100%" height="24" align="left" nowrap></td> 837 </tr> 838 <tr> 839<td width="100%" height="24" align="left" nowrap><code>0xC0000-0xFFFFF</code></td> 840 </tr> 841 <tr> 842 <td width="100%" height="24" align="left" nowrap></td> 843 </tr> 844 <tr> 845 <td width="100%" height="24" align="left" nowrap></td> 846 </tr> 847 <tr> 848 <td width="100%" height="24" align="left" nowrap></td> 849 </tr> 850 <tr> 851 <td width="100%" height="24" align="left" nowrap></td> 852 </tr> 853 </table> 854 </td> 855 </tr> 856</table> 857<h4>RGBA8, Mipmap OFF:</h4> 858<p>RGBA8(32bit) textures are a special case; even the non-mipmapped textures need cache areas in both the Low and High Memory Banks. So the memory allocation is similar to the mipmapped normal texture case.</p> 859<table border="0" width="100%" cellspacing="1"> 860 <tr> 861 <td width="24%"> 862 <table border="0" width="100%" cellspacing="1" cellpadding="0"> 863 <tr> 864 <td width="100%" height="24" nowrap><code> </code></td> 865 </tr> 866 <tr> 867<td width="100%" align="right" height="24" nowrap><code>0x00000-0x07FFF</code></td> 868 </tr> 869 <tr> 870<td width="100%" align="right" height="24" nowrap><code>0x08000-0x0FFFF</code></td> 871 </tr> 872 <tr> 873<td width="100%" align="right" height="24" nowrap><code>0x10000-0x17FFF</code></td> 874 </tr> 875 <tr> 876<td width="100%" align="right" height="24" nowrap><code>0x18000-0x1FFFF</code></td> 877 </tr> 878 <tr> 879<td width="100%" align="right" height="24" nowrap><code>0x20000-0x27FFF</code></td> 880 </tr> 881 <tr> 882<td width="100%" align="right" height="24" nowrap><code>0x28000-0x2FFFF</code></td> 883 </tr> 884 <tr> 885<td width="100%" align="right" height="24" nowrap><code>0x30000-0x37FFF</code></td> 886 </tr> 887 <tr> 888<td width="100%" align="right" height="24" nowrap><code>0x38000-0x3FFFF</code></td> 889 </tr> 890 <tr> 891<td width="100%" align="right" height="24" nowrap><code>0x40000-0x47FFF</code></td> 892 </tr> 893 <tr> 894<td width="100%" align="right" height="24" nowrap><code>0x48000-0x4FFFF</code></td> 895 </tr> 896 <tr> 897<td width="100%" align="right" height="24" nowrap><code>0x50000-0x57FFF</code></td> 898 </tr> 899 <tr> 900<td width="100%" align="right" height="24" nowrap><code>0x58000-0x5FFFF</code></td> 901 </tr> 902 <tr> 903<td width="100%" align="right" height="24" nowrap><code>0x60000-0x67FFF</code></td> 904 </tr> 905 <tr> 906<td width="100%" align="right" height="24" nowrap><code>0x68000-0x6FFFF</code></td> 907 </tr> 908 <tr> 909<td width="100%" align="right" height="24" nowrap><code>0x70000-0x77FFF</code></td> 910 </tr> 911 <tr> 912<td width="100%" align="right" height="24" nowrap><code>0x78000-0x7FFFF</code></td> 913 </tr> 914 </table> 915 </td> 916 <td width="24%"> 917 <table border="1" cellspacing="1" width="100%" cellpadding="0"> 918 <tr> 919<th width="100%" height="24" align="center" nowrap><code>Low Memory Bank</code></th> 920 </tr> 921 <tr> 922<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP0</code></td> 923 </tr> 924 <tr> 925 <td width="100%" height="24" align="center" nowrap><code> </code></td> 926 </tr> 927 <tr> 928<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP1</code></td> 929 </tr> 930 <tr> 931 <td width="100%" height="24" align="center" nowrap><code> </code></td> 932 </tr> 933 <tr> 934<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP2</code></td> 935 </tr> 936 <tr> 937 <td width="100%" height="24" align="center" nowrap><code> </code></td> 938 </tr> 939 <tr> 940<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP3</code></td> 941 </tr> 942 <tr> 943 <td width="100%" height="24" align="center" nowrap><code> </code></td> 944 </tr> 945 <tr> 946<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP4</code></td> 947 </tr> 948 <tr> 949 <td width="100%" height="24" align="center" nowrap><code> </code></td> 950 </tr> 951 <tr> 952<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP5</code></td> 953 </tr> 954 <tr> 955 <td width="100%" height="24" align="center" nowrap><code> </code></td> 956 </tr> 957 <tr> 958<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP6</code></td> 959 </tr> 960 <tr> 961 <td width="100%" height="24" align="center" nowrap><code> </code></td> 962 </tr> 963 <tr> 964<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP7</code></td> 965 </tr> 966 <tr> 967 <td width="100%" height="24" align="center" nowrap><code> </code></td> 968 </tr> 969 </table> 970 </td> 971 <td width="4%"></td> 972 <td width="24%"> 973 <table border="1" cellspacing="1" width="100%" cellpadding="0" height="409"> 974 <tr> 975<th width="100%" height="24" nowrap><code>High Memory Bank</code></th> 976 </tr> 977 <tr> 978<td width="100%" height="24" nowrap align="center" bgcolor="#CCFFFF"><code>GX_TEXMAP0</code></td> 979 </tr> 980 <tr> 981<td width="100%" height="24" nowrap align="center" bgcolor="#CCFFFF"><code>GX_TEXMAP4</code></td> 982 </tr> 983 <tr> 984<td width="100%" height="24" nowrap align="center" bgcolor="#CCFFFF"><code>GX_TEXMAP1</code></td> 985 </tr> 986 <tr> 987<td width="100%" height="24" nowrap align="center" bgcolor="#CCFFFF"><code>GX_TEXMAP5</code></td> 988 </tr> 989 <tr> 990<td width="100%" height="24" nowrap align="center" bgcolor="#CCFFFF"><code>GX_TEXMAP2</code></td> 991 </tr> 992 <tr> 993<td width="100%" height="24" nowrap align="center" bgcolor="#CCFFFF"><code>GX_TEXMAP6</code></td> 994 </tr> 995 <tr> 996<td width="100%" height="24" nowrap align="center" bgcolor="#CCFFFF"><code>GX_TEXMAP3</code></td> 997 </tr> 998 <tr> 999<td width="100%" height="24" nowrap align="center" bgcolor="#CCFFFF"><code>GX_TEXMAP7</code></td> 1000 </tr> 1001 <tr> 1002<td width="100%" height="199" align="center" nowrap bgcolor="#CCCCCC"><code>TLUT</code></td> 1003 </tr> 1004 </table> 1005 </td> 1006 <td width="24%"> 1007 <table border="0" width="100%" cellspacing="1" cellpadding="0"> 1008 <tr> 1009 <td width="100%" height="24" align="left" nowrap></td> 1010 </tr> 1011 <tr> 1012<td width="100%" height="24" align="left" nowrap><code>0x80000-0x87FFF</code></td> 1013 </tr> 1014 <tr> 1015<td width="100%" height="24" align="left" nowrap><code>0x88000-0x8FFFF</code></td> 1016 </tr> 1017 <tr> 1018<td width="100%" height="24" align="left" nowrap><code>0x90000-0x97FFF</code></td> 1019 </tr> 1020 <tr> 1021<td width="100%" height="24" align="left" nowrap><code>0x98000-0x9FFFF</code></td> 1022 </tr> 1023 <tr> 1024<td width="100%" height="24" align="left" nowrap><code>0xA0000-0xA7FFF</code></td> 1025 </tr> 1026 <tr> 1027<td width="100%" height="24" align="left" nowrap><code>0xA8000-0xAFFFF</code></td> 1028 </tr> 1029 <tr> 1030<td width="100%" height="24" align="left" nowrap><code>0xB0000-0xB7FFF</code></td> 1031 </tr> 1032 <tr> 1033<td width="100%" height="24" align="left" nowrap><code>0xB8000-0xBFFFF</code></td> 1034 </tr> 1035 <tr> 1036 <td width="100%" height="24" align="left" nowrap></td> 1037 </tr> 1038 <tr> 1039 <td width="100%" height="24" align="left" nowrap></td> 1040 </tr> 1041 <tr> 1042 <td width="100%" height="24" align="left" nowrap></td> 1043 </tr> 1044 <tr> 1045<td width="100%" height="24" align="left" nowrap><code>0xC0000-0xFFFFF</code></td> 1046 </tr> 1047 <tr> 1048 <td width="100%" height="24" align="left" nowrap></td> 1049 </tr> 1050 <tr> 1051 <td width="100%" height="24" align="left" nowrap></td> 1052 </tr> 1053 <tr> 1054 <td width="100%" height="24" align="left" nowrap></td> 1055 </tr> 1056 <tr> 1057 <td width="100%" height="24" align="left" nowrap></td> 1058 </tr> 1059 </table> 1060 </td> 1061 </tr> 1062</table> 1063<h4>RGBA8, Mipmap ON:</h4> 1064<p>RGBA8 (32-bit) format mipmapped textures are even more special. Two consecutive cache areas are necessary in both the Low and High Memory Banks. As a result, it is not possible to allocate independent areas for all texture IDs in the High Memory Bank, therefore the same cache area is shared by <CODE>GX_TEXMAP0</CODE> and <CODE>GX_TEXMAP4</CODE>. The user must be careful to avoid cache collision.</p> 1065<table border="0" width="100%" cellspacing="1"> 1066 <tr> 1067 <td width="24%"> 1068 <table border="0" width="100%" cellspacing="1" cellpadding="0"> 1069 <tr> 1070 <td width="100%" height="24" nowrap><code> </code></td> 1071 </tr> 1072 <tr> 1073<td width="100%" align="right" height="24" nowrap><code>0x00000-0x07FFF</code></td> 1074 </tr> 1075 <tr> 1076<td width="100%" align="right" height="24" nowrap><code>0x08000-0x0FFFF</code></td> 1077 </tr> 1078 <tr> 1079<td width="100%" align="right" height="24" nowrap><code>0x10000-0x17FFF</code></td> 1080 </tr> 1081 <tr> 1082<td width="100%" align="right" height="24" nowrap><code>0x18000-0x1FFFF</code></td> 1083 </tr> 1084 <tr> 1085<td width="100%" align="right" height="24" nowrap><code>0x20000-0x27FFF</code></td> 1086 </tr> 1087 <tr> 1088<td width="100%" align="right" height="24" nowrap><code>0x28000-0x2FFFF</code></td> 1089 </tr> 1090 <tr> 1091<td width="100%" align="right" height="24" nowrap><code>0x30000-0x37FFF</code></td> 1092 </tr> 1093 <tr> 1094<td width="100%" align="right" height="24" nowrap><code>0x38000-0x3FFFF</code></td> 1095 </tr> 1096 <tr> 1097<td width="100%" align="right" height="24" nowrap><code>0x40000-0x47FFF</code></td> 1098 </tr> 1099 <tr> 1100<td width="100%" align="right" height="24" nowrap><code>0x48000-0x4FFFF</code></td> 1101 </tr> 1102 <tr> 1103<td width="100%" align="right" height="24" nowrap><code>0x50000-0x57FFF</code></td> 1104 </tr> 1105 <tr> 1106<td width="100%" align="right" height="24" nowrap><code>0x58000-0x5FFFF</code></td> 1107 </tr> 1108 <tr> 1109<td width="100%" align="right" height="24" nowrap><code>0x60000-0x67FFF</code></td> 1110 </tr> 1111 <tr> 1112<td width="100%" align="right" height="24" nowrap><code>0x68000-0x6FFFF</code></td> 1113 </tr> 1114 <tr> 1115<td width="100%" align="right" height="24" nowrap><code>0x70000-0x77FFF</code></td> 1116 </tr> 1117 <tr> 1118<td width="100%" align="right" height="24" nowrap><code>0x78000-0x7FFFF</code></td> 1119 </tr> 1120 </table> 1121 </td> 1122 <td width="24%"> 1123 <table border="1" cellspacing="1" width="100%" cellpadding="0"> 1124 <tr> 1125<th width="100%" height="24" align="center" nowrap><code>Low Memory Bank</code></th> 1126 </tr> 1127 <tr> 1128<td width="100%" height="48" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP0(EVEN)</code></td> 1129 </tr> 1130 <tr> 1131<td width="100%" height="48" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP1 (ODD)</code></td> 1132 </tr> 1133 <tr> 1134<td width="100%" height="48" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP2(EVEN)</code></td> 1135 </tr> 1136 <tr> 1137<td width="100%" height="48" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP3 (ODD)</code></td> 1138 </tr> 1139 <tr> 1140<td width="100%" height="48" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP4(EVEN)</code></td> 1141 </tr> 1142 <tr> 1143<td width="100%" height="48" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP5 (ODD)</code></td> 1144 </tr> 1145 <tr> 1146<td width="100%" height="48" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP6(EVEN)</code></td> 1147 </tr> 1148 <tr> 1149<td width="100%" height="48" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP7 (ODD)</code></td> 1150 </tr> 1151 </table> 1152 </td> 1153 <td width="4%"></td> 1154 <td width="24%"> 1155 <table border="1" cellspacing="1" width="100%" cellpadding="0" height="409"> 1156 <tr> 1157<th width="100%" height="24" nowrap><code>High Memory Bank</code></th> 1158 </tr> 1159 <tr> 1160<td width="100%" height="48" nowrap align="center" bgcolor="#CCFFFF"><code>GX_TEXMAP0 (ODD)<br> GX_TEXMAP4 (ODD)</code></td> 1161 </tr> 1162 <tr> 1163<td width="100%" height="48" nowrap align="center" bgcolor="#CCFFFF"><code>GX_TEXMAP1(EVEN)<br> GX_TEXMAP5(EVEN)</code></td> 1164 </tr> 1165 <tr> 1166<td width="100%" height="48" nowrap align="center" bgcolor="#CCFFFF"><code>GX_TEXMAP2 (ODD)<br> GX_TEXMAP6 (ODD)</code></td> 1167 </tr> 1168 <tr> 1169<td width="100%" height="48" nowrap align="center" bgcolor="#CCFFFF"><code>GX_TEXMAP3(EVEN)<br> GX_TEXMAP7(EVEN)</code></td> 1170 </tr> 1171 <tr> 1172<td width="100%" height="195" align="center" nowrap bgcolor="#CCCCCC"><code>TLUT</code></td> 1173 </tr> 1174 </table> 1175 </td> 1176 <td width="24%"> 1177 <table border="0" width="100%" cellspacing="1" cellpadding="0"> 1178 <tr> 1179 <td width="100%" height="24" align="left" nowrap></td> 1180 </tr> 1181 <tr> 1182<td width="100%" height="24" align="left" nowrap><code>0x80000-0x87FFF</code></td> 1183 </tr> 1184 <tr> 1185<td width="100%" height="24" align="left" nowrap><code>0x88000-0x8FFFF</code></td> 1186 </tr> 1187 <tr> 1188<td width="100%" height="24" align="left" nowrap><code>0x90000-0x97FFF</code></td> 1189 </tr> 1190 <tr> 1191<td width="100%" height="24" align="left" nowrap><code>0x98000-0x9FFFF</code></td> 1192 </tr> 1193 <tr> 1194<td width="100%" height="24" align="left" nowrap><code>0xA0000-0xA7FFF</code></td> 1195 </tr> 1196 <tr> 1197<td width="100%" height="24" align="left" nowrap><code>0xA8000-0xAFFFF</code></td> 1198 </tr> 1199 <tr> 1200<td width="100%" height="24" align="left" nowrap><code>0xB0000-0xB7FFF</code></td> 1201 </tr> 1202 <tr> 1203<td width="100%" height="24" align="left" nowrap><code>0xB8000-0xBFFFF</code></td> 1204 </tr> 1205 <tr> 1206 <td width="100%" height="24" align="left" nowrap></td> 1207 </tr> 1208 <tr> 1209 <td width="100%" height="24" align="left" nowrap></td> 1210 </tr> 1211 <tr> 1212 <td width="100%" height="24" align="left" nowrap></td> 1213 </tr> 1214 <tr> 1215<td width="100%" height="24" align="left" nowrap><code>0xC0000-0xFFFFF</code></td> 1216 </tr> 1217 <tr> 1218 <td width="100%" height="24" align="left" nowrap></td> 1219 </tr> 1220 <tr> 1221 <td width="100%" height="24" align="left" nowrap></td> 1222 </tr> 1223 <tr> 1224 <td width="100%" height="24" align="left" nowrap></td> 1225 </tr> 1226 <tr> 1227 <td width="100%" height="24" align="left" nowrap></td> 1228 </tr> 1229 </table> 1230 </td> 1231 </tr> 1232</table> 1233<h4>Cache Conflicts and Avoidance</h4> 1234<p>As noted above, cache conflicts can occur with RGBA8 (32-bit) mipmapped textures. There is also a possibility that RGBA8 texture affects caches for other types of texture. Here's an example:</p> 1235<div align="center"> 1236 <center> 1237 <table border="1" cellspacing="1" width="50%"> 1238 <tr> 1239<td width="38%" nowrap><code>GX_TEXMAP0</code></td> 1240<td width="62%" nowrap><code>GX_TF_RGBA8</code>, Mipmap ON.</td> 1241 </tr> 1242 <tr> 1243<td width="38%" nowrap><code>GX_TEXMAP1</code></td> 1244<td width="62%" nowrap><code>GX_TF_I8</code>, Mipmap ON.</td> 1245 </tr> 1246 <tr> 1247<td width="38%" nowrap><code>GX_TEXMAP2</code></td> 1248<td width="62%" nowrap><code>GX_TF_C8</code>, Mipmap ON.</td> 1249 </tr> 1250 <tr> 1251<td width="38%" nowrap><code>GX_TEXMAP3</code></td> 1252<td width="62%" nowrap><code>GX_TF_RGB565</code>, Mipmap OFF.</td> 1253 </tr> 1254 <tr> 1255<td width="38%" nowrap><code>GX_TEXMAP4</code></td> 1256<td width="62%" nowrap><code>GX_TF_RGBA8</code>, Mipmap OFF.</td> 1257 </tr> 1258 <tr> 1259<td width="38%" nowrap><code>GX_TEXMAP5</code></td> 1260<td width="62%" nowrap><code>GX_TF_RGBA8</code>, Mipmap ON.</td> 1261 </tr> 1262 </table> 1263 </center> 1264</div> 1265<p>If multi-texturing is performed under this environment, cache conflicts may occur in the shared area for <CODE>GX_TEXMAP0</CODE> and <CODE>GX_TEXMAP4</CODE> and also in the shared area for <CODE>GX_TEXMAP1</CODE> and <CODE>GX_TEXMAP5</CODE>. (Corresponding to the red areas in the figure below.)</p> 1266<table border="0" width="100%" cellspacing="1"> 1267 <tr> 1268 <td width="24%"> 1269 <table border="0" width="100%" cellspacing="1" cellpadding="0"> 1270 <tr> 1271 <td width="100%" height="24" nowrap><code> </code></td> 1272 </tr> 1273 <tr> 1274<td width="100%" align="right" height="24" nowrap><code>0x00000-0x07FFF</code></td> 1275 </tr> 1276 <tr> 1277<td width="100%" align="right" height="24" nowrap><code>0x08000-0x0FFFF</code></td> 1278 </tr> 1279 <tr> 1280<td width="100%" align="right" height="24" nowrap><code>0x10000-0x17FFF</code></td> 1281 </tr> 1282 <tr> 1283<td width="100%" align="right" height="24" nowrap><code>0x18000-0x1FFFF</code></td> 1284 </tr> 1285 <tr> 1286<td width="100%" align="right" height="24" nowrap><code>0x20000-0x27FFF</code></td> 1287 </tr> 1288 <tr> 1289<td width="100%" align="right" height="24" nowrap><code>0x28000-0x2FFFF</code></td> 1290 </tr> 1291 <tr> 1292<td width="100%" align="right" height="24" nowrap><code>0x30000-0x37FFF</code></td> 1293 </tr> 1294 <tr> 1295<td width="100%" align="right" height="24" nowrap><code>0x38000-0x3FFFF</code></td> 1296 </tr> 1297 <tr> 1298<td width="100%" align="right" height="24" nowrap><code>0x40000-0x47FFF</code></td> 1299 </tr> 1300 <tr> 1301<td width="100%" align="right" height="24" nowrap><code>0x48000-0x4FFFF</code></td> 1302 </tr> 1303 <tr> 1304<td width="100%" align="right" height="24" nowrap><code>0x50000-0x57FFF</code></td> 1305 </tr> 1306 <tr> 1307<td width="100%" align="right" height="24" nowrap><code>0x58000-0x5FFFF</code></td> 1308 </tr> 1309 <tr> 1310<td width="100%" align="right" height="24" nowrap><code>0x60000-0x67FFF</code></td> 1311 </tr> 1312 <tr> 1313<td width="100%" align="right" height="24" nowrap><code>0x68000-0x6FFFF</code></td> 1314 </tr> 1315 <tr> 1316<td width="100%" align="right" height="24" nowrap><code>0x70000-0x77FFF</code></td> 1317 </tr> 1318 <tr> 1319<td width="100%" align="right" height="24" nowrap><code>0x78000-0x7FFFF</code></td> 1320 </tr> 1321 </table> 1322 </td> 1323 <td width="24%"> 1324 <table border="1" cellspacing="1" width="100%" cellpadding="0"> 1325 <tr> 1326<th width="100%" height="24" align="center" nowrap><code>Low Memory Bank</code></th> 1327 </tr> 1328 <tr> 1329<td width="100%" height="49" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP0(EVEN)</code></td> 1330 </tr> 1331 <tr> 1332<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP1 (ODD)</code></td> 1333 </tr> 1334 <tr> 1335 <td width="100%" height="24" align="center" nowrap><code> </code></td> 1336 </tr> 1337 <tr> 1338<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP2(EVEN)</code></td> 1339 </tr> 1340 <tr> 1341<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP2 (ODD)</code></td> 1342 </tr> 1343 <tr> 1344<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP3</code></td> 1345 </tr> 1346 <tr> 1347 <td width="100%" height="24" align="center" nowrap><code> </code></td> 1348 </tr> 1349 <tr> 1350<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP4</code></td> 1351 </tr> 1352 <tr> 1353 <td width="100%" height="24" align="center" nowrap><code> </code></td> 1354 </tr> 1355 <tr> 1356<td width="100%" height="49" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP5 (ODD)</code></td> 1357 </tr> 1358 <tr> 1359 <td width="100%" height="24" align="center" nowrap> </td> 1360 </tr> 1361 <tr> 1362 <td width="100%" height="24" align="center" nowrap><code> </code></td> 1363 </tr> 1364 <tr> 1365 <td width="100%" height="24" align="center" nowrap> </td> 1366 </tr> 1367 <tr> 1368 <td width="100%" height="24" align="center" nowrap><code> </code></td> 1369 </tr> 1370 </table> 1371 </td> 1372 <td width="4%"></td> 1373 <td width="24%"> 1374 <table border="1" cellspacing="1" width="100%" cellpadding="0" height="409"> 1375 <tr> 1376<th width="100%" height="24" nowrap><code>High Memory Bank</code></th> 1377 </tr> 1378 <tr> 1379<td width="100%" height="24" nowrap align="center" bgcolor="#CCFFFF"><code>GX_TEXMAP0 (ODD)</code></td> 1380 </tr> 1381 <tr> 1382<td width="100%" height="24" nowrap align="center" bgcolor="#FFCCCC"><code>GX_TEXMAP4</code></td> 1383 </tr> 1384 <tr> 1385<td width="100%" height="24" nowrap align="center" bgcolor="#FFCCCC"><code>GX_TEXMAP1(EVEN)</code></td> 1386 </tr> 1387 <tr> 1388<td width="100%" height="24" nowrap align="center" bgcolor="#CCFFFF"><code>GX_TEXMAP5(EVEN)</code></td> 1389 </tr> 1390 <tr> 1391 <td width="100%" height="24" nowrap align="center"><code> </code></td> 1392 </tr> 1393 <tr> 1394 <td width="100%" height="24" nowrap align="center"> </td> 1395 </tr> 1396 <tr> 1397 <td width="100%" height="24" nowrap align="center"><code> </code></td> 1398 </tr> 1399 <tr> 1400 <td width="100%" height="24" nowrap align="center"> </td> 1401 </tr> 1402 <tr> 1403<td width="100%" height="199" align="center" nowrap bgcolor="#CCCCCC"><code>TLUT</code></td> 1404 </tr> 1405 </table> 1406 </td> 1407 <td width="24%"> 1408 <table border="0" width="100%" cellspacing="1" cellpadding="0"> 1409 <tr> 1410 <td width="100%" height="24" align="left" nowrap></td> 1411 </tr> 1412 <tr> 1413<td width="100%" height="24" align="left" nowrap><code>0x80000-0x87FFF</code></td> 1414 </tr> 1415 <tr> 1416<td width="100%" height="24" align="left" nowrap><code>0x88000-0x8FFFF</code></td> 1417 </tr> 1418 <tr> 1419<td width="100%" height="24" align="left" nowrap><code>0x90000-0x97FFF</code></td> 1420 </tr> 1421 <tr> 1422<td width="100%" height="24" align="left" nowrap><code>0x98000-0x9FFFF</code></td> 1423 </tr> 1424 <tr> 1425<td width="100%" height="24" align="left" nowrap><code>0xA0000-0xA7FFF</code></td> 1426 </tr> 1427 <tr> 1428<td width="100%" height="24" align="left" nowrap><code>0xA8000-0xAFFFF</code></td> 1429 </tr> 1430 <tr> 1431<td width="100%" height="24" align="left" nowrap><code>0xB0000-0xB7FFF</code></td> 1432 </tr> 1433 <tr> 1434<td width="100%" height="24" align="left" nowrap><code>0xB8000-0xBFFFF</code></td> 1435 </tr> 1436 <tr> 1437 <td width="100%" height="24" align="left" nowrap></td> 1438 </tr> 1439 <tr> 1440 <td width="100%" height="24" align="left" nowrap></td> 1441 </tr> 1442 <tr> 1443 <td width="100%" height="24" align="left" nowrap></td> 1444 </tr> 1445 <tr> 1446<td width="100%" height="24" align="left" nowrap><code>0xC0000-0xFFFFF</code></td> 1447 </tr> 1448 <tr> 1449 <td width="100%" height="24" align="left" nowrap></td> 1450 </tr> 1451 <tr> 1452 <td width="100%" height="24" align="left" nowrap></td> 1453 </tr> 1454 <tr> 1455 <td width="100%" height="24" align="left" nowrap></td> 1456 </tr> 1457 <tr> 1458 <td width="100%" height="24" align="left" nowrap></td> 1459 </tr> 1460 </table> 1461 </td> 1462 </tr> 1463</table> 1464<p>Even though a cache collision occurs, corrupt graphics will not occur. However, performance may be affected. So it is best to avoid the collision if possible. In this example, by switching the use of <CODE>GX_TEXMAP1</CODE> and <CODE>GX_TEXMAP2</CODE>, and also switching <CODE>GX_TEXMAP3</CODE> and <CODE>GX_TEXMAP4</CODE>, no sections will need to be reused and the possibility of cache collision is avoided. This is shown in the table below.</p> 1465<table border="0" width="100%" cellspacing="1"> 1466 <tr> 1467 <td width="24%"> 1468 <table border="0" width="100%" cellspacing="1" cellpadding="0"> 1469 <tr> 1470 <td width="100%" height="24" nowrap><code> </code></td> 1471 </tr> 1472 <tr> 1473<td width="100%" align="right" height="24" nowrap><code>0x00000-0x07FFF</code></td> 1474 </tr> 1475 <tr> 1476<td width="100%" align="right" height="24" nowrap><code>0x08000-0x0FFFF</code></td> 1477 </tr> 1478 <tr> 1479<td width="100%" align="right" height="24" nowrap><code>0x10000-0x17FFF</code></td> 1480 </tr> 1481 <tr> 1482<td width="100%" align="right" height="24" nowrap><code>0x18000-0x1FFFF</code></td> 1483 </tr> 1484 <tr> 1485<td width="100%" align="right" height="24" nowrap><code>0x20000-0x27FFF</code></td> 1486 </tr> 1487 <tr> 1488<td width="100%" align="right" height="24" nowrap><code>0x28000-0x2FFFF</code></td> 1489 </tr> 1490 <tr> 1491<td width="100%" align="right" height="24" nowrap><code>0x30000-0x37FFF</code></td> 1492 </tr> 1493 <tr> 1494<td width="100%" align="right" height="24" nowrap><code>0x38000-0x3FFFF</code></td> 1495 </tr> 1496 <tr> 1497<td width="100%" align="right" height="24" nowrap><code>0x40000-0x47FFF</code></td> 1498 </tr> 1499 <tr> 1500<td width="100%" align="right" height="24" nowrap><code>0x48000-0x4FFFF</code></td> 1501 </tr> 1502 <tr> 1503<td width="100%" align="right" height="24" nowrap><code>0x50000-0x57FFF</code></td> 1504 </tr> 1505 <tr> 1506<td width="100%" align="right" height="24" nowrap><code>0x58000-0x5FFFF</code></td> 1507 </tr> 1508 <tr> 1509<td width="100%" align="right" height="24" nowrap><code>0x60000-0x67FFF</code></td> 1510 </tr> 1511 <tr> 1512<td width="100%" align="right" height="24" nowrap><code>0x68000-0x6FFFF</code></td> 1513 </tr> 1514 <tr> 1515<td width="100%" align="right" height="24" nowrap><code>0x70000-0x77FFF</code></td> 1516 </tr> 1517 <tr> 1518<td width="100%" align="right" height="24" nowrap><code>0x78000-0x7FFFF</code></td> 1519 </tr> 1520 </table> 1521 </td> 1522 <td width="24%"> 1523 <table border="1" cellspacing="1" width="100%" cellpadding="0"> 1524 <tr> 1525<th width="100%" height="24" align="center" nowrap><code>Low Memory Bank</code></th> 1526 </tr> 1527 <tr> 1528<td width="100%" height="49" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP0(EVEN)</code></td> 1529 </tr> 1530 <tr> 1531<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP1(EVEN)</code></td> 1532 </tr> 1533 <tr> 1534<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP1 (ODD)</code></td> 1535 </tr> 1536 <tr> 1537<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP2(EVEN)</code></td> 1538 </tr> 1539 <tr> 1540 <td width="100%" height="24" align="center" nowrap><code> </code></td> 1541 </tr> 1542 <tr> 1543<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP3</code></td> 1544 </tr> 1545 <tr> 1546 <td width="100%" height="24" align="center" nowrap><code> </code></td> 1547 </tr> 1548 <tr> 1549<td width="100%" height="24" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP4</code></td> 1550 </tr> 1551 <tr> 1552 <td width="100%" height="24" align="center" nowrap><code> </code></td> 1553 </tr> 1554 <tr> 1555<td width="100%" height="49" align="center" nowrap bgcolor="#CCFFFF"><code>GX_TEXMAP5 (ODD)</code></td> 1556 </tr> 1557 <tr> 1558 <td width="100%" height="24" align="center" nowrap> </td> 1559 </tr> 1560 <tr> 1561 <td width="100%" height="24" align="center" nowrap><code> </code></td> 1562 </tr> 1563 <tr> 1564 <td width="100%" height="24" align="center" nowrap> </td> 1565 </tr> 1566 <tr> 1567 <td width="100%" height="24" align="center" nowrap><code> </code></td> 1568 </tr> 1569 </table> 1570 </td> 1571 <td width="4%"></td> 1572 <td width="24%"> 1573 <table border="1" cellspacing="1" width="100%" cellpadding="0" height="409"> 1574 <tr> 1575<th width="100%" height="24" nowrap><code>High Memory Bank</code></th> 1576 </tr> 1577 <tr> 1578<td width="100%" height="48" nowrap align="center" bgcolor="#CCFFFF"><code>GX_TEXMAP0 (ODD)</code></td> 1579 </tr> 1580 <tr> 1581<td width="100%" height="48" nowrap align="center" bgcolor="#CCFFFF"><code>GX_TEXMAP5(EVEN)</code></td> 1582 </tr> 1583 <tr> 1584<td width="100%" height="24" nowrap align="center" bgcolor="#CCFFFF"><code>GX_TEXMAP2 (ODD)</code></td> 1585 </tr> 1586 <tr> 1587 <td width="100%" height="24" nowrap align="center"> </td> 1588 </tr> 1589 <tr> 1590<td width="100%" height="24" nowrap align="center" bgcolor="#CCFFFF"><code>GX_TEXMAP3</code></td> 1591 </tr> 1592 <tr> 1593 <td width="100%" height="24" nowrap align="center"> </td> 1594 </tr> 1595 <tr> 1596<td width="100%" height="199" align="center" nowrap bgcolor="#CCCCCC"><code>TLUT</code></td> 1597 </tr> 1598 </table> 1599 </td> 1600 <td width="24%"> 1601 <table border="0" width="100%" cellspacing="1" cellpadding="0"> 1602 <tr> 1603 <td width="100%" height="24" align="left" nowrap></td> 1604 </tr> 1605 <tr> 1606<td width="100%" height="24" align="left" nowrap><code>0x80000-0x87FFF</code></td> 1607 </tr> 1608 <tr> 1609<td width="100%" height="24" align="left" nowrap><code>0x88000-0x8FFFF</code></td> 1610 </tr> 1611 <tr> 1612<td width="100%" height="24" align="left" nowrap><code>0x90000-0x97FFF</code></td> 1613 </tr> 1614 <tr> 1615<td width="100%" height="24" align="left" nowrap><code>0x98000-0x9FFFF</code></td> 1616 </tr> 1617 <tr> 1618<td width="100%" height="24" align="left" nowrap><code>0xA0000-0xA7FFF</code></td> 1619 </tr> 1620 <tr> 1621<td width="100%" height="24" align="left" nowrap><code>0xA8000-0xAFFFF</code></td> 1622 </tr> 1623 <tr> 1624<td width="100%" height="24" align="left" nowrap><code>0xB0000-0xB7FFF</code></td> 1625 </tr> 1626 <tr> 1627<td width="100%" height="24" align="left" nowrap><code>0xB8000-0xBFFFF</code></td> 1628 </tr> 1629 <tr> 1630 <td width="100%" height="24" align="left" nowrap></td> 1631 </tr> 1632 <tr> 1633 <td width="100%" height="24" align="left" nowrap></td> 1634 </tr> 1635 <tr> 1636 <td width="100%" height="24" align="left" nowrap></td> 1637 </tr> 1638 <tr> 1639<td width="100%" height="24" align="left" nowrap><code>0xC0000-0xFFFFF</code></td> 1640 </tr> 1641 <tr> 1642 <td width="100%" height="24" align="left" nowrap></td> 1643 </tr> 1644 <tr> 1645 <td width="100%" height="24" align="left" nowrap></td> 1646 </tr> 1647 <tr> 1648 <td width="100%" height="24" align="left" nowrap></td> 1649 </tr> 1650 <tr> 1651 <td width="100%" height="24" align="left" nowrap></td> 1652 </tr> 1653 </table> 1654 </td> 1655 </tr> 1656</table> 1657<p>The use of a multi-texture environment with four or fewer textures (only <CODE>GX_TEXMAP0</code> through <CODE>GX_TEXMAP3</code>) eliminates conflict concerns. Concerns therefore arise when five or more textures are used and there is an RGBA8 mipmapped texture.</p> 1658 1659<h4>TLUT</h4> 1660<p>The addresses <CODE>0xC0000-0xFFFFF</CODE> in the High Memory Bank are allocated as TLUT for color index textures: sixteen 256-entry tables (using eight kilobytes each), and four 1024-entry tables (using 32 KB each), as shown in the following table.</p> 1661<table border="0" width="100%" cellspacing="1"> 1662 <tr> 1663 <td width="24%"> 1664 <table border="0" width="100%" cellspacing="1" cellpadding="0"> 1665 <tr> 1666 <td width="100%" height="24" nowrap><code> </code></td> 1667 </tr> 1668 <tr> 1669<td width="100%" align="right" height="24" nowrap><code>0xC0000-0xC1FFF</code></td> 1670 </tr> 1671 <tr> 1672<td width="100%" align="right" height="24" nowrap><code>0xC2000-0xC3FFF</code></td> 1673 </tr> 1674 <tr> 1675<td width="100%" align="right" height="24" nowrap><code>0xC4000-0xC5FFF</code></td> 1676 </tr> 1677 <tr> 1678<td width="100%" align="right" height="24" nowrap><code>0xC6000-0xC7FFF</code></td> 1679 </tr> 1680 <tr> 1681 <td width="100%" align="right" height="24" nowrap><code> </code></td> 1682 </tr> 1683 <tr> 1684<td width="100%" align="right" height="24" nowrap><code>0xDA000-0xDBFFF</code></td> 1685 </tr> 1686 <tr> 1687<td width="100%" align="right" height="24" nowrap><code>0xDC000-0xDDFFF</code></td> 1688 </tr> 1689 <tr> 1690<td width="100%" align="right" height="24" nowrap><code>0xDE000-0xDFFFF</code></td> 1691 </tr> 1692 <tr> 1693<td width="100%" align="right" height="24" nowrap><code>0xE0000-0xE7FFF</code></td> 1694 </tr> 1695 <tr> 1696 <td width="100%" align="right" height="24" nowrap><code> </code></td> 1697 </tr> 1698 <tr> 1699<td width="100%" align="right" height="24" nowrap><code>0xE8000-0xEFFFF</code></td> 1700 </tr> 1701 <tr> 1702 <td width="100%" align="right" height="24" nowrap><code> </code></td> 1703 </tr> 1704 <tr> 1705<td width="100%" align="right" height="24" nowrap><code>0xF0000-0xF7FFF</code></td> 1706 </tr> 1707 <tr> 1708 <td width="100%" align="right" height="24" nowrap><code> </code></td> 1709 </tr> 1710 <tr> 1711<td width="100%" align="right" height="24" nowrap><code>0xF8000-0xFFFFF</code></td> 1712 </tr> 1713 <tr> 1714 <td width="100%" align="right" height="24" nowrap><code> </code></td> 1715 </tr> 1716 </table> 1717 </td> 1718 <td width="24%"> 1719 <table border="1" cellspacing="1" width="100%" cellpadding="0"> 1720 <tr> 1721<th width="100%" height="24" align="center" nowrap><code>TLUT</code></th> 1722 </tr> 1723 <tr> 1724<td width="100%" height="24" align="center" nowrap><code>GX_TLUT0</code></td> 1725 </tr> 1726 <tr> 1727<td width="100%" height="24" align="center" nowrap><code>GX_TLUT1</code></td> 1728 </tr> 1729 <tr> 1730<td width="100%" height="24" align="center" nowrap><code>GX_TLUT2</code></td> 1731 </tr> 1732 <tr> 1733<td width="100%" height="24" align="center" nowrap><code>GX_TLUT3</code></td> 1734 </tr> 1735 <tr> 1736 <td width="100%" height="24" align="center" nowrap><code>:</code></td> 1737 </tr> 1738 <tr> 1739<td width="100%" height="24" align="center" nowrap><code>GX_TLUT13</code></td> 1740 </tr> 1741 <tr> 1742<td width="100%" height="24" align="center" nowrap><code>GX_TLUT14</code></td> 1743 </tr> 1744 <tr> 1745<td width="100%" height="24" align="center" nowrap><code>GX_TLUT15</code></td> 1746 </tr> 1747 <tr> 1748<td width="100%" height="48" align="center" nowrap><code>GX_BIGTLUT0</code></td> 1749 </tr> 1750 <tr> 1751<td width="100%" height="49" align="center" nowrap><code>GX_BIGTLUT1</code></td> 1752 </tr> 1753 <tr> 1754<td width="100%" height="48" align="center" nowrap> <code>GX_BIGTLUT2</code></td> 1755 </tr> 1756 <tr> 1757<td width="100%" height="48" align="center" nowrap> <code>GX_BIGTLUT3</code></td> 1758 </tr> 1759 </table> 1760 </td> 1761 <td width="24%"> 1762 </td> 1763 </tr> 1764</table> 1765 1766<h2>See Also</h2> 1767<p class="reference"> 1768<a href="../Management/GXInit.html">GXInit</a>, 1769<a href="GXLoadTexObj.html">GXLoadTexObj</a>, 1770<a href="GXInitTexCacheRegion.html">GXInitTexCacheRegion</a>, 1771<a href="GXInitTlutRegion.html">GXInitTlutRegion</a>, 1772<a href="GXSetTexRegionCallback.html">GXSetTexRegionCallBack</a>, 1773<a href="GXSetTlutRegionCallback.html">GXSetTlutRegionCallBack</a> 1774</p> 1775 1776<H2>Revision History</H2> 1777<P> 17782006/03/01 Initial version.<br> 1779</P> 1780 1781<hr><p>CONFIDENTIAL</p></body> 1782</HTML>