AltairZ80: Documentation update and small formatting cleanup

This commit is contained in:
Peter Schorn 2020-04-30 19:01:38 +02:00
parent 4099330616
commit 494e68fcbf
2 changed files with 24 additions and 24 deletions

View file

@ -2078,7 +2078,7 @@ static t_stat sim_instr_mmu (void) {
extern int32 keyboardInterrupt; extern int32 keyboardInterrupt;
extern uint32 keyboardInterruptHandler; extern uint32 keyboardInterruptHandler;
int32 reason = SCPE_OK; int32 reason = SCPE_OK;
int i; uint32 i;
register uint32 specialProcessing; register uint32 specialProcessing;
register uint32 AF; register uint32 AF;
register uint32 BC; register uint32 BC;
@ -6373,7 +6373,7 @@ typedef struct {
const static CPUFLAG cpuflags8080[] = { const static CPUFLAG cpuflags8080[] = {
{1 << 7, "S"}, {1 << 7, "S"},
{1 << 6, "Z"}, {1 << 6, "Z"},
{1 << 4, "A"}, {1 << 4, "H"},
{1 << 3, "P"}, {1 << 3, "P"},
{1 << 1, "N"}, {1 << 1, "N"},
{1 << 0, "C"}, {1 << 0, "C"},
@ -6383,7 +6383,7 @@ const static CPUFLAG cpuflags8080[] = {
const static CPUFLAG cpuflagsZ80[] = { const static CPUFLAG cpuflagsZ80[] = {
{1 << 7, "S"}, {1 << 7, "S"},
{1 << 6, "Z"}, {1 << 6, "Z"},
{1 << 4, "A"}, {1 << 4, "H"},
{1 << 3, "V"}, {1 << 3, "V"},
{1 << 1, "N"}, {1 << 1, "N"},
{1 << 0, "C"}, {1 << 0, "C"},
@ -6970,7 +6970,7 @@ t_stat cpu_show_hist (FILE *st, UNIT *uptr, int32 val, CONST void *desc)
/* /*
** Use DDT/Z output: ** Use DDT/Z output:
*/ */
fprintf(st, "CPU: C%dZ%dS%dP%dH%dN%d A =%02X BC =%04X DE =%04X HL =%04X S =%04X P =%04X ", fprintf(st, "CPU: C%dZ%dS%dV%dH%dN%d A =%02X BC =%04X DE =%04X HL =%04X S =%04X P =%04X ",
TSTFLAG2(h->af, C), TSTFLAG2(h->af, C),
TSTFLAG2(h->af, Z), TSTFLAG2(h->af, Z),
TSTFLAG2(h->af, S), TSTFLAG2(h->af, S),

Binary file not shown.