dsktool
Cataloging Disk Images

The catalog command is accessed with either ”-c” or ”—catalog”.

Here is an example, showing the contents of an ADTPro disk image:

jonno@ubuntu:~/ADTPro-1.0.3/disks$ dsktool.rb --catalog ADTPRO-1.0.3.PO
ADTPRO-1.0.3.PO
sector order:   physical
filesystem:     prodos
volume name:    ADTPRO.1.0.3
 12544   SYS : $2000    ADTPRO
 13428   SYS : $2000    ADTPROAUD
 15365   SYS : $2000    ADTPROETH
 10240   SYS : $2000    BASIC.SYSTEM
 16509   SYS : $0       PRODOS
  1220   BAS : $801     STARTUP
jonno@ubuntu:~/ADTPro-1.0.3/disks$


Here’s another example, which demonstrates that dsktool can access images hosted remotely (by providing the full URL) and also how dsktool can handle images compressed with gzip :

jonno@ubuntu:~/ADTPro-1.0.3/disks$  dsktool.rb -c http://jamtronix.com/dsks/apshai.dsk.gz
http://jamtronix.com/dsks/apshai.dsk.gz
sector order:   physical
filesystem:     dos
 B 0256 ASCII
*B 2304 DATA1
*B 2304 DATA2
*B 2304 DATA3
*B 2304 DATA4
*A 13312 DM
 A 0256 HELLO
 A 0256 HELLO.OLD
*A 17408 INN
*B 0768 OBJ.1
*B 5888 OBJ.2
 B 2304 SHAPE1
 B 2304 SHAPE1.OLD
 B 2304 SHAPE2
 B 2304 SHAPE2.OLD
 B 2304 SHAPE3
 B 2304 SHAPE3.OLD
 B 2304 SHAPE4
 B 2304 SHAPE4.OLD
 B 2560 TEMPLE OF APSHAI RWTS
*A 4352 TITLE
 B 0512 TITLESHAPES
jonno@ubuntu:~/ADTPro-1.0.3/disks$

Next: Extracting Files From Disk Images