complete first version

This commit is contained in:
paul moore
2023-12-03 13:58:04 -08:00
parent d21616ea71
commit c43557d4ed
6 changed files with 9072 additions and 9 deletions

View File

@@ -476,7 +476,17 @@ void SegDump (void)
printf ("\n");
}
void ListSegments (FILE* destination)
{
/* summary of segments when seglist requested */
unsigned I;
fprintf (destination, "\nSegment summary\n\n");
for (I = 0; I < CollCount (&SegmentList); ++I) {
Segment* S = CollAtUnchecked (&SegmentList, I);
if(S->FragCount)
fprintf (destination, "Segment: %02X = %s\n", S->Num, S->Def->Name);
}
}
void SegInit (void)
/* Initialize segments */