mirror of
https://github.com/dmolony/DiskBrowser.git
synced 2024-06-26 17:29:50 +00:00
tidying
This commit is contained in:
parent
285c87938e
commit
67d3cb87bf
|
@ -5,7 +5,7 @@ import java.io.File;
|
||||||
import java.io.FileInputStream;
|
import java.io.FileInputStream;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
||||||
public class NibDisk
|
class NibDisk
|
||||||
{
|
{
|
||||||
// private final Nibblizer nibbler;
|
// private final Nibblizer nibbler;
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,8 @@ public class SectorList extends AbstractFile
|
||||||
public String getText ()
|
public String getText ()
|
||||||
{
|
{
|
||||||
StringBuilder text = new StringBuilder ("Block Sector Type Owner\n");
|
StringBuilder text = new StringBuilder ("Block Sector Type Owner\n");
|
||||||
text.append ("----- ------------------ ---------------------------------------------\n");
|
text.append (
|
||||||
|
"----- ------------------ ---------------------------------------------\n");
|
||||||
|
|
||||||
for (DiskAddress da : sectors)
|
for (DiskAddress da : sectors)
|
||||||
{
|
{
|
||||||
|
@ -40,8 +41,8 @@ public class SectorList extends AbstractFile
|
||||||
String owner = formattedDisk.getSectorFilename (da);
|
String owner = formattedDisk.getSectorFilename (da);
|
||||||
if (owner == null)
|
if (owner == null)
|
||||||
owner = "";
|
owner = "";
|
||||||
text.append (String.format (" %04X %-18s %s%n", da.getBlock (), sectorType.name,
|
text.append (
|
||||||
owner));
|
String.format (" %04X %-18s %s%n", da.getBlock (), sectorType.name, owner));
|
||||||
}
|
}
|
||||||
|
|
||||||
return text.toString ();
|
return text.toString ();
|
||||||
|
|
|
@ -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 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)
|
// 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 },
|
||||||
// { 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 } };
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ import java.io.IOException;
|
||||||
|
|
||||||
import com.bytezone.diskbrowser.utilities.Utility;
|
import com.bytezone.diskbrowser.utilities.Utility;
|
||||||
|
|
||||||
public class WozDisk
|
class WozDisk
|
||||||
{
|
{
|
||||||
private static final int TRK_SIZE = 0x1A00;
|
private static final int TRK_SIZE = 0x1A00;
|
||||||
private static final int INFO_SIZE = 0x3C;
|
private static final int INFO_SIZE = 0x3C;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user