{"name":"@skiffyard/d64","description":"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","versions":{"0.4.0":{"version":"0.4.0","kind":"git","url":"https://github.com/skiffyard/deck-d64.git","ref":"0.4.0","commit":"d74eb88cee77512a51ead7ded900b0cadcc9d961","checksum":"","yanked":false,"license":"LGPL-3.0-only","requires":{},"engines":{"jennifer":"\u003e=0.27.0","jennifer-tiny":"\u003e=0.27.0"},"capabilities":[],"keywords":["d64","commodore","c64","1541","cbm-dos"],"description":"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","publishedAt":"1795878858","repoId":1398621326,"repoOwnerId":362133827,"repoOwner":"skiffyard"}},"readme":"# @skiffyard/d64\n\n[![test](https://github.com/skiffyard/deck-d64/actions/workflows/test.yml/badge.svg)](https://github.com/skiffyard/deck-d64/actions/workflows/test.yml)\n[![Documentation](https://img.shields.io/badge/docs-github%20pages-blue)](https://skiffyard.github.io/deck-d64/)\n[![release](https://img.shields.io/github/v/release/skiffyard/deck-d64)](https://github.com/skiffyard/deck-d64/releases/latest)\n\nReads, writes, creates and formats Commodore™ 1541 D64 disk images: the CBM™ DOS\n2.6 BAM and directory, SEQ, PRG and USR files, PETSCII names, raw block\naccess, and the 40-track SpeedDOS™, DolphinDOS™ and PrologicDOS™ BAM layouts.\nPure Jennifer with no capabilities, so it runs on `jennifer-tiny`; only `open`\nand `save` touch the filesystem.\n\nThis deck is part of [Skiffyard](https://github.com/skiffyard), small community decks for [Jennifer](https://jennifer-lang.dev/).\n\nManual: **\u003chttps://skiffyard.github.io/deck-d64/\u003e**\n\n## Install\n\nRequires Jennifer 0.27.0 or newer.\n\n```sh\njvc add @skiffyard/d64\n```\n\njvc vendors the deck to `vendor/skiffyard/d64/`. Without jvc, copy `src/` from\na checkout or a `skiffyard-d64-\u003cversion\u003e.tar.gz` release archive there, minus\nthe test overlays:\n\n```sh\nmkdir -p vendor/skiffyard/d64\ncp -R path/to/deck-d64/src/. vendor/skiffyard/d64/\nfind vendor/skiffyard/d64 -name '*_test.j' -delete\n```\n\n## Example\n\n```jennifer\nuse io;\nuse binary;\nimport \"@skiffyard/d64/\" as d64;\n\ndef code as bytes init binary.make(600);\ndef img as d64.Image init d64.formatDisk(\"sample disk\", \"01\");\n$img = d64.writeText($img, \"readme\", d64.FileType.Seq, \"hello from jennifer\\n\");\n$img = d64.writeProgram($img, \"demo\", 0x0801, $code);\n\nio.printf(\"%s\", d64.directoryText($img));\n# 0 \"sample disk     \" 01 2a\n#    1 \"readme\"            seq\n#    3 \"demo\"              prg\n# 660 blocks free.\n\nd64.save($img, \"sample.d64\");\n```\n\n## Trademarks\n\nCommodore™, C64™, VIC-20™, CBM™, SpeedDOS™, DolphinDOS™, PrologicDOS™ and\nthe other product and company names in these docs may be trademarks of their\nrespective owners. They are used only to identify the hardware and disk\nformats this deck works with. This deck is an independent project, not\naffiliated with, sponsored or endorsed by any of them.\n\n## Licence\n\nLGPL-3.0-only, see [LICENSE](LICENSE). Copyright (C) 2026 mplx \u0026lt;mplx@jennifer-lang.dev\u0026gt;.\n","movedFrom":["@deckyard/d64","@mplx/d64"]}