From add7fc9a4dd0d46b0da3b8aa6ccefca79b63fabb Mon Sep 17 00:00:00 2001 From: Bryce Denney Date: Tue, 10 Apr 2001 02:16:18 +0000 Subject: [PATCH] - applied patch from Greg Alexander: implement VGA enable register at 0x3c3. --- bochs/iodev/vga.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bochs/iodev/vga.cc b/bochs/iodev/vga.cc index 35915ec7d..159d97906 100644 --- a/bochs/iodev/vga.cc +++ b/bochs/iodev/vga.cc @@ -439,6 +439,10 @@ bx_vga_c::read(Bit32u address, unsigned io_len) RETURN(0); break; + case 0x03c3: /* VGA Enable Register */ + RETURN(1); + break; + case 0x03c4: /* Sequencer Index Register */ RETURN(BX_VGA_THIS s.sequencer.index); break; @@ -588,7 +592,6 @@ if (BX_VGA_THIS s.graphics_ctrl.odd_even || break; case 0x03b4: /* CRTC Index Register (monochrome emulation modes) */ - case 0x03c3: /* VGA enable */ case 0x03c7: /* */ case 0x03c8: /* */ default: