Revision e9b43ea3 hw/vga.c
b/hw/vga.c | ||
---|---|---|
333 | 333 |
case 0x3c7: |
334 | 334 |
val = s->dac_state; |
335 | 335 |
break; |
336 |
case 0x3c8:
|
|
337 |
val = s->dac_write_index;
|
|
338 |
break;
|
|
336 |
case 0x3c8:
|
|
337 |
val = s->dac_write_index;
|
|
338 |
break;
|
|
339 | 339 |
case 0x3c9: |
340 | 340 |
val = s->palette[s->dac_read_index * 3 + s->dac_sub_index]; |
341 | 341 |
if (++s->dac_sub_index == 3) { |
Also available in: Unified diff