diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-06-26 16:12:26 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-06-26 16:12:26 +0000 |
commit | e6eccb38ebf52bc87c957ff128dc60ea81d3e2d4 (patch) | |
tree | f2c65a4f11f1395e45e16aca6247cd5571246a4a | |
parent | 9da98861213c8e5e675a8544019dd1c763a20922 (diff) | |
download | hqemu-e6eccb38ebf52bc87c957ff128dc60ea81d3e2d4.zip hqemu-e6eccb38ebf52bc87c957ff128dc60ea81d3e2d4.tar.gz |
dac write index register is r/w (Volker Ruppert)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@977 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r-- | hw/vga.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -190,6 +190,9 @@ static uint32_t vga_ioport_read(void *opaque, uint32_t addr) case 0x3c7: val = s->dac_state; break; + case 0x3c8: + val = s->dac_write_index; + break; case 0x3c9: val = s->palette[s->dac_read_index * 3 + s->dac_sub_index]; if (++s->dac_sub_index == 3) { |