Revision 7f5b7d3e hw/vga.c
b/hw/vga.c | ||
---|---|---|
169 | 169 |
int vretr_start_line; |
170 | 170 |
int vretr_end_line; |
171 | 171 |
|
172 |
int div2, sldiv2, dots; |
|
172 |
int dots; |
|
173 |
#if 0 |
|
174 |
int div2, sldiv2; |
|
175 |
#endif |
|
173 | 176 |
int clocking_mode; |
174 | 177 |
int clock_sel; |
175 | 178 |
const int clk_hz[] = {25175000, 28322000, 25175000, 25175000}; |
... | ... | |
190 | 193 |
vretr_end_line = s->cr[0x11] & 0xf; |
191 | 194 |
|
192 | 195 |
|
193 |
div2 = (s->cr[0x17] >> 2) & 1; |
|
194 |
sldiv2 = (s->cr[0x17] >> 3) & 1; |
|
195 | 196 |
|
196 | 197 |
clocking_mode = (s->sr[0x01] >> 3) & 1; |
197 | 198 |
clock_sel = (s->msr >> 2) & 3; |
... | ... | |
216 | 217 |
r->htotal = htotal_chars; |
217 | 218 |
|
218 | 219 |
#if 0 |
220 |
div2 = (s->cr[0x17] >> 2) & 1; |
|
221 |
sldiv2 = (s->cr[0x17] >> 3) & 1; |
|
219 | 222 |
printf ( |
220 | 223 |
"hz=%f\n" |
221 | 224 |
"htotal = %d\n" |
Also available in: Unified diff