This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
super_mario_64:fast3d_display_list_commands [2018/01/10 04:54] cpuhacka101 [06: F3D_DL] |
super_mario_64:fast3d_display_list_commands [2018/01/10 05:01] (current) cpuhacka101 [03: F3D_MOVEMEM] |
||
---|---|---|---|
Line 27: | Line 27: | ||
==== 03: F3D_MOVEMEM ==== | ==== 03: F3D_MOVEMEM ==== | ||
- | Used in Super Mario 64 to load vector normals (shading) RGB values. | + | Used in Super Mario 64 to load vector lighting ambient/diffuse RGBA values. |
- | ''03 [<color darkgrey>TT</color>] 00 00 [<color purple>AA AA AA AA</color>]'' | + | ''03 [<color darkgrey>TT</color>] 00 10 [<color purple>AA AA AA AA</color>]'' |
- | | <color darkgrey>T</color> | If 86, loads light values. If 88, loads dark values | | + | | <color darkgrey>T</color> | If 0x86, loads diffuse(light) values. If 0x88, loads ambient(dark) values | |
- | | <color purple>A</color> | Segmented address of vectors | | + | | <color purple>A</color> | Segmented address of RGBA | |
- | Example: Loads light RGB from 0x0 in RAM bank 0x0E; loads dark RGB from 0x08 in RAM Bank 0x0E | + | Example: Loads diffuse RGBA from 0x0 in RAM bank 0x0E; loads ambient RGBA from 0x08 in RAM Bank 0x0E |
- | 03 86 00 00 0E 00 00 00 | + | 03 86 00 10 0E 00 00 00 |
- | 03 88 00 00 0E 00 00 08 | + | 03 88 00 10 0E 00 00 08 |
---- | ---- |