Parse and report segment bank number in dbginfo module and test shell

This commit is contained in:
Clyde Shaffer
2024-11-16 17:13:04 -05:00
parent fa80e171a2
commit 90e4360958
3 changed files with 27 additions and 7 deletions

View File

@@ -721,7 +721,7 @@ static void PrintSegmentHeader (void)
/* Output a header for a list of segments */
{
/* Header */
PrintLine (" id name address size output file offs");
PrintLine (" id name address size output file offs bank");
PrintSeparator ();
}
@@ -741,6 +741,7 @@ static void PrintSegments (const cc65_segmentinfo* S)
PrintSize (D->segment_size, 7);
Print ("%-16s", D->output_name? D->output_name : "");
PrintSize (D->output_offs, 6);
PrintId (D->segment_bank, 8);
NewLine ();
}
}