[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Some Apple ][-related tools I'm working on



Most of this is a matter of I need command-line tools for my various projects and it simplified stuff. I still have to figure out how to reliably write to DOS 3.3 disk images.

http://usotsuki.info/dos3.3/dir33.c <-- Lists all files in a disk image.
http://usotsuki.info/dos3.3/get33.c <-- Extracts a file from a disk image.
http://usotsuki.info/dos3.3/trimpg2.c <-- Trims junk off a binary file.

trimpg2 is needed because some of my other stuff assumes that a binary file's length is the length of the program contained within plus 4. It reads from the file, then overwrites it with the fixed number of bytes.

dir33's output should be identical to CATALOG.

This now simplifies some of the stuff for Apple Crunch as I no longer have to put the files on a ProDOS disk, translate to some wacky interleaved disk format, extract and reapply the header as before. I still have to use ApplePC and the text-file trick to put files back.

-- Keep in mind I'm not a Windows user anymore and prefer tools that run directly from the command line as I can use the power of Bash to improve them. These tools are designed for a specific task, and work well at it.

-uso.