Commit Graph

470 Commits

Author SHA1 Message Date
Robert Greene
400618bb86 View file icon. 2003-12-07 06:17:01 +00:00
Robert Greene
c37e5767a2 Updated year in comments. 2003-12-06 04:14:00 +00:00
Robert Greene
9ba7c4f0c3 Updated comments and removed large chunk of commented out code
at bottom of class that appears to have been implemented.
2003-12-04 23:54:56 +00:00
Robert Greene
34a86acf17 Updated VERSION to 1.3.0 (with addition of compiler). 2003-12-04 23:54:15 +00:00
Robert Greene
10b53e0767 Added support to handle canCompile flag per ProDOS file type. 2003-12-04 06:01:08 +00:00
Robert Greene
991b574427 Added canCompile metod to all FileEntry objects. 2003-12-04 06:00:26 +00:00
Robert Greene
0cb572b961 Added compile flag to BAS. 2003-12-04 05:59:21 +00:00
Robert Greene
eb3638ffd1 Beginnings of Compile Wizard. 2003-12-04 05:59:03 +00:00
Robert Greene
db19766377 Compile Wizard logo. 2003-12-04 05:58:43 +00:00
Robert Greene
09f29eb815 Began adding compile option in toolbar. 2003-12-04 05:57:56 +00:00
Robert Greene
88bf05b9ad Added Compile Wizard logo. 2003-12-04 05:57:24 +00:00
Robert Greene
d127416aab Added compile directory. 2003-12-04 05:57:08 +00:00
Robert Greene
070c3d8b63 Added changes per John Matthews fixes for AppleCommander 1.2.3.
See http://www.wright.edu/~john.matthews/ac.html.
2003-12-04 04:10:49 +00:00
Robert Greene
9709fe8a03 ProDOS month correction (recevied from John B Matthews). 2003-09-05 03:34:40 +00:00
Robert Greene
e86ef7130e Correction suggested by Chris Morse to continue searching for
a file in getFile until it is found.
2003-09-05 03:24:44 +00:00
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
70a7e4bf85 Added a colon (:) to getDiskName per John Matthews. 2003-09-01 03:24:44 +00:00
Robert Greene
4cdb446f41 Incorporated fix from John Matthews for date format in
getFileColumnData.
2003-09-01 03:23:51 +00:00
Robert Greene
513627cc95 Incorporated fix from John Matthews for get/setPascalDate. 2003-09-01 03:23:21 +00:00
Robert Greene
4893e7b5aa Added toString. 2003-06-14 02:46:06 +00:00
Robert Greene
723c54d549 Added isNumber, 2003-06-14 02:45:17 +00:00
Robert Greene
03d7d6f0ba Added FOR, NEXT, GOTO, HPLOT as well as fixed a few addressing
issues (related to assembly code generated).
2003-06-14 02:44:43 +00:00
Robert Greene
51436c8808 Replaced tab characters with spaces. 2003-06-14 02:42:00 +00:00
Robert Greene
bb4adcc1e9 Added more memory locations. 2003-06-06 03:29:37 +00:00
Robert Greene
a79a963729 Added support for FLASH, HCOLOR=, HTAB, INVERSE, NORMAL,
PRINT, VTAB.
Added methods addLoadAddress, addLoadByteValue, addLoadFac, 
addLoadWordValue, evaluateExpression.
Memory listing is read from properties file.
2003-06-06 03:28:44 +00:00
Robert Greene
3721db440e Added constant types as well as value of variable. 2003-06-06 03:24:21 +00:00
Robert Greene
e677fe4baf Added isEndOfCommand and isExpressionSeparator. 2003-06-06 03:23:10 +00:00
Robert Greene
50aab615cc Separates on character tokens (":;,+-*/"). 2003-06-06 03:22:37 +00:00
Robert Greene
895685e948 When at end of file (nextAddress is 0), set the offset to the end
of file.
2003-06-03 05:53:19 +00:00
Robert Greene
e73e9c0f2d Added isCommandSeparator. 2003-06-03 05:50:19 +00:00
Robert Greene
36a7089833 Updated testCompileColors. 2003-06-03 05:49:34 +00:00
Robert Greene
02505cc0cf Information regarding a variable. 2003-06-03 05:48:41 +00:00
Robert Greene
eb55babf23 Thrown when an exception occurs during the compile. 2003-06-03 05:48:15 +00:00
Robert Greene
79e792984e Early refactoring of compiler. 2003-06-03 05:47:57 +00:00
Robert Greene
370126207a First revision of known Apple ROM locations. 2003-06-03 05:47:22 +00:00
Robert Greene
98a281f3bc Early stab at an Applesoft compiler. Needs to be redesigned/refactored. 2003-06-01 19:49:04 +00:00
Robert Greene
822b528bf5 Test for ApplesoftCompiler. 2003-06-01 19:48:30 +00:00
Robert Greene
b67954d5eb Compile icon added. 2003-06-01 19:48:10 +00:00
Robert Greene
3b0dd511cc Added compile icon. 2003-06-01 19:47:18 +00:00
Robert Greene
a75acf0e66 Added a hack to break on expression terminators (colon comma,
semicolon).
2003-06-01 19:46:59 +00:00
Robert Greene
1e96c1e867 Defines all tokens. 2003-06-01 19:45:12 +00:00
Robert Greene
3901ce8230 Represents an Applesoft token. This is returned by ApplesoftTokenizer. 2003-05-28 03:45:12 +00:00
Robert Greene
c8247048e7 The ApplesoftTokenizer provides a stream of Applesoft related tokens
in a similar fashion as a StringTokenizer or Enumeration.
2003-05-28 03:44:46 +00:00
Robert Greene
5799f4c0ea Updated to use ApplesoftTokenizer. 2003-05-28 03:43:35 +00:00
Robert Greene
e869246c90 Moved AppleUtil to com.webcodepro.applecommander.util package. 2003-05-26 21:10:50 +00:00
Robert Greene
a9e036be80 Added test for AppleUtil. 2003-05-26 05:18:29 +00:00
Robert Greene
2c61cc312b Added getApplesoftFloat. 2003-05-26 05:18:17 +00:00
Robert Greene
6eea1ae56b Set vesion to 1.2.4pre. 2003-05-02 02:57:37 +00:00
Robert Greene
ce1ba03364 Removed unused exit method. 2003-05-02 02:57:19 +00:00
Robert Greene
a0f22ce340 Removed unused AppleWorksWordProcessorFileFilter. 2003-05-02 02:56:33 +00:00
Robert Greene
39302afda9 Added capability to resize the disk when importing files. 2003-05-02 02:56:07 +00:00
Robert Greene
bda3c40749 Added resizeDiskImage capability. 2003-05-02 02:54:52 +00:00
Robert Greene
070c0d1fb1 Updated version number. 2003-04-14 01:30:19 +00:00
Robert Greene
af96dbef60 Minor correction to access static variable from the Class instead of an
instance.
2003-04-14 01:29:49 +00:00
Robert Greene
1aa60999e0 Explicitly thrown when the physical disk will not hold a block. 2003-03-31 05:04:45 +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
fe0e5d1cfb Updated version number to reflect 1.2.3pre. 2003-03-27 05:35:13 +00:00
Robert Greene
bbc89f474f Moved back to the default NumberFormat instance. The Integer
instance does not compile under MinGW.
2003-03-27 05:34:56 +00:00
Robert Greene
43ef9e45b4 Rewrote create method to use Reflection. The primary purpose is to
"simplify" building native executables.
2003-03-27 04:07:42 +00:00
Robert Greene
87c3e21e99 Separated image handling into AppleImage and its specific subclasses. 2003-03-26 05:39:34 +00:00
Robert Greene
671c98c37d Updated version number to 1.2.2. 2003-03-16 05:27:53 +00:00
Robert Greene
2886271923 Added centering for File Import Settings dialog. 2003-03-16 05:27:38 +00:00
Robert Greene
8a920e4cb4 Added Hex Dump as an option. 2003-03-11 04:25:15 +00:00
Robert Greene
c28924ef03 This FileFilter will format a file as a hex dump. 2003-03-11 04:24:36 +00:00
Robert Greene
dc2f36d6f1 Added getFormatted3ByteAddress. 2003-03-11 04:24:17 +00:00
Robert Greene
0990b96d98 Updated to have all Wizard dialogs centered on the parent window. 2003-03-06 13:54:53 +00:00
Robert Greene
e8faaaff0b This class contains SWT-related utility code. Initial routine is one
to center a child window upon the parent window.
2003-03-06 13:54:26 +00:00
Robert Greene
a39858237c Finished up progress bar for import operation and centered the
window.
2003-03-06 13:53:49 +00:00
Robert Greene
30bde2eb4b Updated test to reflect addition of DirectoryEntry interface; have
some early code in this release (commented out) related to having a
progress meter for imports.
2003-03-06 04:06:17 +00:00
Robert Greene
b4417671c4 Updated test to reflect addition of DirectoryEntry interface. 2003-03-06 03:59:14 +00:00
Robert Greene
db798f69cd Added a reference to the related ProdosDirectoryEntry class. 2003-03-06 03:58:22 +00:00
Robert Greene
9b65d39df5 Migrated some subdirectory entry specific code into
ProdosDirectoryEntry.
2003-03-06 03:57:33 +00:00
Robert Greene
a554f8e8ec Handles ProDOS directory entries (as opposed to directory headers).
They are different but work in conjunction with eachother.
2003-03-06 03:55:03 +00:00
Robert Greene
cac03c9764 Slight comment update. 2003-03-06 03:53:36 +00:00
Robert Greene
7d61186520 Removed getFiles as that will be covered by DirectoryEntry, if it is
implemented.
2003-03-06 03:53:07 +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
8494c31989 Updated to adhere to the DirectoryEntry interface; removed
entries covered by DirectoryEntry.
2003-03-06 03:45:21 +00:00
Robert Greene
a9ea9738c0 Updated to adhere to the DirectoryEntry interface. 2003-03-06 03:43:21 +00:00
Robert Greene
5fccf74422 Shred interface for any directory type. This may be the main
catalog or a subdirectory of some sort. The main catalog applies
to all disk formats while the subdirectory currently is only used by
ProDOS.
2003-03-06 03:39:41 +00:00
Robert Greene
603774e3cb Updated VERSION number (1.2.2pre). 2003-03-02 23:11:48 +00:00
Robert Greene
d14399a834 Now enables/disables the address component as appropriate. 2003-03-02 23:11:23 +00:00
Robert Greene
0d233deaf3 Added comments; added create/delete/create sequence to verify that
file entries are re-used once the file has been deleted.
2003-03-02 23:10:46 +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
4652ac9f63 Added test to indicate if this entry is empty. Used to determine if this
is a valid entry or unused space.
2003-03-02 23:07:50 +00:00
Robert Greene
ced0fba9f2 Updated code to be 1.2.1. 2003-03-01 23:00:35 +00:00
Robert Greene
257836c4a0 DiskInfo tab is now updated whenever it is displayed. Up until this
point, the information was static - so file imports or deletes never
updated the information.
2003-03-01 22:58:56 +00:00
Robert Greene
ca9a3236c8 Moved Import menu from file popup to the directory popup. 2003-03-01 22:57:49 +00:00
Robert Greene
43ad0bd2f3 Was not computing offset correctly for DOS format images of 800K.
Primarily, this affected UniDOS.
2003-03-01 22:56:59 +00:00
Robert Greene
1a23a3a7cb Saving disks is now univerally optional; added tests for OzDOS as well
as UniDOS.
2003-03-01 16:06:52 +00:00
Robert Greene
d83defddc7 Fixed a bug where freeSectors and setFileData were not working
appropriately with deleted files (with an initial track of 255).
2003-03-01 16:04:42 +00:00
Robert Greene
ec47243efe Fixed setSectorsUsed to set a word (two bytes) instead of a byte. 2003-03-01 16:03:20 +00:00
Robert Greene
e0d6a78c37 Added tests to create and delete large files to help uncover issues
with large file management under ProDOS. Also identified a problem
with DOS disks.
2003-02-27 04:38:52 +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
c825b36dff Added AppleWorks Spread Sheet files export wizard. 2003-02-26 01:31:05 +00:00
Robert Greene
6cfda661ac Added AppleWorks Spread Sheet files to getSuggestedFilter. 2003-02-26 01:30:35 +00:00
Robert Greene
dcb6dd79db This FileFilter exports AppleWorks Spread Sheet (ASP) files. 2003-02-26 01:30:04 +00:00
Robert Greene
b5296d8f15 Updated comments to include a reference to gno.org. 2003-02-26 01:29:31 +00:00
Robert Greene
71ae6cd4f9 Added getSaneNumber and getSignedWordValue. 2003-02-26 01:29:12 +00:00
Robert Greene
08a70ca7ab Added & for ALT+key presses. 2003-02-23 20:52:53 +00:00
Robert Greene
3e2a6aa899 Fixed date and time handling. 2003-02-19 12:27:19 +00:00
Robert Greene
9e5b15ceb4 Added filetype guessing to the import wizard. 2003-02-17 04:43:51 +00:00
Robert Greene
1c4f1de543 Added AppleWorks Data Base file as an option to the filetype list. 2003-02-17 04:43:17 +00:00
Robert Greene
61d3875500 Added new constructure that additionally allows the filetype to
be specified.
2003-02-17 04:42:39 +00:00
Robert Greene
d7ede02518 Tagged code as 1.2.1pre during development. 2003-02-17 04:42:05 +00:00
Robert Greene
97b4854d2b Added AppleWorksDataBaseFileFilter to the list of suggested filters. 2003-02-17 04:41:42 +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
93d73755db Now carries margin setting through, sets font to Courier New (more
realistic formatting), and fixes boldface not being turned off
correctly.
2003-02-17 04:37:38 +00:00
Robert Greene
6abc7610ad FileFilter to handle AppleWorks Data Base files and export to
CSV format.
2003-02-17 04:32:39 +00:00
Robert Greene
c3cee4f38b First attempt at setting appropriate default button. Added getDialog. 2003-02-11 04:43:23 +00:00
Robert Greene
72a4dd01cd Many fixes - primarily one is to implement editSelection. 2003-02-11 04:42:45 +00:00
Robert Greene
ef77760bc6 Added ability to import files. 2003-02-11 04:41:39 +00:00
Robert Greene
4684395b20 Added hasFiletype. 2003-02-11 04:41:01 +00:00
Robert Greene
69a2013ea4 Updated to 1.2.0. 2003-02-11 04:40:42 +00:00
Robert Greene
b52fca61a8 Added needsAddress and setAddress along with ProDOS-specific
setAuxiliaryType. Moved ProdosFileType inner class to
ProdosFormattedDisk.
2003-02-11 04:40:28 +00:00
Robert Greene
ee700cf995 Added indicators for filetypes that require an address. 2003-02-11 04:37:50 +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
6c8dad1ea7 Added getFiletypes (all possible filetypes) and needsAddress. 2003-02-11 04:35:04 +00:00
Robert Greene
ecf6f16a83 Added needsAddress and setAddress. 2003-02-11 04:34:28 +00:00
Robert Greene
d5089727f9 Enhanced RTF code generated. 2003-02-11 04:33:55 +00:00
Robert Greene
080f0a9ab1 Added convertFormattedWord. 2003-02-11 04:33:01 +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
216b34549d Fixed a minor bug in the format routine. Only the first catalog
sector could be found up to this point.
2003-02-08 16:43:08 +00:00
Robert Greene
0ca49a89f2 Added RTF export option. Changed format choice to be done via
select methods - to avoid dependence upon the internal code of
the filter. Currently, a contant integer is used, but that is leading
to multiple switch statements. This may be changed to some form
of innner class in the future. The change to a select method will
hide this internal state from the world (a good thing!).
2003-02-08 16:42:07 +00:00
Robert Greene
a554a1d445 Modified test to reflect the fact that DOS 3.3 "T" (text) files do not
store a length, so a comparison after writing and then reading the
text file cannot be done. This affected the writeFile methods as well
as all invocations of the methods.
2003-02-08 16:38:25 +00:00
Robert Greene
7a1b14dae7 Removed unused code and made imageCanvas a class-level object
and updated code appropriately.
2003-02-08 16:37:06 +00:00
Robert Greene
86c9586bbc Removed unused code, removed unused imports, made imageCanvas
a class-level object and updated code appropriately.
2003-02-08 16:36:34 +00:00
Robert Greene
955aea6c24 Removed unused code. 2003-02-08 16:35:44 +00:00
Robert Greene
aaea5ee874 Updated to for AppleWorksFileExportFilter enhancements. Changed
to use select methods.
2003-02-08 16:35:19 +00:00
Robert Greene
f346a0ac28 Updated to for AppleWorksFileExportFilter enhancements. Added RTF
as an export option and changed to use select methods.
2003-02-08 16:34:41 +00:00
Robert Greene
2a17b2c722 Organized imports (removing unused imports). 2003-02-08 16:31:10 +00:00
Robert Greene
02b7bea850 Updated VERSION and COPYRIGHT. VERSION is temporary (1.2.0pre)
while COPYRIGHT now extends into 2003.
2003-02-05 03:55:59 +00:00
Robert Greene
919535f2f3 Allow user to select files to import. 2003-02-05 03:55:00 +00:00
Robert Greene
26e6890727 Import Wizard main class. 2003-02-05 03:54:36 +00:00
Robert Greene
9b0a0286c3 Some early updates to make Import available in the file explorer tab. 2003-02-05 03:53:19 +00:00
Robert Greene
710ec905d0 This class represents the Import specification for a single file. 2003-02-05 03:52:29 +00:00
Robert Greene
4076e8f59f Widened logo to accomodate user-interface layout. 2003-02-05 03:51:39 +00:00
Robert Greene
eeb43618a6 Fixed getSuggestedFilename to base the length of the suggested
filename from the original filename.
2003-02-05 03:50:55 +00:00
Robert Greene
2e7e67eb54 Removed the two argument constructor, as it was not used as is a
problem for GCJ compiles at this time.
2003-02-05 03:49:15 +00:00
Robert Greene
4839761470 Implemented null methods to fix compile errors: delete, setFileData,
setFilename, setFiletype, setLocaked.
2003-01-26 02:41:29 +00:00
Robert Greene
74a45b9f68 Added getSuggestedFilename and a null createFile (to get rid of
error messages; will be implemented later). Minor comment fix.
2003-01-26 02:40:04 +00:00
Robert Greene
d6867f61db Added getSuggestedFilename and a null createFile (to get rid of
error messages; will be implemented later).
2003-01-26 02:39:39 +00:00
Robert Greene
0ce42f9f7e Added getSuggestedFilename. 2003-01-26 02:38:30 +00:00
Robert Greene
70f5149d18 Added getMaximumFilenameLength. This is used by the ImportWizard
to keep names a sensible length.
2003-01-21 05:14:46 +00:00
Robert Greene
c1fd274559 Looks like many changes, but the only one that is real (AFAIK) is
the RDOS entry had a minor word switch.
2003-01-21 05:13:21 +00:00
Robert Greene
b1be88945f Updated constructor to get an ImageManager intead of the image
itself. It is more sensible that the wizard knows what logo it requires
instead of the caller!
2003-01-21 05:11:05 +00:00
Robert Greene
5f179d871e Updated to use new constructor for DiskImageWizard and uses
the global COPYRIGHT text.
2003-01-21 05:10:01 +00:00
Robert Greene
da6f02c555 Updated copyright date. 2003-01-18 02:05:10 +00:00
Robert Greene
c8c9b6f376 Added ImportWizard logo. 2003-01-18 02:04:50 +00:00
Robert Greene
0bd753ae16 Removed unused private variable. 2003-01-18 02:04:37 +00:00
Robert Greene
d7fbdecc6b ImportWizard logo. 2003-01-18 02:03:51 +00:00
Robert Greene
ee1d5fb8b5 Updated test to use a common test across any disk format; added
ProDOS 140K, 800K, and 5MB tests.
2003-01-11 22:08:57 +00:00
Robert Greene
ae9ec0f016 Added support for writing files. 2003-01-11 22:08:11 +00:00
Robert Greene
9a4bfbe118 All known ProDOS file types. 2003-01-11 22:07:44 +00:00
Robert Greene
8d4f4fa762 Added support for writing most fields; moved file types to a property
file to facilitate both getting the file type and setting the file type 
using a lookup table.
2003-01-11 22:07:30 +00:00
Robert Greene
5bc83c05f2 Added method to retrieve the block the ProDOS file entry sits on;
fixed the naming of a few methods.
2003-01-11 22:06:22 +00:00
Robert Greene
879f793e02 Added helper to handle directory file counts. 2003-01-11 22:05:21 +00:00
Robert Greene
adf7e1f5ce Fixed a comment. 2003-01-11 22:04:51 +00:00
Robert Greene
752b4b124d Added set3ByteValue - used for ProDOS disks. 2003-01-11 22:04:30 +00:00
Robert Greene
ac4f1cde3d Added support for Super Hires images compressed with the Apple IIGS
PackBytes routine. Also added fudge - apparantly some compressed
images were only 32767 bytes in length, and AppleCommander assumes
that the image buffer was at least 32768 bytes in length.
2003-01-09 04:47:35 +00:00
Robert Greene
f6e9d4556e Added the Apple IIGS "UnPackBytes" routine. 2003-01-09 04:45:55 +00:00
Robert Greene
0a0fa50dda Added super hires option. 2003-01-08 00:37:02 +00:00
Robert Greene
7ff2711f08 Added support for Apple IIGS super hires. 2003-01-08 00:36:25 +00:00
Robert Greene
c2575f692c Added test for disk image writing. 2002-12-23 21:11:58 +00:00
Robert Greene
e538c54cd5 Updated comments. 2002-12-23 21:11:37 +00:00
Robert Greene
8dc00f0cc3 Added ability to delete a file from the disk image. 2002-12-23 21:09:45 +00:00
Robert Greene
e103076f12 Added signature for createFile. 2002-12-23 21:08:48 +00:00
Robert Greene
411f11fad9 Added signatures for delete, setFileData *save*, setFilename,
setFiletype, SetLocked.
2002-12-23 21:08:23 +00:00
Robert Greene
b651717ada Fixed sector bitmap byte & bit routines, disk state is now kept up-to-
date, a file can be created, deleted, and saved.
2002-12-23 21:07:22 +00:00
Robert Greene
931dba7747 Modiifed to read and write file entry from disk; added write type
functions - delete, setFileData *save*, setFilename, etc.
2002-12-23 21:05:32 +00:00
Robert Greene
4134c0ab59 This exception is thrown if the Disk is full. This could be physical space
or some other reason, such as having no more file entries.
2002-12-23 21:03:49 +00:00
Robert Greene
d92bd82288 Simplified setString(buffer, offset, string, length) to use
setString(buffer, offset, string, length, highBitOn = true).
2002-12-23 21:03:11 +00:00
Robert Greene
09470976b6 Added the real Disk Image Wizard code. 2002-12-17 05:29:05 +00:00
Robert Greene
aab2dbfa80 Added the Disk Image Wizard logo. 2002-12-17 05:28:35 +00:00
Robert Greene
9d72613286 The new Disk Image Wizard and it's individual wizard panes. 2002-12-17 05:28:19 +00:00
Robert Greene
698e991399 The DiskImageWizard logo. 2002-12-17 05:27:50 +00:00
Robert Greene
0f83d543a1 Changed disk creation to use a create method, as this is better
suited to disks that support mutiple logical disks. Also over-rode
format to give suitable values.
2002-12-17 05:27:34 +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
10d7b000d1 Changed disk creation to use a create method, as this is better
suited to disks that support mutiple logical disks.
2002-12-17 05:26:24 +00:00
Robert Greene
9170e98435 Another format that puts DOS onto an 800K device. 2002-12-17 05:25:45 +00:00
Robert Greene
de3f39b24a Changed creation to use a create method instead of a constructor -
this is better suited to disks with multiple logical disks. Segmented
common format code which is used by UniDOS and OzDOS.
2002-12-17 05:25:20 +00:00
Robert Greene
1479d0fee8 Added support for OzDOS and added a minor hack to getOffset to
allow track 0 sector 0 to always be referenced (even if the disk appears
to be too big).
2002-12-17 05:24:19 +00:00
Robert Greene
bade905252 Organized import statements (Eclipse terminology to "cleaned up the
import statements and organized them in a standard manner").
2002-12-16 02:23:43 +00:00
Robert Greene
726a10810f Separated the generic wizard interface from export wizard. This will
be reused in all wizards (ie, the Disk Image wizard as well as the Import
wizard).
2002-12-16 02:22:36 +00:00
Robert Greene
b05fcd2bea Updated to keep up with DiskInfoTab and DiskExplorerTab which are
both capable of displaying multiple logical disks within one window.
2002-12-16 02:20:32 +00:00
Robert Greene
a134970116 Updated to handle multiple logical disks within one info page. 2002-12-16 02:19:30 +00:00
Robert Greene
cf84559b70 Updated to handle multiple logical disks within one explorer window. 2002-12-16 02:19:01 +00:00
Robert Greene
e35d41f336 Added getFormattedDisk. 2002-12-15 21:00:35 +00:00
Robert Greene
6c79c05f14 Unused. 2002-12-15 20:59:05 +00:00
Robert Greene
ecd6a262b2 Support for multiple logical disks added. Also contains testing code for
creating a disk image. The Disk Image Wizard needs to be created yet.
2002-12-14 05:50:30 +00:00
Robert Greene
75350b2617 Added initial support for multiple logical disks. This implementation just
creates one tab per logical disk. Thus, a UniDOS disk gets 6 tabs - two
of each tab (Information, Disk Map, Explorer).
2002-12-14 05:49:04 +00:00
Robert Greene
18e9cd0450 Updated for multiple logical disks and added test cases for UniDOS
formatted disks.
2002-12-14 05:46:03 +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
8460989781 Modified to work with multiple volumes; added support for UniDOS
800K disk images; split out isUniDosDisk from isDosDisk; changed
sizing of image in memory just use the File as that is better than the
dumb logic that was originally in place.
2002-12-14 05:39:41 +00:00
Robert Greene
2ae3f2118c Added a little bit of range checking. 2002-12-14 05:38:21 +00:00
Robert Greene
44bb363c06 If a PR#6 was used to reboot the computer, the output was still
mapped to slot 6. Using COUT ($FDED) would then redirect to slot
6 at $C600 and reboot the machine. Changed to use ROM directly
at $FDF0.
2002-12-13 04:12:47 +00:00
Robert Greene
558ae20c80 Added recognition for UniDOS 800K volumes (basically fixed 35 track
and 16 sector bias in code).
2002-12-12 04:36:16 +00:00
Robert Greene
4b037eb100 Added ability to set values; work is done from readFileEntry and
writeFileEntry.
2002-12-12 01:55:36 +00:00
Robert Greene
6f3ef71add Changed to work from readFileEntry. 2002-12-12 01:55:13 +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
ab445b87d8 Changed to work from the ProdosFormatDisk by reading the entry or
blocks as appropriate.
2002-12-12 01:49:16 +00:00
Robert Greene
22cfc9f681 Added ability to set values; work is done from readFileEntry and
writeFileEntry. This changed the relationship to the ProDOS disk
image - now the ProDOS entries contain the disk, block, and
location that they exist at instead of a raw array of bytes.
2002-12-12 01:47:25 +00:00
Robert Greene
edb1bed60f Added ability to set values; work is done from readFileEntry and
writeFileEntry.
2002-12-12 01:46:14 +00:00
Robert Greene
45c415b9e6 Added constants for 5MB, 10MB, 20MB, and 32MB harddisks. 2002-12-12 01:45:04 +00:00
Robert Greene
aed0a97b40 Added setProdosDate, setProdosTime, and a setString that optionally
sets the high bit on characters.
2002-12-12 01:44:22 +00:00
Robert Greene
035d2cf73a Export now runs the suggested filename through a filter to get rid
of characters that are not allowed in various operating systems
(such as "/", "\", or ":").
2002-12-10 05:14:31 +00:00
Robert Greene
6b35db3528 Quick update - the RDOS block number that the &CAT command reads
is #25.
2002-12-10 05:13:40 +00:00
Robert Greene
6306a26deb Added ability to create Pascal disk, format it, set the disk name (aka
volume name in Pascal parlance), and added a routine to read and
write the directory.
2002-12-10 05:13:07 +00:00
Robert Greene
b1a4c9d31d Added write block and lessened the DOS 3.3 recognition. For some
reason, some DOS 3.3 images do not set the VTOC byte 0x03 to be
3 - this is the DOS release number which created the disk. The images
I have just have a zero (0) in this position.
2002-12-10 05:11:53 +00:00
Robert Greene
24ebe07191 Added setPascalDate, setPascalString, getNiceFilename. 2002-12-10 05:10:35 +00:00
Robert Greene
0f95ceb8fb Can format an RDOS disk; however it is not really useable until some
more information gets written to disk as part of the format process.
In particular, the &CAT command will crash as the catalog routine is
apparantly loaded in from disk (T1,S9 in DOS parlance) and then 
executed.
2002-12-09 05:46:41 +00:00
Robert Greene
e10e00eb41 Added generic ability the write boot code to track 0, sector 0. 2002-12-09 05:45:22 +00:00
Robert Greene
010ee8e488 Can now create a blank disk and format it. 2002-12-09 05:45:02 +00:00
Robert Greene
669007afdc Added ability to save and write. Added hasChanged, writeBytes,
writeSector along with other helper methods.
2002-12-09 05:44:12 +00:00
Robert Greene
e16fce45c4 Added setBit, clearBit, setString, setWordValue. 2002-12-09 05:43:13 +00:00
Robert Greene
b180c501b9 The disk image may now be saved if changes have occurred. 2002-12-09 05:42:39 +00:00
Robert Greene
73f8e7974d Fixed some minor issues: (1) needed to turn off drive motor and
(2) needed to clear the keyboard (otherwise the keypress was still
valid when the next disk was booted). Also needed to reduce program
by a few more bytes. By changing the rotate routine and changing
the wording in the message, this code is now only 254 bytes.
2002-12-09 04:34:48 +00:00
Robert Greene
9bfb149930 Bootsector now rotates image and calls Apple reboot code in ROM.
The image data itself was compressed because of space issues.
This is exactly 256 bytes long.
2002-12-07 16:03:52 +00:00
Robert Greene
63e5a25062 Bootsector code for AppleCommander formatted disks. 2002-12-07 16:00:17 +00:00
Robert Greene
11f64c31da Excludes Thumbs.db. 2002-12-06 20:09:48 +00:00
Robert Greene
ebf72c103e Version 1.1.1 is the initial GPL release of AppleCommander. 2002-12-01 02:21:00 +00:00