dskparse(1)

πŸ“¦ version 1.5.22, in fedora 43, fedora 44, nixos 26.05, nixpkgs unstable

πŸ’– dskparse(1) β€” diagnostic dump of disc image file πŸ’–

okay bestie, so this is the manual page for dskparse, and it lives in section 1 of the Emulators manual. it's a whole little tool for peeking inside disc images, and honestly? iconic. let's get into it πŸŽ€


✨ NAME ✨

dskparse β€” diagnostic dump of disc image file πŸ•΅οΈβ€β™€οΈ


🌸 SYNOPSIS 🌸

dskparse [-type TYPE] [-comp COMP] DISKIMAGE [DSKIMAGE...]

πŸ¦‹ DESCRIPTION πŸ¦‹

so like, Dskparse reads a disk image file and then outputs an annotated hex dump showing you everything inside it. slay. πŸ”₯

the exact format of that output depends on what type of file you're examining β€” so it's giving "custom fit", not one-size-fits-all, and we love that for it πŸ’…


✨ OPTIONS ✨

  • -type TYPE β€” this is the one that decides which LibDsk driver gets used to parse the file. pick your fighter:
    • auto β€” selects according to the disc image file. this is the default, bestie, so if you don't say anything it just figures it out for you 🫢
    • dsk β€” uses the DSK (CPCEmu format) image driver.
    • edsk β€” uses the extended version of the DSK format. fancy.
    • floppy β€” uses the floppy driver.
    • myz80 β€” uses the hard disk (MYZ80 format) image driver. > heads up: this format cannot be autodetected. 😭
    • cfi β€” uses the CFI (DOS fdcopy format) image driver. > same deal: this format cannot be autodetected. 😭
    • raw β€” uses the raw driver.
  • -types β€” lists ALL the disk image types supported by this version of LibDsk. it's the "show me everything" option and it eats every time πŸ‘‘
  • -comp COMP β€” selects the compression method used on the source disc image file. > note: this has no effect when reading a floppy disc. okay so your choices are:
    • auto β€” detects from the first few bytes of the file. this is the default ✨
    • sq β€” Huffman coded (SQ / USQ).
    • gz β€” Gzipped (gzip / gunzip).
    • bz2 β€” Burrows-Wheeler compressed (bzip2 / bunzip2).

πŸ’€ BUGS πŸ’€

bestie, listen, there are two situations where dskparse will literally just. not. produce any output. no cap:

  • it will not produce any output if you use it on a real floppy drive instead of a disk image file πŸ™ˆ
  • it will also not produce any output if you run it against a .LDBST disk image, because .LDBST files are already human-readable text. like, there's nothing to dump, it's already giving readable πŸ’…

🌈 SEE ALSO 🌈


πŸ‘‘ AUTHOR πŸ‘‘

John Elliott <seasip.webmaster@gmail.com>.


and that's the whole page, bestie!! this was Version 1.5.19, dated 24 February 2022, and it's from the Emulators manual β€” section 1, dskparse(1) πŸŽ€βœ¨ thanks for reading, ily, go dump some disc images responsibly πŸ«ΆπŸ’–

πŸ“¦ where this page comes from