Commit Graph

1229 Commits

Author SHA1 Message Date
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
A2 Geek
0a27745030 Merge pull request #175 from AppleCommander/toil/license-checker-custom
Trying a custom license header check.
2025-08-22 13:11:24 -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
6bc9220342 Rearranging to make list of files legible (prior version wrapped text). 2025-08-22 13:01:08 -05:00
Rob Greene
fe0699447d Trying a custom license header check. 2025-08-22 12:53:57 -05:00
A2 Geek
737a9134aa Merge pull request #173 from AppleCommander/feature/add-disk-factories
Feature/add disk factories
2025-08-21 11:31:15 -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
a4ff88b6f1 Trying to get unit testing as an option to debug when Ant goes haywire. 2025-08-21 11:27:35 -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
ba580f0d2c Noticed that "scan" missed case extensions (specifically Unix and presumably Mac), so altering glob creation to be "*.{[Dd][Ss][Kk],...}" instead of (the more readable) "*.{dsk,...}". 2025-08-20 11:28:18 -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
Rob Greene
fe8cf613c2 Found some disks that "hide" the catalog by pointing at T17,S0 - so the recognition allows the assumption that this is T17,S15 in reality. 2025-08-16 14:21:59 -05:00
Rob Greene
7aead323ff More tightening up of DOS recognition. Many odd cases that loosen these routines. 2025-08-16 14:21:16 -05:00
Rob Greene
debe51c06b Adding a bit more detail for degradation reports. For now, not optional. 2025-08-16 10:46:24 -05:00
Rob Greene
b0d98121bc Missed approximate disk sizing (why do 140K images have +3 bytes at the end anyway?). 2025-08-16 10:06:37 -05:00
Rob Greene
e6f4c6acc1 Working on discovery. Updated UniDOS config (it used to be given a dos-sector-ordered disk but now uses a prodos-ordered disk). 2025-08-15 22:24:43 -05:00
Rob Greene
3c529f8916 Typo. 2025-08-15 22:23:08 -05:00
Rob Greene
06b7bde04b Correcting ProDOS discovery. 2025-08-15 13:29:33 -05:00
Rob Greene
cbe85bb164 Removing debugging code. 2025-08-15 13:07:52 -05:00
Rob Greene
29c5d83a8c Had to tweak due to PO and DO both "looking" good when traversing catalog track; now also counting the sector links both when following the links as well as brute-force reading through the catalog track. 2025-08-15 13:07:23 -05:00