Mercurial > repos > blastem
diff ztestrun.c @ 1046:a27fdf43f1a7
Fix DAA and implement half-carry for remaining instructions. Z80 core now passes ZEXDOC!
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Tue, 26 Jul 2016 23:12:23 -0700 |
parents | 74cc31040521 |
children | ef7ee9919a73 |
line wrap: on
line diff
--- a/ztestrun.c Tue Jul 26 00:11:33 2016 -0700 +++ b/ztestrun.c Tue Jul 26 23:12:23 2016 -0700 @@ -108,8 +108,8 @@ (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],