Robert Greene
9cc0eaf127
Organized imports. In particular, the
...
com.webcodepro.applecommander.util package was imported
in its entirety.
2003-09-01 03:27:06 +00:00
Robert Greene
e869246c90
Moved AppleUtil to com.webcodepro.applecommander.util package.
2003-05-26 21:10:50 +00:00
Robert Greene
3febdd2c08
findFreeBlock now detects if the block actually exists on the disk
...
image. Typically is a problem with HDV images which allocate out to
32MB but dynamically grow within the emulator.
2003-03-31 05:04:19 +00:00
Robert Greene
e30264593c
Updated to adhere to the DirectoryEntry interface; subdirectories can
...
now be "extended" (additional blocks allocated to the directory);
started to add variables for constants in the hopes of making the code
a bit more obvious in its intent.
2003-03-06 03:52:18 +00:00
Robert Greene
c37fb4307a
Fixed filetype initialization; getFiles now tests if a file entry is empty
...
(in which case it is not returned); createFile now checks for deleted
files and re-uses the file entry.
2003-03-02 23:09:46 +00:00
Robert Greene
fc9214e886
Resolved issues with freeBlocks (was freeing index block even if that
...
block number was 0); setFileData now writes files of 128K correctly.
2003-02-27 04:38:07 +00:00
Robert Greene
ba4243a591
Added getSuggestedFiletype along with code reorganizations to
...
support this method.
2003-02-17 04:41:06 +00:00
Robert Greene
541df2d2f8
Added getFiletypes (all possible filetypes) and needsAddress plus
...
ProDOS specific findFiletype and getFiletype. The ProdosFileType
inner class was moved from ProdosFileEntry into this class.
2003-02-11 04:37:27 +00:00
Robert Greene
d1f736bd1b
Removed unused code, fixed getFileData when reading large files
...
(tree files) and fixed a bug when writing to a file and calculating the
offset for the index block for tree files (position would get larger
than 256, which caused an array out of bounds exception).
2003-02-08 16:45:52 +00:00
Robert Greene
0ce42f9f7e
Added getSuggestedFilename.
2003-01-26 02:38:30 +00:00
Robert Greene
ae9ec0f016
Added support for writing files.
2003-01-11 22:08:11 +00:00
Robert Greene
49938c5325
Changed disk creation to use a create method, as this is better
...
suited to disks that support mutiple logical disks. As part of this change,
the setDiskName method was added to set the ProDOS VOLUME name.
2002-12-17 05:26:54 +00:00
Robert Greene
6a59567b16
Added UniDosFormatDisk - which is essentially a DOS disk except that
...
the physical disk supports two logical disks. Added a logical disk number
which returns 0 when there are no logical disks or the specific logical
disk number if they exist. Currently, only UniDosFormatDisk does this.
In the future, Pascal disk may support this and possibly ProDOS disks
that have sections set aside (ie, a Pascal partition) - if they exist in the
real world.
2002-12-14 05:45:08 +00:00
Robert Greene
62c7b5bc70
Added ability to create and format a disk. Routines were centralized
...
a bit and the various file entries now read and write directly to the
disk image.
2002-12-12 01:54:01 +00:00
Robert Greene
ebf72c103e
Version 1.1.1 is the initial GPL release of AppleCommander.
2002-12-01 02:21:00 +00:00