This commit is contained in:
Denis Molony 2020-05-15 20:08:48 +10:00
parent 774ebab781
commit 26a8ec30ec
3 changed files with 27 additions and 19 deletions

View File

@ -2,22 +2,27 @@
### Features ### Features
- Cross-platform (Windows, MacOS, Linux) - Cross-platform (Windows, MacOS, Linux)
- Applesoft and Integer Basic - Disk formats
- Pascal disassembler - DOS
- 6502 disassembler - Prodos
- Wizardry internals and maps - Pascal
- Infocom text adventure internals - CPM
- Appleworks - HDV
- Visicalc - 2mg
- HDV and 2mg - shrinkIt, gzip, zip
- Compressed disks - shrinkIt, gzip, zip - hybrid disks
- Track and sector display - woz
- Dual DOS disks - Unidos
- DOS 4.1 disks - File Formats
- CPM disks - Applesoft and Integer Basic
- Pascal disassembler
- 6502 disassembler
- Appleworks
- Visicalc
- Disk Internals
- Wizardry
- Infocom
- Comprehensive disk listing - Comprehensive disk listing
- woz format disks
- UniDos disks
### Documentation ### Documentation
* [Usage](resources/usage.md) * [Usage](resources/usage.md)

View File

@ -32,6 +32,12 @@ public class SHRPictureFile2 extends HiResImage
doPic (); doPic ();
break; break;
case ProdosConstants.FILE_TYPE_ANI:
this.auxType = 0x1000;
this.eof = 0x8000;
doPnt ();
break;
default: default:
System.out.println ("unknown filetype " + fileType); System.out.println ("unknown filetype " + fileType);
} }

View File

@ -418,6 +418,7 @@ class FileEntry extends CatalogEntry implements ProdosConstants
break; break;
case FILE_TYPE_PNT: case FILE_TYPE_PNT:
case FILE_TYPE_ANI:
if (auxType == 2) if (auxType == 2)
file = new SHRPictureFile1 (name, exactBuffer, fileType, auxType, endOfFile); file = new SHRPictureFile1 (name, exactBuffer, fileType, auxType, endOfFile);
else if (endOfFile < 0x222) else if (endOfFile < 0x222)
@ -430,10 +431,6 @@ class FileEntry extends CatalogEntry implements ProdosConstants
file = new SHRPictureFile2 (name, exactBuffer, fileType, auxType, endOfFile); file = new SHRPictureFile2 (name, exactBuffer, fileType, auxType, endOfFile);
break; break;
case FILE_TYPE_ANI:
file = new SHRPictureFile2 (name, exactBuffer, 0xC0, 0x1000, 0x8000);
break;
case FILE_TYPE_FOT: case FILE_TYPE_FOT:
if (auxType == HiResImage.FADDEN_AUX) if (auxType == HiResImage.FADDEN_AUX)
file = new FaddenHiResImage (name, exactBuffer, fileType, auxType, endOfFile); file = new FaddenHiResImage (name, exactBuffer, fileType, auxType, endOfFile);