This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
f3dex2 [2019/05/13 07:56] shygoo [ED: G_SETSCISSOR] correct mode field position |
f3dex2 [2019/10/03 23:35] jesusyoshi54 [F2: G_SETTILESIZE] |
||
---|---|---|---|
Line 232: | Line 232: | ||
''D9 [<color #22b14c>CC CC CC</color>] [<color purple>SS SS SS SS</color>]'' | ''D9 [<color #22b14c>CC CC CC</color>] [<color purple>SS SS SS SS</color>]'' | ||
- | | <color #22b14c>C</color> | Various parameters to clear | | + | | <color #22b14c>C</color> | ~(Various parameters to clear) | |
| <color purple>S</color> | Various parameters to set | | | <color purple>S</color> | Various parameters to set | | ||
+ | |||
+ | Note: Parameters that are cleared have their bits inverted in the opcode. FF FF FF, for example, would disable nothing. | ||
Parameters:\\ | Parameters:\\ | ||
Line 602: | Line 604: | ||
Sets the texture coordinates and size | Sets the texture coordinates and size | ||
- | ''F2 00 00 00 00 [<color darkred>WW W</color>][<color darkgreen>H HH</color>]'' | + | ''F2 [<color darkred>SS S</color>][<color darkgreen>T TT</color>] 0[<color #00a2e8>I</color>] [<color purple>WW W</color>][<color darkcyan>H HH</color>]'' |
+ | | <color darkred>SSS</color> | Upper-left corner of texture to load, S-axis | | ||
+ | | <color darkgreen>TTT</color> | Upper-left corner of texture to load, T-axis | | ||
+ | | <color #00a2e8>I</color> | Tile descriptor to load into | | ||
| <color darkred>W</color> | (width - 1) << 2 | | | <color darkred>W</color> | (width - 1) << 2 | | ||
| <color darkgreen>H</color> | (height - 1) << 2 | | | <color darkgreen>H</color> | (height - 1) << 2 | | ||
+ | |||
Examples: | Examples: |