286 version of IRET sets flags properly, Windows 3.x works on 286 again.

Re-added useless word->word version of MOVZX, Windows/386 works again.
This commit is contained in:
TomW 2013-12-02 21:00:26 +00:00
commit 94fc8ad3f9
4 changed files with 70 additions and 9 deletions

View file

@ -42,6 +42,28 @@ static int opMOVZX_l_b_a32(uint32_t fetchdat)
cycles -= 3;
return 0;
}
static int opMOVZX_w_w_a16(uint32_t fetchdat)
{
uint16_t temp;
fetch_ea_16(fetchdat);
temp = geteaw(); if (abrt) return 0;
regs[reg].w = temp;
cycles -= 3;
return 0;
}
static int opMOVZX_w_w_a32(uint32_t fetchdat)
{
uint16_t temp;
fetch_ea_32(fetchdat);
temp = geteaw(); if (abrt) return 0;
regs[reg].w = temp;
cycles -= 3;
return 0;
}
static int opMOVZX_l_w_a16(uint32_t fetchdat)
{
uint16_t temp;