Initial commit of dynamic recompiler.
Various CPU changes to support dynamic recompiler.
This commit is contained in:
parent
17cae8a2d7
commit
4676daade4
52 changed files with 3740 additions and 1139 deletions
|
|
@ -101,3 +101,12 @@ extern int inscounts[256];
|
|||
void x86illegal();
|
||||
|
||||
void x86seg_reset();
|
||||
|
||||
|
||||
static inline get_phys(uint32_t addr)
|
||||
{
|
||||
if (!(cr0 >> 31))
|
||||
return addr & rammask;
|
||||
|
||||
return mmutranslatereal(addr, 0) & rammask;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue