apple2 disk image manipulation commandline tool
Go to file
Zellyn Hunter 300358e9bd wip
2016-11-29 22:53:40 -05:00
cmd wip 2016-11-29 22:53:40 -05:00
lib wip 2016-11-29 22:53:40 -05:00
.gitignore Make Travis build github releases on tags 2016-11-13 22:09:03 -05:00
.travis.yml Skip cross-compilation on master 2016-11-13 23:16:03 -05:00
LICENSE Initial commit 2016-10-28 21:20:20 -04:00
main.go Initial commit 2016-10-28 21:20:20 -04:00
README.md Update README for dos3.3 dump 2016-11-17 22:52:47 -05:00

diskii

Note: diskii is not stable yet! I don't expect to remove functionality, but I'm still experimenting with the command syntax and organization, so don't get too comfy with it yet.

diskii is a commandline tool for working with Apple II disk images.

It is also a library of code that can be used by other Go programs.

Its major advantage is that it's written in Go, hence cross-platform.

Its major disadvantage is that it mostly doesn't exist yet.

Build Status

It rhymes with “whiskey”.

Discussion/support is in #apple2 on the retrocomputing Slack (invites here).

Goals

Eventually, it aims to be a comprehensive disk image manipulation tool, but for now only the applesoft decode command works.

The library code aims (a) to support the commandline tool operations, and (b) to replace the "read and write disk images" code of the goapple2 emulator.

Current disk operations supported:

Feature DOS 3.3 ProDOS NakedOS/Super-Mon
basic structures
ls
dump
dumptext
delete
rename
put
puttext
extract (all)
lock/unlock
init
defrag

Installing/updating

Assuming you have Go installed, run go get -u github.com/zellyn/diskii

You can also download automatically-built binaries from the latest release page. If you need binaries for a different architecture, please send a pull request or open an issue.

Short-term TODOs/roadmap/easy ways to contribute

My rough TODO list (apart from anything marked () in the disk operations matrix is listed below. Anything that an actual user needs will be likely to get priority.

  • Build per-platform binaries for Linux, MacOS, Windows.
  • Implement GetFile for DOS 3.3
  • Add and implement the -l flag for ls
  • Add Delete to the disk.Operator interface
    • Implement it for supermon
    • Implement it for DOS 3.3
  • Make 13-sector DOS disks work
  • Read/write nybble formats
  • Read/write gzipped files
  • Add ProDOS support (add lib/prodos/prodos.go and register a ProDOS operator factory)