diff options
author | Michael Pavone <pavone@retrodev.com> | 2016-07-26 23:12:23 -0700 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2016-07-26 23:12:23 -0700 |
commit | 10ba33e23d93913721acbc9c68da229cdd45606e (patch) | |
tree | 2435f764fceb039efeff2b0c3a292cfbe41c0317 /ztestrun.c | |
parent | 70c4118d886367ee2c004d90270a31dab1681533 (diff) |
Fix DAA and implement half-carry for remaining instructions. Z80 core now passes ZEXDOC!
Diffstat (limited to 'ztestrun.c')
-rw-r--r-- | ztestrun.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -108,8 +108,8 @@ int main(int argc, char ** argv) (context.regs[Z80_IXH] << 8) | context.regs[Z80_IXL], (context.regs[Z80_IYH] << 8) | context.regs[Z80_IYL], context.sp, context.im, context.iff1, context.iff2); - printf("Flags: SZVNC\n" - " %d%d%d%d%d\n", context.flags[ZF_S], context.flags[ZF_Z], context.flags[ZF_PV], context.flags[ZF_N], context.flags[ZF_C]); + printf("Flags: SZHVNC\n" + " %d%d%d%d%d%d\n", context.flags[ZF_S], context.flags[ZF_Z], context.flags[ZF_H], context.flags[ZF_PV], context.flags[ZF_N], context.flags[ZF_C]); puts("--Alternate Regs--"); printf("A: %X\nB: %X\nC: %X\nD: %X\nE: %X\nHL: %X\n", context.alt_regs[Z80_A], context.alt_regs[Z80_B], context.alt_regs[Z80_C], |