mirror of
https://github.com/dmolony/DiskBrowser.git
synced 2024-06-09 10:29:32 +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)
|
if (ifIndent > 0)
|
||||||
alignEqualsPos = 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
|
else if (isEndOfLine (firstByte)) // empty subline
|
||||||
return;
|
return;
|
||||||
else // probably Beagle Bros 0D or 0A
|
else // probably Beagle Bros 0D or 0A
|
||||||
System.out.printf ("%s unexpected bytes at %5d: %s%n", parent.parent.name,
|
System.out.printf ("%s unexpected bytes at line %5d:%n%s%n", parent.parent.name,
|
||||||
parent.lineNumber,
|
parent.lineNumber, HexFormatter.formatNoHeader (buffer, startPtr, length));
|
||||||
HexFormatter.formatNoHeader (buffer, startPtr, length).substring (7));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
String var = "";
|
String var = "";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user