|
#define | GS_REG_PRIM 0x00 |
|
#define | GS_REG_RGBAQ 0x01 |
|
#define | GS_REG_ST 0x02 |
|
#define | GS_REG_UV 0x03 |
|
#define | GS_REG_XYZF2 0x04 |
|
#define | GS_REG_XYZ2 0x05 |
|
#define | GS_REG_TEX0 0x06 |
|
#define | GS_REG_TEX0_1 0x06 |
|
#define | GS_REG_TEX0_2 0x07 |
|
#define | GS_REG_CLAMP 0x08 |
|
#define | GS_REG_CLAMP_1 0x08 |
|
#define | GS_REG_CLAMP_2 0x09 |
|
#define | GS_REG_FOG 0x0A |
|
#define | GS_REG_XYZF3 0x0C |
|
#define | GS_REG_XYZ3 0x0D |
|
#define | GS_REG_TEX1 0x14 |
|
#define | GS_REG_TEX1_1 0x14 |
|
#define | GS_REG_TEX1_2 0x15 |
|
#define | GS_REG_TEX2 0x16 |
|
#define | GS_REG_TEX2_1 0x16 |
|
#define | GS_REG_TEX2_2 0x17 |
|
#define | GS_REG_XYOFFSET 0x18 |
|
#define | GS_REG_XYOFFSET_1 0x18 |
|
#define | GS_REG_XYOFFSET_2 0x19 |
|
#define | GS_REG_PRMODECONT 0x1A |
|
#define | GS_REG_PRMODE 0x1B |
|
#define | GS_REG_TEXCLUT 0x1C |
|
#define | GS_REG_SCANMSK 0x22 |
|
#define | GS_REG_MIPTBP1 0x34 |
|
#define | GS_REG_MIPTBP1_1 0x34 |
|
#define | GS_REG_MIPTBP1_2 0x35 |
|
#define | GS_REG_MIPTBP2 0x36 |
|
#define | GS_REG_MIPTBP2_1 0x36 |
|
#define | GS_REG_MIPTBP2_2 0x37 |
|
#define | GS_REG_TEXA 0x3B |
|
#define | GS_REG_FOGCOL 0x3D |
|
#define | GS_REG_TEXFLUSH 0x3F |
|
#define | GS_REG_SCISSOR 0x40 |
|
#define | GS_REG_SCISSOR_1 0x40 |
|
#define | GS_REG_SCISSOR_2 0x41 |
|
#define | GS_REG_ALPHA 0x42 |
|
#define | GS_REG_ALPHA_1 0x42 |
|
#define | GS_REG_ALPHA_2 0x43 |
|
#define | GS_REG_DIMX 0x44 |
|
#define | GS_REG_DTHE 0x45 |
|
#define | GS_REG_COLCLAMP 0x46 |
|
#define | GS_REG_TEST 0x47 |
|
#define | GS_REG_TEST_1 0x47 |
|
#define | GS_REG_TEST_2 0x48 |
|
#define | GS_REG_PABE 0x49 |
|
#define | GS_REG_FBA 0x4A |
|
#define | GS_REG_FBA_1 0x4A |
|
#define | GS_REG_FBA_2 0x4B |
|
#define | GS_REG_FRAME 0x4C |
|
#define | GS_REG_FRAME_1 0x4C |
|
#define | GS_REG_FRAME_2 0x4D |
|
#define | GS_REG_ZBUF 0x4E |
|
#define | GS_REG_ZBUF_1 0x4E |
|
#define | GS_REG_ZBUF_2 0x4F |
|
#define | GS_REG_BITBLTBUF 0x50 |
|
#define | GS_REG_TRXPOS 0x51 |
|
#define | GS_REG_TRXREG 0x52 |
|
#define | GS_REG_TRXDIR 0x53 |
|
#define | GS_REG_HWREG 0x54 |
|
#define | GS_REG_SIGNAL 0x60 |
|
#define | GS_REG_FINISH 0x61 |
|
#define | GS_REG_LABEL 0x62 |
|
#define | GS_REG_NOP 0x7F |
|
#define | GS_PRIM_POINT 0x00 |
|
#define | GS_PRIM_LINE 0x01 |
|
#define | GS_PRIM_LINE_STRIP 0x02 |
|
#define | GS_PRIM_TRIANGLE 0x03 |
|
#define | GS_PRIM_TRIANGLE_STRIP 0x04 |
|
#define | GS_PRIM_TRIANGLE_FAN 0x05 |
|
#define | GS_PRIM_SPRITE 0x06 |
|
#define | GS_DISABLE 0x00 |
|
#define | GS_ENABLE 0x01 |
|
#define | GS_SET_ALPHA(A, B, C, D, ALPHA) |
|
#define | GS_SET_BITBLTBUF(SBA, SBW, SPSM, DBA, DBW, DPSM) |
|
#define | GS_SET_CLAMP(WMS, WMT, MINU, MAXU, MINV, MAXV) |
|
#define | GS_SET_COLCLAMP(CLAMP) (u64)((CLAMP)&0x00000001) |
|
#define | GS_SET_DIMX(D00, D01, D02, D03, D10, D11, D12, D13, D20, D21, D22, D23, D30, D31, D32, D33) |
|
#define | GS_SET_DTHE(ENABLE) (u64)((ENABLE)&0x00000001) |
|
#define | GS_SET_FBA(ALPHA) (u64)((ALPHA)&0x00000001) |
|
#define | GS_SET_FINISH(A) (u64)((A)&0xFFFFFFFF) |
|
#define | GS_SET_FOG(FOG) (u64)((FOG)&0x000000FF) << 56 |
|
#define | GS_SET_FOGCOL(R, G, B) |
|
#define | GS_SET_FRAME(FBA, FBW, PSM, FMSK) |
|
#define | GS_SET_FMSK16(R, G, B, A) |
|
#define | GS_SET_HWREG(A) (u64)((A)&0xFFFFFFFFFFFFFFFF) |
|
#define | GS_SET_LABEL(ID, MSK) (u64)((ID)&0xFFFFFFFF) << 0 | (u64)((MSK)&0xFFFFFFFF) << 32 |
|
#define | GS_SET_MIPTBP1(TBA1, TBW1, TBA2, TBW2, TBA3, TBW3) |
|
#define | GS_SET_MIPTBP2(TBA4, TBW4, TBA5, TBW5, TBA6, TBW6) |
|
#define | GS_SET_NOP(A) (u64)((A)&0xFFFFFFFF) |
|
#define | GS_SET_PABE(ENABLE) (u64)((ENABLE)&0x00000001) |
|
#define | GS_SET_PRIM(PRIM, IIP, TME, FGE, ABE, AA1, FST, CTXT, FIX) |
|
#define | GS_SET_PRMODE(IIP, TME, FGE, ABE, AA1, FST, CTXT, FIX) |
|
#define | GS_SET_PRMODECONT(CTRL) (u64)((CTRL)&0x00000001) |
|
#define | GS_SET_RGBAQ(R, G, B, A, Q) |
|
#define | GS_SET_SCANMSK(MSK) (u64)((MSK)&0x00000003) |
|
#define | GS_SET_SCISSOR(X0, X1, Y0, Y1) |
|
#define | GS_SET_SIGNAL(ID, MSK) (u64)((ID)&0xFFFFFFFF) << 0 | (u64)((MSK)&0xFFFFFFFF) << 32 |
|
#define | GS_SET_ST(S, T) (u64)((S)&0xFFFFFFFF) << 0 | (u64)((T)&0xFFFFFFFF) << 32 |
|
#define | GS_SET_TEST(ATEN, ATMETH, ATREF, ATFAIL, DATEN, DATMD, ZTEN, ZTMETH) |
|
#define | GS_SET_TEX0_SMALL(TBA, TBW, PSM, TW, TH, TCC, TFNCT) |
|
#define | GS_SET_TEX0(TBA, TBW, PSM, TW, TH, TCC, TFNCT, CBA, CPSM, CSM, CSA, CLD) |
|
#define | GS_SET_TEX1(LCM, MXL, MMAG, MMIN, MTBA, L, K) |
|
#define | GS_SET_TEX2(PSM, CBA, CPSM, CSM, CSA, CLD) |
|
#define | GS_SET_TEXA(A0, AM, A1) |
|
#define | GS_SET_TEXCLUT(CBW, CU, CV) |
|
#define | GS_SET_TRXDIR(DIR) (u64)((DIR)&0x00000003) |
|
#define | GS_SET_TEXFLUSH(A) (u64)((A)&0xFFFFFFFF) |
|
#define | GS_SET_TRXPOS(SX, SY, DX, DY, DIR) |
|
#define | GS_SET_TRXREG(W, H) (u64)((W)&0x00000FFF) << 0 | (u64)((H)&0x00000FFF) << 32 |
|
#define | GS_SET_UV(U, V) (u64)((U)&0x00003FFF) << 0 | (u64)((V)&0x00003FFF) << 16 |
|
#define | GS_SET_XYOFFSET(X, Y) (u64)((X)&0x0000FFFF) << 0 | (u64)((Y)&0x0000FFFF) << 32 |
|
#define | GS_SET_XYZ(X, Y, Z) |
|
#define | GS_SET_XYZF(X, Y, Z, F) |
|
#define | GS_SET_ZBUF(ZBA, ZSM, ZMSK) |
|
GS General Purpose Registers
Definition in file gs_gp.h.