Merge branch 'master' of https://github.com/OBattler/86Box
This commit is contained in:
@@ -489,6 +489,7 @@ int dontprint=0;
|
||||
|
||||
#define CACHE_ON() (!(cr0 & (1 << 30)) /*&& (cr0 & 1)*/ && !(flags & T_FLAG))
|
||||
|
||||
#ifdef USE_DYNAREC
|
||||
static int cpu_cycle_period(void)
|
||||
{
|
||||
switch(cpu_pci_speed)
|
||||
@@ -502,8 +503,8 @@ static int cpu_cycle_period(void)
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef USE_DYNAREC
|
||||
static int cycles_main = 0;
|
||||
|
||||
void exec386_dynarec(int cycs)
|
||||
{
|
||||
uint8_t temp;
|
||||
|
@@ -15,7 +15,7 @@
|
||||
#include "mem.h"
|
||||
#include "rom.h"
|
||||
#ifdef USE_DYNAREC
|
||||
#include "cpu/codegen.h"
|
||||
# include "cpu/codegen.h"
|
||||
#else
|
||||
#define PAGE_MASK_INDEX_MASK 3
|
||||
#define PAGE_MASK_INDEX_SHIFT 10
|
||||
|
2
src/pc.c
2
src/pc.c
@@ -29,7 +29,7 @@
|
||||
#include "ibm.h"
|
||||
#include "cpu/cpu.h"
|
||||
#ifdef USE_DYNAREC
|
||||
#include "cpu/codegen.h"
|
||||
# include "cpu/codegen.h"
|
||||
#endif
|
||||
#include "cpu/x86_ops.h"
|
||||
#include "io.h"
|
||||
|
@@ -87,7 +87,7 @@ ifndef MUNT
|
||||
MUNT := y
|
||||
endif
|
||||
ifndef PAS16
|
||||
PAS16 = n
|
||||
PAS16 := n
|
||||
endif
|
||||
ifndef DYNAREC
|
||||
DYNAREC := y
|
||||
@@ -280,8 +280,8 @@ MAINOBJ := pc.o config.o random.o timer.o io.o dma.o nmi.o pic.o \
|
||||
intel.o intel_flash.o intel_sio.o
|
||||
|
||||
CPUOBJ := cpu.o 386.o 386_dynarec.o 808x.o \
|
||||
x86seg.o x87.o \
|
||||
$(DYNARECOBJ)
|
||||
x86seg.o x87.o \
|
||||
$(DYNARECOBJ)
|
||||
|
||||
MCHOBJ := machine.o \
|
||||
machine_common.o \
|
||||
|
Reference in New Issue
Block a user