Unibus and Qbus VAX: simplify map register output summary for duplicate lines
This commit is contained in:
parent
9736b13ea3
commit
0859d64434
1 changed files with 4 additions and 1 deletions
|
@ -617,7 +617,10 @@ for (mr = mstart + 1; mr <= mend; mr++) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (same_start != mr - 1)
|
if (same_start != mr - 1)
|
||||||
fprintf (st, "%s-MAP[%04X thru %04X] same as above\n", busname, same_start + 1, mr - 1);
|
if (same_start + 1 == mr - 1)
|
||||||
|
fprintf (st, "%s-MAP[%04X] same as above\n", busname, same_start + 1);
|
||||||
|
else
|
||||||
|
fprintf (st, "%s-MAP[%04X thru %04X] same as above\n", busname, same_start + 1, mr - 1);
|
||||||
fprintf (st, "%s-MAP[%04X] = %08X%s\n", busname, mr, busmap[mr], desc);
|
fprintf (st, "%s-MAP[%04X] = %08X%s\n", busname, mr, busmap[mr], desc);
|
||||||
same_start = mr;
|
same_start = mr;
|
||||||
same_val = busmap[mr];
|
same_val = busmap[mr];
|
||||||
|
|
Loading…
Add table
Reference in a new issue