Commit Graph

261 Commits

Author SHA1 Message Date
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
Rob Greene
8b9a5a3df6 Minor tweaks. 2025-08-09 20:32:52 -05:00
Rob Greene
dd87e68949 Noticed a glitch in the multiple disk tab names. 2025-08-09 17:38:42 -05:00
Rob Greene
3bbe418f1e Adding information for sources when requested ('acx info', 'ac -i', info tab in GUI). 2025-08-09 17:38:25 -05:00
Rob Greene
9c7414ad4c Standardizing Container#get a little bit. 2025-08-09 16:09:28 -05:00
Rob Greene
865e54f31b Retooling the FilenameFilter list a little bit by building it dynamically. Adding Disk Copy. 2025-08-09 15:55:10 -05:00
Rob Greene
65e0b72065 Needed to add decompression component to all Sources. (doh!) 2025-08-09 14:25:44 -05:00
Rob Greene
ca816f8c52 Re-jiggering compressed files support (GZip, SDK, SHK) to better align with current state. 2025-08-09 14:11:33 -05:00
Rob Greene
0249c8ac7e Re-adding support for GZIP files. 2025-08-09 14:02:13 -05:00
Rob Greene
6525785405 Merge branch 'main' into feature/replace-order-with-device
# Conflicts:
#	lib/ac-api/src/main/java/com/webcodepro/applecommander/storage/Disk.java
2025-08-09 12:30:30 -05:00
Rob Greene
04bd7f8a8c Getting warnings that Image(Device,Rectangle) is being deprecated. 2025-08-08 19:25:35 -05:00
Rob Greene
5beb6f9fa0 Removing ByteArrayImageLayout and the related UniversalDiskImageLayout in favor of Source (FileSource, DiskCopyImage, and UniversalDiskImage). 2025-08-08 19:22:47 -05:00