1002 {
1003 BPMEM_GENMODE = 0x00,
1004
1005 BPMEM_DISPLAYCOPYFILER0 = 0x01,
1006 BPMEM_DISPLAYCOPYFILER1 = 0x02,
1007 BPMEM_DISPLAYCOPYFILER2 = 0x03,
1008 BPMEM_DISPLAYCOPYFILER3 = 0x04,
1009 BPMEM_DISPLAYCOPYFILER4 = 0x05,
1010
1011 BPMEM_IND_MTXA0 = 0x06,
1012 BPMEM_IND_MTXB0 = 0x07,
1013 BPMEM_IND_MTXC0 = 0x08,
1014 BPMEM_IND_MTXA1 = 0x09,
1015 BPMEM_IND_MTXB1 = 0x0A,
1016 BPMEM_IND_MTXC1 = 0x0B,
1017 BPMEM_IND_MTXA2 = 0x0C,
1018 BPMEM_IND_MTXB2 = 0x0D,
1019 BPMEM_IND_MTXC2 = 0x0E,
1020 BPMEM_IND_IMASK = 0x0F,
1021
1022 BPMEM_IND_CMD0 = 0x10,
1023 BPMEM_IND_CMD1 = 0x11,
1024 BPMEM_IND_CMD2 = 0x12,
1025 BPMEM_IND_CMD3 = 0x13,
1026 BPMEM_IND_CMD4 = 0x14,
1027 BPMEM_IND_CMD5 = 0x15,
1028 BPMEM_IND_CMD6 = 0x16,
1029 BPMEM_IND_CMD7 = 0x17,
1030 BPMEM_IND_CMD8 = 0x18,
1031 BPMEM_IND_CMD9 = 0x19,
1032 BPMEM_IND_CMDA = 0x1A,
1033 BPMEM_IND_CMDB = 0x1B,
1034 BPMEM_IND_CMDC = 0x1C,
1035 BPMEM_IND_CMDD = 0x1D,
1036 BPMEM_IND_CMDE = 0x1E,
1037 BPMEM_IND_CMDF = 0x1F,
1038
1039 BPMEM_SCISSORTL = 0x20,
1040 BPMEM_SCISSORBR = 0x21,
1041 BPMEM_LINEPTWIDTH = 0x22,
1042 BPMEM_PERF0_TRI = 0x23,
1043 BPMEM_PERF0_QUAD = 0x24,
1044
1045 BPMEM_RAS1_SS0 = 0x25,
1046 BPMEM_RAS1_SS1 = 0x26,
1047 BPMEM_IREF = 0x27,
1048
1049 BPMEM_TREF0 = 0x28,
1050 BPMEM_TREF1 = 0x29,
1051 BPMEM_TREF2 = 0x2A,
1052 BPMEM_TREF3 = 0x2B,
1053 BPMEM_TREF4 = 0x2C,
1054 BPMEM_TREF5 = 0x2D,
1055 BPMEM_TREF6 = 0x2E,
1056 BPMEM_TREF7 = 0x2F,
1057
1058 BPMEM_SU_SSIZE0 = 0x30,
1059 BPMEM_SU_TSIZE0 = 0x31,
1060 BPMEM_SU_SSIZE1 = 0x32,
1061 BPMEM_SU_TSIZE1 = 0x33,
1062 BPMEM_SU_SSIZE2 = 0x34,
1063 BPMEM_SU_TSIZE2 = 0x35,
1064 BPMEM_SU_SSIZE3 = 0x36,
1065 BPMEM_SU_TSIZE3 = 0x37,
1066 BPMEM_SU_SSIZE4 = 0x38,
1067 BPMEM_SU_TSIZE4 = 0x39,
1068 BPMEM_SU_SSIZE5 = 0x3A,
1069 BPMEM_SU_TSIZE5 = 0x3B,
1070 BPMEM_SU_SSIZE6 = 0x3C,
1071 BPMEM_SU_TSIZE6 = 0x3D,
1072 BPMEM_SU_SSIZE7 = 0x3E,
1073 BPMEM_SU_TSIZE7 = 0x3F,
1074
1075 BPMEM_ZMODE = 0x40,
1076 BPMEM_BLENDMODE = 0x41,
1077 BPMEM_CONSTANTALPHA = 0x42,
1078 BPMEM_ZCOMPARE = 0x43,
1079 BPMEM_FIELDMASK = 0x44,
1080 BPMEM_SETDRAWDONE = 0x45,
1081 BPMEM_BUSCLOCK0 = 0x46,
1082 BPMEM_PE_TOKEN_ID = 0x47,
1083 BPMEM_PE_TOKEN_INT_ID = 0x48,
1084
1085 BPMEM_EFB_TL = 0x49,
1086 BPMEM_EFB_BR = 0x4A,
1087 BPMEM_EFB_ADDR = 0x4B,
1088
1089 BPMEM_MIPMAP_STRIDE = 0x4D,
1090 BPMEM_COPYYSCALE = 0x4E,
1091
1092 BPMEM_CLEAR_AR = 0x4F,
1093 BPMEM_CLEAR_GB = 0x50,
1094 BPMEM_CLEAR_Z = 0x51,
1095
1096 BPMEM_TRIGGER_EFB_COPY = 0x52,
1097 BPMEM_COPYFILTER0 = 0x53,
1098 BPMEM_COPYFILTER1 = 0x54,
1099 BPMEM_CLEARBBOX1 = 0x55,
1100 BPMEM_CLEARBBOX2 = 0x56,
1101
1102 BPMEM_UNKNOWN_57 = 0x57,
1103
1104 BPMEM_REVBITS = 0x58,
1105 BPMEM_SCISSOROFFSET = 0x59,
1106
1107 BPMEM_UNKNOWN_60 = 0x60,
1108 BPMEM_UNKNOWN_61 = 0x61,
1109 BPMEM_UNKNOWN_62 = 0x62,
1110
1111 BPMEM_TEXMODESYNC = 0x63,
1112 BPMEM_LOADTLUT0 = 0x64,
1113 BPMEM_LOADTLUT1 = 0x65,
1114 BPMEM_TEXINVALIDATE = 0x66,
1115 BPMEM_PERF1 = 0x67,
1116 BPMEM_FIELDMODE = 0x68,
1117 BPMEM_BUSCLOCK1 = 0x69,
1118
1119 BPMEM_TX_SETMODE0_A = 0x80,
1120 BPMEM_TX_SETMODE0_B = 0x81,
1121 BPMEM_TX_SETMODE0_C = 0x82,
1122 BPMEM_TX_SETMODE0_D = 0x83,
1123
1124 BPMEM_TX_SETMODE1_A = 0x84,
1125 BPMEM_TX_SETMODE1_B = 0x85,
1126 BPMEM_TX_SETMODE1_C = 0x86,
1127 BPMEM_TX_SETMODE1_D = 0x87,
1128
1129 BPMEM_TX_SETIMAGE0_A = 0x88,
1130 BPMEM_TX_SETIMAGE0_B = 0x89,
1131 BPMEM_TX_SETIMAGE0_C = 0x8A,
1132 BPMEM_TX_SETIMAGE0_D = 0x8B,
1133
1134 BPMEM_TX_SETIMAGE1_A = 0x8C,
1135 BPMEM_TX_SETIMAGE1_B = 0x8D,
1136 BPMEM_TX_SETIMAGE1_C = 0x8E,
1137 BPMEM_TX_SETIMAGE1_D = 0x8F,
1138
1139 BPMEM_TX_SETIMAGE2_A = 0x90,
1140 BPMEM_TX_SETIMAGE2_B = 0x91,
1141 BPMEM_TX_SETIMAGE2_C = 0x92,
1142 BPMEM_TX_SETIMAGE2_D = 0x93,
1143
1144 BPMEM_TX_SETIMAGE3_A = 0x94,
1145 BPMEM_TX_SETIMAGE3_B = 0x95,
1146 BPMEM_TX_SETIMAGE3_C = 0x96,
1147 BPMEM_TX_SETIMAGE3_D = 0x97,
1148
1149 BPMEM_TX_SETTLUT_A = 0x98,
1150 BPMEM_TX_SETTLUT_B = 0x99,
1151 BPMEM_TX_SETTLUT_C = 0x9A,
1152 BPMEM_TX_SETTLUT_D = 0x9B,
1153
1154 BPMEM_TX_SETMODE0_4_A = 0xA0,
1155 BPMEM_TX_SETMODE0_4_B = 0xA1,
1156 BPMEM_TX_SETMODE0_4_C = 0xA2,
1157 BPMEM_TX_SETMODE0_4_D = 0xA3,
1158
1159 BPMEM_TX_SETMODE1_4_A = 0xA4,
1160 BPMEM_TX_SETMODE1_4_B = 0xA5,
1161 BPMEM_TX_SETMODE1_4_C = 0xA6,
1162 BPMEM_TX_SETMODE1_4_D = 0xA7,
1163
1164 BPMEM_TX_SETIMAGE0_4_A = 0xA8,
1165 BPMEM_TX_SETIMAGE0_4_B = 0xA9,
1166 BPMEM_TX_SETIMAGE0_4_C = 0xAA,
1167 BPMEM_TX_SETIMAGE0_4_D = 0xAB,
1168
1169 BPMEM_TX_SETIMAGE1_4_A = 0xAC,
1170 BPMEM_TX_SETIMAGE1_4_B = 0xAD,
1171 BPMEM_TX_SETIMAGE1_4_C = 0xAE,
1172 BPMEM_TX_SETIMAGE1_4_D = 0xAF,
1173
1174 BPMEM_TX_SETIMAGE2_4_A = 0xB0,
1175 BPMEM_TX_SETIMAGE2_4_B = 0xB1,
1176 BPMEM_TX_SETIMAGE2_4_C = 0xB2,
1177 BPMEM_TX_SETIMAGE2_4_D = 0xB3,
1178
1179 BPMEM_TX_SETIMAGE3_4_A = 0xB4,
1180 BPMEM_TX_SETIMAGE3_4_B = 0xB5,
1181 BPMEM_TX_SETIMAGE3_4_C = 0xB6,
1182 BPMEM_TX_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1218 BPMEM_TEV_ALPHA_ENV_B = 0xD7,
1219 BPMEM_TEV_COLOR_ENV_C = 0xD8,
1220 BPMEM_TEV_ALPHA_ENV_C = 0xD9,
1221 BPMEM_TEV_COLOR_ENV_D = 0xDA,
1222 BPMEM_TEV_ALPHA_ENV_D = 0xDB,
1223 BPMEM_TEV_COLOR_ENV_E = 0xDC,
1224 BPMEM_TEV_ALPHA_ENV_E = 0xDD,
1225 BPMEM_TEV_COLOR_ENV_F = 0xDE,
1226 BPMEM_TEV_ALPHA_ENV_F = 0xDF,
1227
1228 BPMEM_TEV_REGISTER_L_0 = 0xE0,
1229 BPMEM_TEV_REGISTER_H_0 = 0xE1,
1230 BPMEM_TEV_REGISTER_L_1 = 0xE2,
1231 BPMEM_TEV_REGISTER_H_1 = 0xE3,
1232 BPMEM_TEV_REGISTER_L_2 = 0xE4,
1233 BPMEM_TEV_REGISTER_H_2 = 0xE5,
1234 BPMEM_TEV_REGISTER_L_3 = 0xE6,
1235 BPMEM_TEV_REGISTER_H_3 = 0xE7,
1236
1237 BPMEM_TEV_FOG_RANGE = 0xE8,
1238 BPMEM_TEV_FOG_PARAM_0 = 0xEE,
1239 BPMEM_TEV_FOG_B_MAGNITUDE = 0xEF,
1240 BPMEM_TEV_FOG_B_EXPONENT = 0xF0,
1241 BPMEM_TEV_FOG_PARAM_3 = 0xF1,
1242 BPMEM_TEV_FOG_COLOR = 0xF2,
1243
1244 BPMEM_ALPHACOMPARE = 0xF3,
1245 BPMEM_BIAS = 0xF4,
1246 BPMEM_ZTEX2 = 0xF5,
1247
1248 BPMEM_TEV_KSEL0 = 0xF6,
1249 BPMEM_TEV_KSEL1 = 0xF7,
1250 BPMEM_TEV_KSEL2 = 0xF8,
1251 BPMEM_TEV_KSEL3 = 0xF9,
1252 BPMEM_TEV_KSEL4 = 0xFA,
1253 BPMEM_TEV_KSEL5 = 0xFB,
1254 BPMEM_TEV_KSEL6 = 0xFC,
1255 BPMEM_TEV_KSEL7 = 0xFD,
1256
1257 BPMEM_BP_MASK = 0xFE
1258 }