Coder Social home page Coder Social logo

floppymount's Introduction

What does this do?

This toolset implements some legacy floppy disk formats as FUSE filesystems to make them easier to work with on a modern system.

What doesn't this do?

Currently only reading of files is supported, the capability to write/change files as well es creating disk images from scratch will be added in the future.

Which formats are supported?

  • DOS68: 35 tracks, 18 sectors per track, 128 bytes per sector
  • FLEX2: 40 or 80 tracks, 10 sectors per track, 256 bytes per sector

How do I use it?

Compiling

You will need Go installed to compile this. Download the latest version from golang.org. To build floppymount change to the floppymount directory and run go build cmd/floppymount.go.

Mounting a DOS68 image

The utility will output a listing of the image and mount it using FUSE.

$ floppymount --type=dos68 SSBDOS68.img ./mountpoint

FILE NAME   FTFS  BTBS  ETES  NSEC
DFM68O.352  5200  0002  0006     5
DFM68O.353  5200  0007  0010    10
LIST  .$    5200  0011  0103     5
DOS68 .51C  0200  0104  0308    41
SET   .$    0200  030A  0310     7
VIEW  .$    0200  0311  0400     2
[...]
ASMBC .$    0200  0E0F  110A    50
BASICC.$    0200  110B  1603    83
SYSEQU.TXT  0100  1604  1903    54
DO    .$    0200  1904  1907     4
PTCH  .TXT  0100  1909  1909     1
SYSPRT.BIN  0200  190A  190A     1
TART  .BAK  0100  190B  190B     1
START .BAK  0100  190C  190C     1
START .UP   0100  190D  190D     1

 FREE SECTORS= 167

To unmount the image just eject it using your file explorer or fusermount -u ./mountpoint

Mounting a FLEX2 image

The utility will output a listing of the image and mount it using FUSE.

$ floppymount --type=flex2 F2UTIL1.DSK ./mountpoint
DISK LABEL: UTILITY1
CREATED:    1979-03-18

FILE NAME     ATTR  STRT  END   NSEC  SMI  DATE
WORDS   .TXT  00    1001  0D03     8  00   1979-05-12
UP-LOW  .TXT  00    0F05  0F0A     6  00   1979-05-12
CONTIN  .TXT  00    0B09  0C01     3  00   1979-05-12
DUMP    .TXT  00    1B01  1E0A     9  00   1979-05-12
DUMP    .CMD  00    1D08  1D08     1  00   1979-05-12
COPY    .CMD  00    0203  0207     5  00   1979-03-18
CMPMEM  .TXT  00    190A  1A06     7  00   1979-05-12
[...]
UP-LOW  .CMD  00    1309  1309     1  00   1979-05-12
WORDS   .CMD  00    1002  1002     1  00   1979-05-12
HELPP   .TXT  00    1701  1007    14  00   1980-04-29
HELP    .CMD  00    0909  090A     2  00   1980-04-29

 FREE SECTORS= 21

To unmount the image just eject it using your file explorer or fusermount -u ./mountpoint

floppymount's People

Contributors

jonas-koeritz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.