Fixed A20 reset issues. Patch from Greatpsycho.

This commit is contained in:
SarahW 2017-07-17 19:38:02 +01:00
commit 7531b95e83
5 changed files with 32 additions and 2 deletions

View file

@ -5,7 +5,6 @@
#include "mem.h"
#include "scat.h"
#include "x86.h"
#include "cpu.h"
static uint8_t scat_regs[256];
static int scat_index;
@ -510,6 +509,7 @@ void scat_init()
scat_regs[SCAT_DRAM_CONFIGURATION] = cpu_waitstates == 1 ? 2 : 0x12;
scat_regs[SCAT_EXTENDED_BOUNDARY] = 0;
scat_regs[SCAT_EMS_CONTROL] = 0;
scat_port_92 = 0;
mem_mapping_set_addr(&ram_low_mapping, 0, 0x40000);