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))
|
#define CACHE_ON() (!(cr0 & (1 << 30)) /*&& (cr0 & 1)*/ && !(flags & T_FLAG))
|
||||||
|
|
||||||
|
#ifdef USE_DYNAREC
|
||||||
static int cpu_cycle_period(void)
|
static int cpu_cycle_period(void)
|
||||||
{
|
{
|
||||||
switch(cpu_pci_speed)
|
switch(cpu_pci_speed)
|
||||||
@@ -502,8 +503,8 @@ static int cpu_cycle_period(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef USE_DYNAREC
|
|
||||||
static int cycles_main = 0;
|
static int cycles_main = 0;
|
||||||
|
|
||||||
void exec386_dynarec(int cycs)
|
void exec386_dynarec(int cycs)
|
||||||
{
|
{
|
||||||
uint8_t temp;
|
uint8_t temp;
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
#include "mem.h"
|
#include "mem.h"
|
||||||
#include "rom.h"
|
#include "rom.h"
|
||||||
#ifdef USE_DYNAREC
|
#ifdef USE_DYNAREC
|
||||||
#include "cpu/codegen.h"
|
# include "cpu/codegen.h"
|
||||||
#else
|
#else
|
||||||
#define PAGE_MASK_INDEX_MASK 3
|
#define PAGE_MASK_INDEX_MASK 3
|
||||||
#define PAGE_MASK_INDEX_SHIFT 10
|
#define PAGE_MASK_INDEX_SHIFT 10
|
||||||
|
|||||||
2
src/pc.c
2
src/pc.c
@@ -29,7 +29,7 @@
|
|||||||
#include "ibm.h"
|
#include "ibm.h"
|
||||||
#include "cpu/cpu.h"
|
#include "cpu/cpu.h"
|
||||||
#ifdef USE_DYNAREC
|
#ifdef USE_DYNAREC
|
||||||
#include "cpu/codegen.h"
|
# include "cpu/codegen.h"
|
||||||
#endif
|
#endif
|
||||||
#include "cpu/x86_ops.h"
|
#include "cpu/x86_ops.h"
|
||||||
#include "io.h"
|
#include "io.h"
|
||||||
|
|||||||
@@ -87,7 +87,7 @@ ifndef MUNT
|
|||||||
MUNT := y
|
MUNT := y
|
||||||
endif
|
endif
|
||||||
ifndef PAS16
|
ifndef PAS16
|
||||||
PAS16 = n
|
PAS16 := n
|
||||||
endif
|
endif
|
||||||
ifndef DYNAREC
|
ifndef DYNAREC
|
||||||
DYNAREC := y
|
DYNAREC := y
|
||||||
|
|||||||
Reference in New Issue
Block a user