Lines Matching refs:sr

501     clock_doubled = (pThis->sr[0x01] >> 3) & 1; /* Clock doubling bit. */
503 char_dots = (pThis->sr[0x01] & 1) ? 8 : 9; /* 8 or 9 dots per cclk. */
620 val = pThis->sr[pThis->sr_index];
728 pThis->sr[pThis->sr_index] = val & sr_mask[pThis->sr_index];
1094 pThis->sr[0x01] &= ~8; /* no double line */
1097 pThis->sr[4] |= 0x08; /* set chain 4 mode */
1098 pThis->sr[2] |= 0x0f; /* activate all planes */
1100 pThis->sr[7] |= 1;
1217 if (pThis->sr[4] & 0x08) {
1221 if ( (pThis->sr[2] & 3) == 3
1235 } else if (!(pThis->sr[4] & 0x04)) { /* Host access is controlled by SR4, not GR5! */
1298 if (pThis->sr[4] & 0x08) {
1302 if (pThis->sr[2] & mask) {
1305 if ( (pThis->sr[2] & 3) == 3
1321 } else if (!(pThis->sr[4] & 0x04)) { /* Host access is controlled by SR4, not GR5! */
1325 if (pThis->sr[2] & mask) {
1440 /* mask data according to sr[2] */
1441 mask = pThis->sr[2];
1720 v = pThis->sr[3];
1751 if (!(pThis->sr[1] & 0x01))
1753 if (pThis->sr[1] & 0x08)
2299 if (pThis->sr[0x01] & 8) {
2308 if (pThis->sr[0x01] & 8) {
2384 Log(("w=%d h=%d v=%d line_offset=%d cr[0x09]=0x%02x cr[0x17]=0x%02x linecmp=%d sr[0x01]=0x%02x\n",
2385 width, height, v, line_offset, pThis->cr[9], pThis->cr[0x17], pThis->line_compare, pThis->sr[0x01]));
2546 if (!(pThis->ar_index & 0x20) || (pThis->sr[0x01] & 0x20)) {
2590 if (!(pThis->ar_index & 0x20) || (pThis->sr[0x01] & 0x20)) {
2626 SSMR3PutMem(pSSM, pThis->sr, 8);
2667 SSMR3GetMem(pSSM, pThis->sr, 8);
3151 if (pThis->sr[4] & 0x08) {
3158 if (pThis->sr[2] & (1 << (GCPhysAddr & 3)))
3172 if (pThis->sr[2] & (1 << plane)) {
3237 /* mask data according to sr[2] */
3238 write_mask = mask16[pThis->sr[2]];
4083 char_dots = (pThis->sr[0x01] & 1) ? 8 : 9;
4087 pHlp->pfnPrintf(pHlp, "double clocking %s\n", pThis->sr[1] & 0x08 ? "on" : "off");
4309 Assert(sizeof(pThis->sr) >= 8);
4311 pHlp->pfnPrintf(pHlp, " SR%02X:%02X", i, pThis->sr[i]);
4454 val1 = pThis->sr[2];
4455 val2 = pThis->sr[4] & 8;