Reverted EGA emulation to be in line with mainline PCem except for the overscan, as there were some problems;
Added write port 3C1 to EGA and (S)VGA, fixed Microsoft Word 2.0 for DOS; The RTL8029AS now correctly enables I/O port range when base address is changed via PCI registers with I/O access enabled; Tentative fix for DirectDraw <-> Direct3D switching issues based on proposal from TheCollector1995; Fixed 64-bit makefile; Fixed LZF_C.C so it can compile for 64-bit Windows; Applied all mainline PCem commits.
This commit is contained in:
@@ -44,9 +44,9 @@ OP_XCHG_EAX_(EBP)
|
||||
|
||||
static uint32_t ropXCHG_b(uint8_t opcode, uint32_t fetchdat, uint32_t op_32, uint32_t op_pc, codeblock_t *block)
|
||||
{
|
||||
#ifdef __amd64__
|
||||
return 0;
|
||||
#else
|
||||
// #ifdef __amd64__
|
||||
// return 0;
|
||||
// #else
|
||||
int src_reg, dst_reg, temp_reg;
|
||||
|
||||
if ((fetchdat & 0xc0) != 0xc0)
|
||||
@@ -59,7 +59,7 @@ static uint32_t ropXCHG_b(uint8_t opcode, uint32_t fetchdat, uint32_t op_32, uin
|
||||
STORE_REG_TARGET_B_RELEASE(temp_reg, fetchdat & 7);
|
||||
|
||||
return op_pc + 1;
|
||||
#endif
|
||||
// #endif
|
||||
}
|
||||
static uint32_t ropXCHG_w(uint8_t opcode, uint32_t fetchdat, uint32_t op_32, uint32_t op_pc, codeblock_t *block)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user