More on this: I also think all of the "negative summands" flag setting sections in correctOvCaFlagafterAddSubExtended() are incorrect. From reading this (accepted answer), the "addition" section flags are all being set correctly, but the subtraction (negative "b") flags are not: +-+ should probably not be setting OF +-- should probably be setting CF --+ should probably not be setting CF --- should probably not be setting OF That was just a cursory glance, and also assuming that the table in the the...
More on this: I also think all of the "negative summands" flag setting sections in correctOvCaFlagafterAddSubExtended() are incorrect. From reading this (accepted answer), the "addition" section flags are all being set correctly, but the subtraction (negative "b") flags are not: should probably not be setting OF should probably be setting CF should probably not be setting CF should probably not be setting OF That was just a cursory glance, and also assuming that the table in the the accepted answer...
Incorrect interpretation of sign extended immediate
Initial commit. Just the frontend design at this point with very little backing code.
Updates to fix memory leaks, and allow i8086text to use addresses up to 0xFFFFF
Patch to fix #5 -- STOS incorrectly fetches AX into DI
Sorry, it looks like this was already fixed at some point. I had pulled the 0.9.2 tarball that was available from the front page, which (at least at the time) still had the bug that appears to have been patched back in 2004 (or prior).
My fork was as of 305f9e, so not the "latest". I'm seeing now that there have been a significant number of commits since that time. There are also a significant number of bugs in i8086text.c, most of which pertain to reading/using/displaying addresses as uint16 rather than uint32. I'll upload those as a separate ticket, but it's going to be difficult to separate out the other changes I've been making as well (such as passing a core pointer to all routines, to allow multiple emulators to run in the...