Skip to content

adafruit/fluxvis

Repository files navigation

Flux Visualize

Produce flux visualization from any flux files recognized by greaseweazle

Visualization of a Commodore 1541 floppy as mastered by fluxengine:

Visualization of Commodore 1541 floppy as mastered by fluxengine

When a fluxengine-style CSV file with decoder information is supplied, the interpretation of each portion of the disk is shown:

Colors show interpretation of disk structure

  • Blue: metadata
  • Green: successfully decoded data
  • Red: data could not be decoded

Usage (via google colab)

Usage (local)

  • pip install fluxvis

  • Get your flux in a greaseweazle-compatible format such as .scp or in the ".a2r" format.

  • Use a commandline like

    python -mfluxvis --tracks 35 --diameter 108 --stride 2 write dos33.scp dos33.png
    

    or

    python -mfluxvis --tracks 35 --diameter 108 --stride 2 show dos33.scp
    

Credits

Flux reading is done via embedded copies of greaseweazle and a2rchery. Thanks to @keirf and @a2-4am for these tools! See the source code for additional information.