diff --git a/src/hardware/vga_other.cpp b/src/hardware/vga_other.cpp index 710b6c07..7fd18293 100644 --- a/src/hardware/vga_other.cpp +++ b/src/hardware/vga_other.cpp @@ -516,7 +516,12 @@ static void write_hercules(Bitu port,Bitu val,Bitu /*iolen*/) { break; } case 0x3bf: - vga.herc.enable_bits=(Bit8u)val; + if ( vga.herc.enable_bits ^ val) { + vga.herc.enable_bits=val; + // Bit 1 enables the upper 32k of video memory, + // so update the handlers + VGA_SetupHandlers(); + } break; } }