dskscan(1)

πŸ’Ύ dskscan(1) β€” the Emulators girlies' fave lil scanner πŸ’…

okay bestie, so dskscan lives in the Emulators part of the manual, and it's about to be your new obsession.


✨ NAME ✨

dskscan β€” scan a floppy disc for sector headers πŸ¦‹


🌸 SYNOPSIS 🌸

dskscan [-type TYPE] [-side SIDE] [-comp COMP] [-dstep] [-retry COUNT]
[-format FMT] [-first CYLINDER] [-last CYLINDER] [-xml] DISKIMAGE

πŸ’– DESCRIPTION πŸ’–

So what it does is: dskscan scans a floppy disc (or a disc image, she's flexible like that πŸ’…) and prints any sector headers that it finds.

And that's it. That's the whole thing. It does not attempt to read the sectors. No cap. It's a looker, not a reader. πŸ‘‘


πŸŽ€ OPTIONS πŸŽ€

  • -type TYPE β€” tells it which driver is gonna be used to read from the disc. choose your fighter:
    • auto β€” picks based on the disc image file. this is the default, she's autonomous πŸ’…
    • dsk β€” use the DSK (CPCEmu format) image driver
    • edsk β€” use the extended version of the DSK format
    • floppy β€” use the floppy driver
    • myz80 β€” use the hard disk (MYZ80 format) image driver. (this format cannot be autodetected, so don't even try πŸ™ˆ)
    • cfi β€” use the CFI (DOS fdcopy format) image driver. (also cannot be autodetected, bestie)
    • apridisk β€” use the ApriDisk image driver (from the utility of the same name). (yep, cannot be autodetected either πŸ’€)
    • raw β€” use the raw driver
  • -comp COMP β€” selects the compression method used on the source disc image file. note that this has no effect when reading a floppy disc, it's giving "image files only" energy ✨
    • auto β€” detect 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)
  • -side SIDE β€” determines which side (0 or 1) of the source disc is to be scanned. if this option is not present, both sides will be scanned. she's thorough πŸ’–
  • -dstep β€” double-step the source drive (used to read 360k discs in 1.2Mb drives). only supported by the Linux floppy driver, so don't come for her on other platforms 😭
  • -retry COUNT β€” sets the number of times to attempt a read/write/format in case of error. she's persistent, she tries again 🧚
  • -format FMT β€” do not autodetect the disc format; use the named format instead. the format need only be an approximation to the actual format used by the disc. lowkey chill about it 🌸
  • -first CYL β€” start scanning at the specified cylinder πŸš€
  • -last CYL β€” scan up to and including the specified cylinder. inclusive queen πŸ‘‘
  • -xml β€” output results as XML rather than as text. if you're launching dskscan from another program which then parses what dskscan prints, this may be easier for it to cope with. it's giving "for the machines" πŸ€–βœ¨
ngl bestie, if you're piping this into another program, -xml is the moment. the parser will thank you. πŸ’œ

πŸ‘‘ AUTHOR πŸ‘‘

John Elliott <seasip.webmaster@gmail.com>. an icon, fr fr. πŸ’…


and that's the whole vibe check, bestie β€” Version 1.5.9, dated 17 September 2018, straight out of the Emulators manual. go scan something iconic. πŸ¦‹βœ¨πŸ’–