Lines Matching refs:gr
646 val = pThis->gr[pThis->gr_index];
773 pThis->gr[pThis->gr_index] = val & gr_mask[pThis->gr_index];
1077 pThis->gr[0x06] = (pThis->gr[0x06] & ~0x0c) | 0x05; /* graphic mode + memory map 1 */
1102 pThis->gr[0x05] = (pThis->gr[0x05] & ~0x60) | (shift_control << 5);
1190 memory_map_mode = (pThis->gr[6] >> 2) & 3;
1237 plane = (pThis->gr[4] & 2) | (addr & 1);
1247 if (!(pThis->gr[5] & 0x08)) {
1249 plane = pThis->gr[4];
1253 ret = (pThis->latch ^ mask16[pThis->gr[2]]) & mask16[pThis->gr[7]];
1271 memory_map_mode = (pThis->gr[6] >> 2) & 3;
1323 plane = (pThis->gr[4] & 2) | (addr & 1);
1381 write_mode = pThis->gr[5] & 3;
1386 b = pThis->gr[3] & 7;
1392 set_mask = mask16[pThis->gr[1]];
1393 val = (val & ~set_mask) | (mask16[pThis->gr[0]] & set_mask);
1394 bit_mask = pThis->gr[8];
1401 bit_mask = pThis->gr[8];
1405 b = pThis->gr[3] & 7;
1408 bit_mask = pThis->gr[8] & val;
1409 val = mask16[pThis->gr[0]];
1414 func_select = pThis->gr[3] >> 3;
2287 shift_control = (pThis->gr[0x05] >> 5) & 3;
2566 if (pThis->gr[6] & 1) {
2593 graphic_mode = pThis->gr[6] & 1;
2628 SSMR3PutMem(pSSM, pThis->gr, 16);
2669 SSMR3GetMem(pSSM, pThis->gr, 16);
3079 switch (pThis->gr[3] >> 3) \
3130 switch((pThis->gr[6] >> 2) & 3) {
3165 } else if (pThis->gr[5] & 0x10) {
3171 unsigned plane = (pThis->gr[4] & 2) | (GCPhysAddr & 1);
3183 switch(pThis->gr[5] & 3) {
3187 b = pThis->gr[3] & 7;
3188 bit_mask = pThis->gr[8];
3191 set_mask = mask16[pThis->gr[1]];
3200 aVal[i] = (aVal[i] & ~set_mask) | (mask16[pThis->gr[0]] & set_mask);
3210 bit_mask = pThis->gr[8];
3222 b = pThis->gr[3] & 7;
3227 bit_mask = pThis->gr[8] & aVal[i];
3230 aVal[i] = mask16[pThis->gr[0]];
4082 is_graph = pThis->gr[6] & 1;
4253 if (!(pThis->gr[6] & 1))
4350 Assert(sizeof(pThis->gr) >= 9);
4353 pHlp->pfnPrintf(pHlp, " GR%02X:%02X", i, pThis->gr[i]);
4439 val1 = (pThis->gr[5] >> 3) & 1;
4440 val2 = pThis->gr[5] & 3;
4442 val1 = pThis->gr[0];
4443 val2 = pThis->gr[1];
4445 val1 = pThis->gr[2];
4446 val2 = pThis->gr[4] & 3;
4448 val1 = pThis->gr[3] & 7;
4449 val2 = (pThis->gr[3] >> 3) & 3;
4451 val1 = pThis->gr[7];
4452 val2 = pThis->gr[8];