Moved vga retrace handling.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@619
This commit is contained in:
parent
6a3be16d00
commit
4bcf247a00
1 changed files with 0 additions and 13 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Reference in a new issue