Commit Graph

172 Commits

Author SHA1 Message Date
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
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 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 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
Rob Greene dce0f73ce5 Public wasn't needed due to this being an interface. 2025-08-15 13:06:23 -05:00
Rob Greene 87630ed81b Adding prototype for a ProDOS factory. 2025-08-15 11:08:37 -05:00
Rob Greene df520ae9ec Typo. 2025-08-15 11:08:20 -05:00
Rob Greene 97d7ff9b65 Noticed some unused methods, removed them. 2025-08-15 09:50:06 -05:00
Rob Greene b727c2ab00 Start of disk factories and a DOS disk factory. 2025-08-15 09:49:34 -05:00
Rob Greene de640a3c03 Two wrapped changes: (1) creating a ShrinkitSourceFactory to magically decode SHK/SDK/BXY files into a ProDOS image (removing that functionality from Disk) and (2) added DataBufferSource to support these generic images which (which also fit in with a lot of new images being created). 2025-08-14 19:21:05 -05:00
Rob Greene 719c79f561 Using the resize trick to fix window sizing. (shrug) 2025-08-14 19:18:23 -05:00
Rob Greene b8e73f4f28 Adding some length checks to DOS files. 2025-08-12 20:34:14 -05:00
Rob Greene 451c640f99 Adjusting DOS to stay within limits. 2025-08-12 19:20:47 -05:00
Rob Greene 8cf35ad5b5 Adding Hint to source to help identify known sector orders. 2025-08-11 19:37:14 -05:00
Rob Greene 0e8b202993 Tweak to how DOS handles delete files (address check used to fail). 2025-08-11 18:15:16 -05:00
Rob Greene 377b13ce5e Pulling out the incomple Applesoft compiler. 2025-08-11 17:51:53 -05:00
Rob Greene 3c2f0793be Minor tweak to fall-through to the default viewer if we are unable to open the SDK/SHK file. 2025-08-11 10:19:33 -05:00
Rob Greene 9aa28ad300 Added a (temporary) FileEntrySource, which allows disk images (right now SHK/SDK files) to be opened up directly from an image. 2025-08-10 22:17:22 -05:00
Rob Greene 70d161371f Minor refactoring to accomodate Ant tasks, since it seems to block ServiceLoader from working. 2025-08-10 19:08:14 -05:00
Rob Greene 58ded88cd2 Better integration with the Source factory. 2025-08-10 15:53:00 -05:00
Rob Greene 62e158efe5 Found an alternate header size (rest of archive matches, so allowing it). 2025-08-10 15:21:55 -05:00
Rob Greene d1857fda72 FileSource supports GZipped files, if given as just a Path to the constructor. 2025-08-10 15:21:20 -05:00
Rob Greene 4ce5fd42a1 Found some damaged archives where file sizes don't align (too small). Bypassing data and tag length check (for now?). 2025-08-10 15:20:34 -05:00
Rob Greene 2225df0e49 Adding checksum calculation to indicate validity. 2025-08-10 15:19:47 -05:00
Rob Greene 09755ab489 Correcting how allFileExtensions is built. 2025-08-10 15:17:51 -05:00
Rob Greene f3bea76de5 Updating to JUnit 5. Primarily due to the parameterized tests being pretty nice. Also found one of the SWT Linux tests works now, so enabled it. 2025-08-10 14:29:32 -05:00
Rob Greene 8730399ee5 First round of Source creation factory. 2025-08-10 10:21:19 -05:00