A command-line tool to convert Apple II DSK images to WOZ format.
Go to file
Thomas Harte 9fc214758f Adds an .editorconfig.
At least in part to ensure GitHub shows tabs as intended.
2019-07-27 21:51:32 -04:00
.editorconfig Adds an .editorconfig. 2019-07-27 21:51:32 -04:00
LICENSE Initial commit 2018-06-05 19:32:42 -04:00
README.md Adds support for Pro-DOS images. 2018-06-05 20:11:14 -04:00
dsk2woz.c Ensures that the byte count is rounded up. 2018-06-06 21:32:48 -04:00

README.md

dsk2woz

A command-line tool to convert Apple II DSK images to WOZ format.

Usage:

dsk2woz input.dsk output.woz

Reads the contents of the disk input.dsk and outputs the WOZ-format file output.woz.

Building

There are no dependencies beyond the C standard library. So e.g.

cc dsk2woz.c -o dsk2woz

DOS 3.3 versus Pro-DOS

Apple II DSK images contain implicitly-ordered sectors; the order depends on whether the image contains a DOS 3.3 image or a Pro-DOS image.

For the purposes of this tool if the file extension of the input disk has a 'p' in it then it is treated as a Pro-DOS image. Otherwise it is treated as a DOS 3.3 image.