src/mess/video/pc_ega.c
| r3954 | r3955 | |
| 116 | 116 | | +-------------- reserved/unused |
| 117 | 117 | +---------------- reserved/unused |
| 118 | 118 | |
| 119 | | We think bits 4 and 5 of the status register contain some information about the |
| 120 | | current pixel that is being drawn. Those bits do not seem to be documented. |
| 121 | 119 | |
| 122 | 120 | |
| 123 | 121 | The EGA graphics card introduces a lot of new indexed registers to handle the |
| r3954 | r3955 | |
| 949 | 947 | |
| 950 | 948 | static READ8_HANDLER( pc_ega8_3c0_r ) |
| 951 | 949 | { |
| 952 | | UINT8 dips = 0x08; /* 0x01 - EGA only, 80x25 color(?) */ |
| 950 | UINT8 dips = 0x00; /* 0x01 - EGA only, 80x25 color(?) */ |
| 953 | 951 | /* |
| 954 | 952 | 0000 - 40x25 |
| 955 | | 0001 - no display (text at a0000) and writes to 0c00xx (?), seems to be a graphics mode |
| 953 | CRTC_EGA config screen: HTOTAL: 0x1e0 VTOTAL: 0x105 MAX_X: 0x13f MAX_Y: 0xc7 HSYNC: 0x188-0x1af VSYNC: 0xe1-0xe3 Freq: 61.226464fps |
| 954 | 0001 - no display (text at a0000) and writes to 0c00xx (?), graphics mode? |
| 955 | CRTC_EGA config screen: HTOTAL: 0x3a8 VTOTAL: 0x105 MAX_X: 0x27f MAX_Y: 0xc7 HSYNC: 0x2f0-0x2b7 VSYNC: 0xe1-0xe2 Freq: 60.684637fps |
| 956 | 956 | 0010 - 40x25 |
| 957 | | 0011 - no display |
| 957 | CRTC_EGA config screen: HTOTAL: 0x1e0 VTOTAL: 0x105 MAX_X: 0x13f MAX_Y: 0xc7 HSYNC: 0x188-0x1af VSYNC: 0xe1-0xe3 Freq: 61.226464fps |
| 958 | 0011 - no display (text at a0000) and writes to 0c00xx (?), graphics mode? |
| 959 | CRTC_EGA config screen: HTOTAL: 0x3a8 VTOTAL: 0x105 MAX_X: 0x27f MAX_Y: 0xc7 HSYNC: 0x2f0-0x2b7 VSYNC: 0xe1-0xe2 Freq: 60.684637fps |
| 958 | 960 | 0100 - 40x25 |
| 961 | CRTC_EGA config screen: HTOTAL: 0x1e0 VTOTAL: 0x105 MAX_X: 0x13f MAX_Y: 0xc7 HSYNC: 0x188-0x1af VSYNC: 0xe1-0xe3 Freq: 61.226464fps |
| 959 | 962 | 0101 - no display |
| 960 | 963 | 0110 - 40x25 |
| 961 | 964 | 0111 - no display |
| 962 | 965 | 1000 - 40x25 |
| 963 | 966 | 1001 - no diplsay (text at a0000) |
| 964 | 967 | 1010 - 40x25 |
| 968 | 1011 - |
| 965 | 969 | 1100 - 40x25 |
| 970 | 1101 - |
| 966 | 971 | 1110 - 40x25 |
| 972 | 1111 - |
| 967 | 973 | */ |
| 968 | 974 | int data = 0xff; |
| 969 | 975 | |