ATR Disk Image Dumping Tool
ATR1PRNT is a utility that allows you to dump ATR disk images. The tool can be used for individual executions or embedded in scripts. ATR1PRNT is written in the Java programming language and requires Java Runtime Environment or Java Development Kit 8 or newer.
java -jar atr1prnt.jar <atr_file> [options]
java -jar atr1prnt.jar TEST.ATR NOBOOT FS-DOS2 SUMMARY SECTORS
- 0 - Everything OK
- -1 - Error(s) found
- ATR header dump
- Full sector dump
- Boot information dump
- Directory dump
- VTOC and Bitmap dump and consistency check
- File system integrity check
The file system integrity check includes the following:
- Sector link to nonexistent sector
- Loop in sector chain
- Sector assigned to multiple directory entries
- Sector does not belong to the assigned directory entry
- Number of valid bytes in the sector
- Identify contiguous and non-contiguous files
- Skips the file system dump/check
- SECTORS - Perform full sector dump
- NOBOOT - Skip boot information dump
- SILENT - Silent run with no output
- SUMMARY - Display summary report (even when SILENT is specified)
- DUMPFILES - File system checks will dump contents of files
- ERASED - File system checks will process directory entries flagged as erased
- FS-DOS2 - Atari DOS 2 fully compatible (default). DOS 2.0, DOS 2.5, XDOS.
- FS-DOSIIP - DOS II+ (by S. Dorndorf)
- FS-NONE - No file system
- BOOT256 - Assume the first three sectors hold 256 bytes instead of 128
ATR1PRNT has limited support for wildcarded atr_file specification. The file name (but not any of its parent directories) can be wildcarded with * (asterisk) and ? (question mark). This way, you can process multiple ATR disk images.
ATR1PRNT expands the wildcards. If you are running ATR1PRNT from a shell that expands the wildcarding characters before running the program, use appropriate delimiters to prevent the shell from expanding the wildcards.
Note that all disk images processed with wildcarding share the same options. Summary reports, if requested, all always present at the very end of the output.
java -jar atr1prnt.jar "C:\UTILS\A8\DISK\TEST*.ATR" FS-DOS2 SUMMARY NOSECTORS