| Previous | 15994 Revisions | Next |
| r13770 Thursday 29th December, 2011 at 03:04:21 UTC by Angelo Salese |
|---|
| Worked around 0x3d8 VGA reading |
| [src/emu/video] | pc_vga.c |
| r13769 | r13770 | |
|---|---|---|
| 739 | 739 | UINT8 data = 0xff; |
| 740 | 740 | if (CRTC_PORT_ADDR == 0x3d0) |
| 741 | 741 | data = vga_crtc_r(space, offset); |
| 742 | if(offset == 8) | |
| 743 | { | |
| 744 | logerror("VGA: 0x3d8 read at %08x\n",cpu_get_pc(&space->device())); | |
| 745 | data = 0; // TODO: PC-200 reads back CGA register here, everything else returns open bus OR CGA emulation of register 0x3d8 | |
| 746 | } | |
| 747 | ||
| 742 | 748 | return data; |
| 743 | 749 | } |
| 744 | 750 |
| Previous | 15994 Revisions | Next |