mirror of
https://github.com/dmolony/DiskBrowser.git
synced 2025-01-14 07:30:01 +00:00
tidying
This commit is contained in:
parent
30c44770d3
commit
5901ea87ce
@ -390,20 +390,6 @@ public class ApplesoftBasicProgram extends BasicProgram implements ApplesoftCons
|
||||
if (ifIndent > 0)
|
||||
alignEqualsPos = 0;
|
||||
}
|
||||
|
||||
if (false)
|
||||
{
|
||||
int ptr = endPtr + 2;
|
||||
if (ptr < buffer.length - 1) // sometimes there's an extra byte on the end
|
||||
{
|
||||
int linkField = unsignedShort (buffer, 0);
|
||||
int programLoadAddress = linkField - getLineLength (0);
|
||||
fullText.append ("\nExtra data:\n\n");
|
||||
fullText.append (HexFormatter.formatNoHeader (buffer, ptr, buffer.length - ptr,
|
||||
programLoadAddress + ptr));
|
||||
fullText.append (NEWLINE);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------------//
|
||||
|
@ -80,9 +80,8 @@ public class SubLine implements ApplesoftConstants
|
||||
else if (isEndOfLine (firstByte)) // empty subline
|
||||
return;
|
||||
else // probably Beagle Bros 0D or 0A
|
||||
System.out.printf ("%s unexpected bytes at %5d: %s%n", parent.parent.name,
|
||||
parent.lineNumber,
|
||||
HexFormatter.formatNoHeader (buffer, startPtr, length).substring (7));
|
||||
System.out.printf ("%s unexpected bytes at line %5d:%n%s%n", parent.parent.name,
|
||||
parent.lineNumber, HexFormatter.formatNoHeader (buffer, startPtr, length));
|
||||
}
|
||||
|
||||
String var = "";
|
||||
|
Loading…
x
Reference in New Issue
Block a user