202 Commits

Author SHA1 Message Date
Rob Greene
4ca86ec6b7 Adding GraalVM native-image to 'ac' and 'acx'. 2025-08-25 19:58:23 -05:00
Rob Greene
ce0aa4aa30 Some tweaking of comments. 2025-08-25 13:52:41 -05:00
Rob Greene
741acba680 Text search/replace "net.sf.applecommander" to "org.applecommander" for future publishing. 2025-08-24 19:13:44 -05:00
Rob Greene
03cd4a6e53 Allowing 'acx dump' command to handle a range of blocks or tracks and sectors. 2025-08-24 10:37:40 -05:00
Rob Greene
bd0aa11096 Quick patch to the ProDOS FileEntry to have $2000 as the address for SYS files. 2025-08-23 23:06:16 -05:00
Rob Greene
2a404079bd Merged Disk and FormattedDisk. Moved constants to DiskConstants class. 2025-08-23 19:20:04 -05:00
Rob Greene
a194d79b20 Dropping FormattedDisk from Disk. 2025-08-23 16:57:56 -05:00
Rob Greene
44d09f79b7 Clearing out another Disk constructor. 2025-08-23 16:40:43 -05:00
Rob Greene
f2346dfeec Clearing out one Disk constructor. 2025-08-23 16:16:09 -05:00
Rob Greene
887bb2fdcd Updating comparisons to use updated DiskDiff with FormattedDisk. 2025-08-23 15:25:56 -05:00
Rob Greene
2efacef00c Updating FileStreamer API to use FormattedDisks. 2025-08-23 13:09:21 -05:00
Rob Greene
9398015489 Updating some tests; also think DiskCopy should return the given data size instead of the bytes in the image. (If tags exist, bytes will not be helpful.) 2025-08-23 13:08:34 -05:00
Rob Greene
f46b43ae67 First round of moving away from Disk constructor to using Disks and/or Sources. 2025-08-23 11:41:21 -05:00
Rob Greene
95858e2041 Fixing SHK conversion to mark disk as changed/dirty. Impacted 'acx'. 2025-08-23 10:04:22 -05:00
Rob Greene
1e4c60611e Consolidating Disk constructors. 2025-08-23 09:49:03 -05:00
Rob Greene
1b0ffd7e3c Correcting what appear to be long standing bugs creating UniDOS formatted disks. 2025-08-23 09:48:40 -05:00
Rob Greene
d53c2204d4 Renaming diskImageManager to be source. (part 2) 2025-08-23 08:59:27 -05:00
Rob Greene
5c02a9f742 Renaming diskImageManager to be source. 2025-08-23 08:55:09 -05:00
Rob Greene
5f23fe0a89 Changing Disks#inspect to return the full Context instead of just FormattedDisks. This gives some more flexibility into its use (such as when a disk is _not_ identified). 2025-08-22 18:08:17 -05:00
Rob Greene
8483696493 Moving Disk#sizeToFit to Disks#sizeToFit. 2025-08-22 18:07:30 -05:00
Rob Greene
a4747bebbb Extending hints to include origin of source (2IMG, DiskCopy, or the magical SHK unpack routine). Used in 'ac' to determine writability (?). 2025-08-22 16:02:47 -05:00
Rob Greene
670738c7ca Tweaking how compression is detected. 2025-08-22 14:26:23 -05:00
Rob Greene
d8b069aaf6 Removing unused method. 2025-08-22 14:26:00 -05:00
Rob Greene
f015ef81fe Switching ImageOrder over to Hint for determining "order" of disk instead of file extension. 2025-08-22 14:25:38 -05:00
Rob Greene
b3bfc9b854 Extracting FilenameFilter to be an entity independent of Disk. 2025-08-22 14:10:51 -05:00
Rob Greene
dca2cc0a1c Adding license header. 2025-08-22 13:09:19 -05:00
Rob Greene
7070a25511 Adding license to all the files missed before. 2025-08-22 13:08:20 -05:00
Rob Greene
85e537d4d4 Scanning VTOC for (mostly) valid values. 2025-08-21 11:28:21 -05:00
Rob Greene
ed221fe5dc Allowing catalog track to wander, as long as the track is valid. 2025-08-21 11:28:01 -05:00
Rob Greene
f17bff2db2 Pulling out unused code from Disk. 2025-08-20 21:59:32 -05:00
Rob Greene
4c508fedfc Found some weird DOS disks where they zeroed out the catalog track in the VTOC - maybe some rudimentary protection? 2025-08-20 18:29:50 -05:00
Rob Greene
2867455818 CP/M name validation was too loose (all 0's passed the name test). Tightening a bit. 2025-08-20 16:45:43 -05:00
Rob Greene
153051251f Correcting filename given in disk factories. Somehow used the order name instead of the source name. Doh! 2025-08-20 16:22:30 -05:00
Rob Greene
80296bf1b9 For DOS recognition, T/S pairs get clobbered sometimes, so ignoring that value. 2025-08-20 16:19:23 -05:00
Rob Greene
0d634d628b Correcting CP/M recognition. 2025-08-20 16:18:46 -05:00
Rob Greene
e9b8dacdc9 Noted that creating disks never setup the FormattedDisks entry; this should fix that. 2025-08-20 16:02:25 -05:00
Rob Greene
433e7a4655 Adding CP/M disk recognition routines. 2025-08-20 16:01:55 -05:00
Rob Greene
ff30b7b05a Adding Gutenberg/WP DiskFactory. 2025-08-20 11:12:47 -05:00
Rob Greene
ef988df62a Adding RDOS DiskFactory. 2025-08-19 13:44:31 -05:00
Rob Greene
43b65f86e1 Adding NakedOS/Super-Mon; added a test cases for NakedOS; realized every Disk test can try reading _all_ files and they now do so. 2025-08-18 19:43:32 -05:00
Rob Greene
568c51648c Correcting names. 2025-08-18 18:47:47 -05:00
Rob Greene
78791345bd Adjusting checks based on prior disk recognition. 2025-08-18 15:56:31 -05:00
Rob Greene
c1303c3ca0 Early draft of new Apple Pascal detection. 2025-08-18 15:14:29 -05:00
Rob Greene
ed26f6b93d Quick cleanup. 2025-08-17 21:13:37 -05:00
Rob Greene
704c8f8078 Should really be committing the updates to Disk which segment the disk identification routines. 2025-08-17 21:08:24 -05:00
Rob Greene
9f5f9815cd Missed an addition to DataBuffer. 2025-08-17 21:07:36 -05:00
Rob Greene
a24a9a4d92 Tightened up ProDOS disk recognition a bit. 2025-08-17 16:35:29 -05:00
Rob Greene
000611b6de Adjusting entryLength and entriesPerBlock recognition. 2025-08-16 20:54:21 -05:00
Rob Greene
5742ec0829 Catching exceptions to allow recognition to continue. 2025-08-16 20:53:49 -05:00
Rob Greene
9c8ac2f11a Moving ImageOrder creation into the DiskFactory Context which allows WOZ recognition as well. 2025-08-16 16:39:47 -05:00