Added Pentium and Pentium MMX emulation.
This commit is contained in:
parent
aecf865c2c
commit
13226a2bd4
13 changed files with 1536 additions and 16 deletions
22
src/codegen.c
Normal file
22
src/codegen.c
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#ifdef DYNAREC
|
||||
|
||||
#include "ibm.h"
|
||||
#include "x86_ops.h"
|
||||
#include "codegen.h"
|
||||
|
||||
void (*codegen_timing_start)();
|
||||
void (*codegen_timing_prefix)(uint8_t prefix, uint32_t fetchdat);
|
||||
void (*codegen_timing_opcode)(uint8_t opcode, uint32_t fetchdat, int op_32);
|
||||
void (*codegen_timing_block_start)();
|
||||
void (*codegen_timing_block_end)();
|
||||
|
||||
void codegen_timing_set(codegen_timing_t *timing)
|
||||
{
|
||||
codegen_timing_start = timing->start;
|
||||
codegen_timing_prefix = timing->prefix;
|
||||
codegen_timing_opcode = timing->opcode;
|
||||
codegen_timing_block_start = timing->block_start;
|
||||
codegen_timing_block_end = timing->block_end;
|
||||
}
|
||||
|
||||
#endif
|
||||
Loading…
Reference in a new issue