ISA timing now based on integer ATCLK instead of fixed point division.
This commit is contained in:
parent
3b335f32aa
commit
b9f196d641
2 changed files with 185 additions and 185 deletions
|
|
@ -68,6 +68,7 @@ typedef struct
|
|||
int cpu_flags;
|
||||
int mem_read_cycles, mem_write_cycles;
|
||||
int cache_read_cycles, cache_write_cycles;
|
||||
int atclk_div;
|
||||
} CPU;
|
||||
|
||||
extern CPU cpus_8088[];
|
||||
|
|
@ -140,9 +141,8 @@ extern int cpu_use_dynarec;
|
|||
|
||||
extern int xt_cpu_multi;
|
||||
|
||||
#define ISA_CYCLES_SHIFT 6
|
||||
extern int isa_cycles;
|
||||
#define ISA_CYCLES(x) ((x * isa_cycles) >> ISA_CYCLES_SHIFT)
|
||||
#define ISA_CYCLES(x) (x * isa_cycles)
|
||||
|
||||
void cpu_update_waitstates();
|
||||
void cpu_set();
|
||||
|
|
|
|||
Loading…
Reference in a new issue