Skip to content

wsourdeau/d64-fuse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

D64 Fuse

A fuse module to mount Commodore 64 D64 image files.

Credit(s)

Written by Wolfgang Sourdeau ([email protected]) and distributed under the GNU General Public License V3. Partly based on DiskImagery64 by Christian Vogelgsang ([email protected]) and Carson Herrington ([email protected]). Thanks to them!

Feature Overview

  1. read-only access to volume contents (read-write operations are currently unavailable)
  2. access rights and timestamps are based on the permissions associated with the image file
  3. metadata support via xattr associated with the mount point and the individual files

Usage

d64-fuse --image=[D64 image] [mount point]

Example Command Sequence

[user:/tmp]$ d64-fuse --image=/home/wolfgang/Downloads/cbm-c64-demo.d64 /tmp/mount
[user:/tmp]$ xattr -l mount
d64fuse.image_filename: /home/wolfgang/Downloads/cbm-c64-demo.d64
d64fuse.disk_label: DEMO PROGRAMS
user.mime_type: application/x-c64-dir
[user:/tmp]$ cd /tmp/mount
[user:/tmp/mount]$ ls -l BALLOON
-rw-r--r-- 1 wolfgang wolfgang 913  4 feb  2019 BALLOON
[user:/tmp/mount]$ file BALLOON
BALLOON: Commodore C64 BASIC program, offset 0x081d, line 10, token (0x99) PRINT "\223":\201I\2620\24463:\227832\252I,0:\202, offset 0x0828, line 20, token (0x8d) GOSUB 60000
[user:/tmp/mount]$ xattr -l BALLOON
d64fuse.file_type: PRG
user.mime_type: application/x-c64-prg-file
d64fuse.is_splat: false
d64fuse.is_locked: false

Installation

Note: d64-fuse can be built and used of GNU/Linux systems. It might also be adapted to WinFSP, the Fuse implementation for Windows, but I have not tried yet. Patches are welcome.

Requirements

  • a recent version of gcc
  • cmake (>= 3.28)
  • the fuse3 development package (libfuse3-dev on Debian and derivatives)

Building steps

From the top source directory:

  • mkdir build && cd build
  • cmake ..
  • make
  • make install

About

A fuse module to mount d64 image files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published