Mercurial > repos > blastem
diff ztestrun.c @ 1705:9ab64ef5cba0
Initial stab at overflow flag implementation in CPU DSL. Probably broken for subtraction
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 28 Jan 2019 21:15:27 -0800 |
parents | 49a52c737bf0 |
children | 48a43dff4dc0 |
line wrap: on
line diff
--- a/ztestrun.c Mon Jan 28 20:54:55 2019 -0800 +++ b/ztestrun.c Mon Jan 28 21:15:27 2019 -0800 @@ -116,7 +116,7 @@ printf("Flags: SZYHXVNC\n" " %d%d%d%d%d%d%d%d\n", context->last_flag_result >> 7, context->zflag != 0, context->last_flag_result >> 5 & 1, context->chflags >> 3 & 1, - context->last_flag_result >> 3 & 1, context->pvflag != 0, context->nflag, context->chflags >> 7 & 1 + context->last_flag_result >> 3 & 1, context->pvflag != 0, context->nflag != 0, context->chflags >> 7 & 1 ); puts("--Alternate Regs--"); printf("A: %X\nB: %X\nC: %X\nD: %X\nE: %X\nHL: %X\n",