jennifer registry

@skiffyard/d64

Read, write, create and format Commodore 1541 D64 disk images: CBM DOS 2A directories, BAM allocation, PETSCII names, and the 40-track SpeedDOS / DolphinDOS / PrologicDOS extensions

Formerly @deckyard/d64, @mplx/d64.

d64commodorec641541cbm-dos

Depend on it

[decks]
"@skiffyard/d64" = "^0.4.0"

Versions

VersionStatusKindPinRequiresEnginesCapabilities
0.4.0livegitd74eb88cee77-jennifer >=0.27.0 jennifer-tiny >=0.27.0-

License

LGPL-3.0-only

Source

Released from
0.4.0
Published under
@skiffyard skiffyard organisation
Repository owner
skiffyard

Resolutions

Times a client asked this registry where to find this deck. Not downloads: the registry only stores metadata, and the code is fetched from its repository directly, so we never see an install and cannot count one. Repeated builds inflate these numbers; installs from an existing lockfile do not appear at all. Counted in UTC.

Readme

@skiffyard/d64

test Documentation release

Reads, writes, creates and formats Commodore™ 1541 D64 disk images: the CBM™ DOS 2.6 BAM and directory, SEQ, PRG and USR files, PETSCII names, raw block access, and the 40-track SpeedDOS™, DolphinDOS™ and PrologicDOS™ BAM layouts. Pure Jennifer with no capabilities, so it runs on jennifer-tiny; only open and save touch the filesystem.

This deck is part of Skiffyard, small community decks for Jennifer.

Manual: https://skiffyard.github.io/deck-d64/

Install

Requires Jennifer 0.27.0 or newer.

jvc add @skiffyard/d64

jvc vendors the deck to vendor/skiffyard/d64/. Without jvc, copy src/ from a checkout or a skiffyard-d64-<version>.tar.gz release archive there, minus the test overlays:

mkdir -p vendor/skiffyard/d64
cp -R path/to/deck-d64/src/. vendor/skiffyard/d64/
find vendor/skiffyard/d64 -name '*_test.j' -delete

Example

use io;
use binary;
import "@skiffyard/d64/" as d64;

def code as bytes init binary.make(600);
def img as d64.Image init d64.formatDisk("sample disk", "01");
$img = d64.writeText($img, "readme", d64.FileType.Seq, "hello from jennifer\n");
$img = d64.writeProgram($img, "demo", 0x0801, $code);

io.printf("%s", d64.directoryText($img));
# 0 "sample disk     " 01 2a
#    1 "readme"            seq
#    3 "demo"              prg
# 660 blocks free.

d64.save($img, "sample.d64");

Trademarks

Commodore™, C64™, VIC-20™, CBM™, SpeedDOS™, DolphinDOS™, PrologicDOS™ and the other product and company names in these docs may be trademarks of their respective owners. They are used only to identify the hardware and disk formats this deck works with. This deck is an independent project, not affiliated with, sponsored or endorsed by any of them.

Licence

LGPL-3.0-only, see LICENSE. Copyright (C) 2026 mplx <[email protected]>.

This deck as JSON