Lines Matching refs:cr

480     htotal_cclks = pThis->cr[0x00] + 5;
481 hblank_start_cclk = pThis->cr[0x02];
482 hblank_end_cclk = (pThis->cr[0x03] & 0x1f) + ((pThis->cr[0x05] & 0x80) >> 2);
483 hblank_skew_cclks = (pThis->cr[0x03] >> 5) & 3;
486 vtotal_lines = pThis->cr[0x06] + ((pThis->cr[0x07] & 1) << 8) + ((pThis->cr[0x07] & 0x20) << 4) + 2;
487 vblank_start_line = pThis->cr[0x15] + ((pThis->cr[0x07] & 8) << 5) + ((pThis->cr[0x09] & 0x20) << 4);
488 vblank_end = pThis->cr[0x16];
490 vsync_start_line = pThis->cr[0x10] + ((pThis->cr[0x07] & 4) << 6) + ((pThis->cr[0x07] & 0x80) << 2);
491 vsync_end = pThis->cr[0x11] & 0xf;
655 val = pThis->cr[pThis->cr_index];
796 if ((pThis->cr[0x11] & 0x80) && pThis->cr_index <= 7) {
799 pThis->cr[7] = (pThis->cr[7] & ~0x10) | (val & 0x10);
802 pThis->cr[pThis->cr_index] = val;
1078 pThis->cr[0x17] |= 3; /* no CGA modes */
1079 pThis->cr[0x13] = pThis->vbe_line_offset >> 3;
1081 pThis->cr[0x01] = (cVirtWidth >> 3) - 1;
1084 pThis->cr[0x12] = h;
1085 pThis->cr[0x07] = (pThis->cr[0x07] & ~0x42) |
1088 pThis->cr[0x18] = 0xff;
1089 pThis->cr[0x07] |= 0x10;
1090 pThis->cr[0x09] |= 0x40;
1103 pThis->cr[0x09] &= ~0x9f; /* no double scan */
1600 line_offset = pThis->cr[0x13];
1602 if (!(pThis->cr[0x14] & 0x40) && !(pThis->cr[0x17] & 0x40))
1609 start_addr = pThis->cr[0x0d] | (pThis->cr[0x0c] << 8);
1612 line_compare = pThis->cr[0x18] |
1613 ((pThis->cr[0x07] & 0x10) << 4) |
1614 ((pThis->cr[0x09] & 0x40) << 3);
1746 dscan = (pThis->cr[9] >> 7) & 1;
1749 cheight = (pThis->cr[9] & 0x1f) + 1;
1756 width = (pThis->cr[0x01] + 1);
1757 if (pThis->cr[0x06] == 100) {
1761 height = pThis->cr[0x12] |
1762 ((pThis->cr[0x07] & 0x02) << 7) |
1763 ((pThis->cr[0x07] & 0x40) << 3);
1791 cursor_offset = ((pThis->cr[0x0e] << 8) | pThis->cr[0x0f]) - pThis->start_addr;
1793 pThis->cr[0xa] != pThis->cursor_start ||
1794 pThis->cr[0xb] != pThis->cursor_end) {
1802 pThis->cursor_start = pThis->cr[0xa];
1803 pThis->cursor_end = pThis->cr[0xb];
1858 !(pThis->cr[0x0a] & 0x20)) {
1861 line_start = pThis->cr[0x0a] & 0x1f;
1862 line_last = pThis->cr[0x0b] & 0x1f;
2002 width = (pThis->cr[0x01] + 1) * 8;
2003 height = pThis->cr[0x12] |
2004 ((pThis->cr[0x07] & 0x02) << 7) |
2005 ((pThis->cr[0x07] & 0x40) << 3);
2288 double_scan = (pThis->cr[0x09] >> 7);
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]));
2396 y2 = pThis->cr[0x09] & 0x1F; /* starting row scan count */
2402 if (!(pThis->cr[0x17] & 1)) {
2405 if (!(pThis->cr[0x17] & 2)) {
2440 y2 = pThis->cr[0x09] & 0x1F;
2633 SSMR3PutMem(pSSM, pThis->cr, 256);
2674 SSMR3GetMem(pSSM, pThis->cr, 256);
4084 double_scan = pThis->cr[9] >> 7;
4088 val = pThis->cr[0] + 5;
4090 val = pThis->cr[6] + ((pThis->cr[7] & 1) << 8) + ((pThis->cr[7] & 0x20) << 4) + 2;
4092 val = pThis->cr[1] + 1;
4095 val = pThis->cr[0x12] + ((pThis->cr[7] & 2) << 7) + ((pThis->cr[7] & 0x40) << 4) + 1;
4098 val = ((pThis->cr[9] & 0x40) << 3) + ((pThis->cr[7] & 0x10) << 4) + pThis->cr[0x18];
4100 val = (pThis->cr[0xc] << 8) + pThis->cr[0xd];
4104 val = (pThis->cr[9] & 0x1f) + 1;
4274 uint32_t uVDisp = pThis->cr[0x12] + ((pThis->cr[7] & 2) << 7) + ((pThis->cr[7] & 0x40) << 4) + 1;
4275 uint32_t uCharHeight = (pThis->cr[9] & 0x1f) + 1;
4276 uint32_t uDblScan = pThis->cr[9] >> 7;
4326 Assert(sizeof(pThis->cr) >= 24);
4328 pHlp->pfnPrintf(pHlp, " CR%02X:%02X", i, pThis->cr[i]);
4331 pHlp->pfnPrintf(pHlp, " CR%02X:%02X", i, pThis->cr[i]);
4334 pHlp->pfnPrintf(pHlp, " CR%02X:%02X", i, pThis->cr[i]);