This commit is contained in:
Denis Molony 2018-06-13 20:52:45 +10:00
parent 285c87938e
commit 67d3cb87bf
4 changed files with 8 additions and 7 deletions

View File

@ -5,7 +5,7 @@ import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
public class NibDisk
class NibDisk
{
// private final Nibblizer nibbler;

View File

@ -32,7 +32,8 @@ public class SectorList extends AbstractFile
public String getText ()
{
StringBuilder text = new StringBuilder ("Block Sector Type Owner\n");
text.append ("----- ------------------ ---------------------------------------------\n");
text.append (
"----- ------------------ ---------------------------------------------\n");
for (DiskAddress da : sectors)
{
@ -40,8 +41,8 @@ public class SectorList extends AbstractFile
String owner = formattedDisk.getSectorFilename (da);
if (owner == null)
owner = "";
text.append (String.format (" %04X %-18s %s%n", da.getBlock (), sectorType.name,
owner));
text.append (
String.format (" %04X %-18s %s%n", da.getBlock (), sectorType.name, owner));
}
return text.toString ();

View File

@ -30,9 +30,9 @@ import com.bytezone.diskbrowser.utilities.HexFormatter;
// Position: 0 8 1 9 2 A 3 B 4 C 5 D 6 E 7 F - Prodos (.PO disks)
// Position: 0 7 E 6 D 5 C 4 B 3 A 2 9 1 8 F - Dos (.DO disks)
public class V2dDisk
class V2dDisk
{
// private static int[][] interleave =
// private static int[][] interleave =
// { { 0, 8, 1, 9, 2, 10, 3, 11, 4, 12, 5, 13, 6, 14, 7, 15 },
// { 0, 8, 1, 9, 2, 10, 3, 11, 4, 12, 5, 13, 6, 14, 7, 15 } };

View File

@ -7,7 +7,7 @@ import java.io.IOException;
import com.bytezone.diskbrowser.utilities.Utility;
public class WozDisk
class WozDisk
{
private static final int TRK_SIZE = 0x1A00;
private static final int INFO_SIZE = 0x3C;