diff --git a/src/hardware/vga_misc.cpp b/src/hardware/vga_misc.cpp index 9202e913..cc40e120 100644 --- a/src/hardware/vga_misc.cpp +++ b/src/hardware/vga_misc.cpp @@ -21,7 +21,6 @@ #include "pic.h" #include "vga.h" - static Bit8u flip=0; static Bit32u keep_vretrace; static bool keeping=false; @@ -101,18 +100,6 @@ static Bit8u read_p3cc(Bit32u port) { return p3c2data; } - -static void EndRetrace(void) { - vga.config.retrace=false; -} - -void VGA_StartRetrace(void) { - /* Setup a timer to destroy the vertical retrace bit in a few microseconds */ - vga.config.real_start=vga.config.display_start; - vga.config.retrace=true; - PIC_AddEvent(EndRetrace,667); -} - void VGA_SetupMisc(void) { IO_RegisterReadHandler(0x3da,read_p3da,"VGA Input Status 1"); IO_RegisterReadHandler(0x3ba,read_p3da,"VGA Input Status 1");