dsktool.rb

Path: bin/dsktool.rb
Last Update: Sat Jun 16 20:39:01 AUS Eastern Standard Time 2007
RDoc TopLevel

dsktool.rb

Synopsis

Manipulate DSK format files (as used by Apple 2 emulators)

Usage

dsktool.rb [switches] <filename.dsk>

 -c | --log               display catalog
 -e | --extract FILENAME      extract file by name (either to stdout,
                              or file specified by --output)
 -h | --help                  display this message
 -l | --list FILENAME         monitor style listing (disassembles 65C02 opcodes)
 -o | --output FILENAME       specify name to save extracted file as
 -x | --explode               extract all files
 -v | --version               show version number

Currently only works with DOS 3.3 format DSK images can be

examples:

      dsktool.rb -c DOS3MASTR.dsk.gz
      dsktool.rb -l FID DOS3MASTR.dsk
      dsktool.rb --list fid -o fid.asm DOS3MASTR.dsk
      dsktool.rb --extract "COLOR DEMOSOFT" DOS3MASTR.dsk
      dsktool.rb -e HELLO -o HELLO.bas DOS3MASTR.dsk
      dsktool.rb -x DOS3MASTR.dsk.gz

Required files

optparse   rdoc/usage   DSK  

Constants

DSKTOOL_VERSION = "0.1.3"   dsktool.rb

Synopsis

Manipulate DSK format files (as used by Apple 2 emulators)

Usage

dsktool.rb [switches] <filename.dsk>

 -c | --log               display catalog
 -e | --extract FILENAME      extract file by name (either to stdout,
                              or file specified by --output)
 -h | --help                  display this message
 -l | --list FILENAME         monitor style listing (disassembles 65C02 opcodes)
 -o | --output FILENAME       specify name to save extracted file as
 -x | --explode               extract all files
 -v | --version               show version number

Currently only works with DOS 3.3 format DSK images can be

examples:

      dsktool.rb -c DOS3MASTR.dsk.gz
      dsktool.rb -l FID DOS3MASTR.dsk
      dsktool.rb --list fid -o fid.asm DOS3MASTR.dsk
      dsktool.rb --extract "COLOR DEMOSOFT" DOS3MASTR.dsk
      dsktool.rb -e HELLO -o HELLO.bas DOS3MASTR.dsk
      dsktool.rb -x DOS3MASTR.dsk.gz

[Validate]