Michael 'AppleWin Debugger Dev'
2017-07-12 15:51:00 UTC
Context: I have a src2dsk *nix shell script that:
* check if extension is .s -- if not, replace it
* assembles foo.s
* removes the extension, uppercases foo -> FOO
* check if a FOO.DSK exists, if not copy a bootable blank DSK to FOO.DSK
* use a2tools to put the binary FOO(.bin) onto FOO.DSK
For the last part I'm using Terry Kyriacopoulos's excellent A2Tools. A single C source files compiles to a2in, a2ls, a2out, a2rm -- command line utilities for adding, listing, extracting, removing files respectively onto a DOS3.3 formatted DSK image.
Are therey any *nix command line tools that handlesProDOS volumes? (C please, no Java) Yes, I'm aware of Apple Commander, CiderPress, etc. and those all work but I'm looking for native command line utility that will fit into the exist toolchain.
I already have some A2 Disk Tools command line utilities -- make a blank DSK, copy .BIN onto DSK starting at T0S0, etc. so it would be relatively easy to write -- but thought I would first check if there is an existing option before I spend time writing + debugging.
Is there any interest in extending a2tools to accept a -prodos flag to handle ProDOS volumes?
The other reason I mention going this route is that I need to extend a2tools to support yet-another-apple2-file-system I'm working on so a modular utility where you can "plug in" in a file system DOS, ProDOS, etc. would be perfect long term.