| Previous | 199869 Revisions | Next |
| r31897 Thursday 4th September, 2014 at 02:37:23 UTC by R. Belmont |
|---|
| (MESS) pc_vga: correct access to attribute register when PAS bit is set, allows XFree86 to detect ISA VGA. [Peter Ferrie] |
| [src/emu/video] | pc_vga.c |
| r31896 | r31897 | |
|---|---|---|
| 1677 | 1677 | data = vga.attribute.index; |
| 1678 | 1678 | break; |
| 1679 | 1679 | case 1: |
| 1680 | if(vga.attribute.index&0x20) | |
| 1681 | data = vga.attribute.index; // TODO: open bus | |
| 1680 | if((vga.attribute.index&0x20) | |
| 1681 | && ((vga.attribute.index&0x1f)<0x10)) | |
| 1682 | data = 0; // palette access is disabled in this mode | |
| 1682 | 1683 | else if ((vga.attribute.index&0x1f)<sizeof(vga.attribute.data)) |
| 1683 | 1684 | data=vga.attribute.data[vga.attribute.index&0x1f]; |
| 1684 | 1685 | break; |
| Previous | 199869 Revisions | Next |