Skip to content
BWBrookPublic

About

Commodore 64 workbench for curating THEC64 Mini software and building emulator-tested homebrew

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

30 Commits

Folders and files

Repository files navigation

c64

Status: developed in the open as a working record. This is work in progress: contents may change, and nothing here is peer-reviewed unless stated.

Starting a new task here? Read HANDOVER.md first for orientation. It is a snapshot from an earlier closeout, so trust the current files and observed behaviour where they differ.

C64 workbench for two closely related tracks:

  • curating and testing C64 software for THEC64 Mini
  • building small homebrew projects that run in emulators and on THEC64 Mini

Layout

  • library/ keeps the catalogue format, durable notes, source links, and compatibility findings for software we collect and test. The catalogue itself, library/catalog.json, is local and git-ignored; copy library/catalog.example.json to start one.
  • downloads/ is the local-only holding area for third-party game downloads, archives, and disk images.
  • homebrew/ holds our source code, build outputs, and experiments.
  • tools/ holds the small set of repeatable build, emulator, disk, and USB helpers that form the active workflow.

Working approach

The normal loop for this repo is:

  1. Develop or curate on the Mac.
  2. Keep raw third-party downloads in downloads/, and build homebrew runtime artifacts with repo-local helpers.
  3. Test in an emulator first.
  4. Copy only the required runtime files directly to the mounted USB stick.
  5. Verify on THEC64 Mini as the final compatibility check.

For catalogued software, tools/c64-library is the front door for this loop:

tools/c64-library

The searchable menu launches the selected title in VICE. The same catalogue also drives inspection, smoke checks, and checksum-verified USB copies.

Ground rules

  • Keep commercial game binaries out of git.
  • Keep downloaded third-party titles in downloads/ and copy them directly to USB only when they are ready to test.
  • Prefer metadata, notes, source links, and reproducible tooling in the repo.
  • Treat the emulator as the daily workbench and the Mini as the final hardware check.
  • Treat THEC64-drive8.d64 as mutable runtime state: normal builds preserve its hero and level saves; reset is always explicit.

Active helpers

  • tools/build-basic turns a text-mode BASIC source file into a PRG, and can optionally package it into a D64; use tools/run-vice separately.
  • tools/build-dungeon-of-doom builds the three-module disk project and preserves existing runtime saves.
  • tools/c64-library lists, selects, launches, inspects, smoke-tests, and copies catalogued software.
  • tools/run-vice launches VICE against a chosen runtime artifact.
  • tools/run-dungeon-of-doom launches one Dungeon Of Doom module with the shared writable drive-8 image.
  • tools/sync-to-usb copies selected local runtime files directly to the mounted FAT USB stick, defaulting to /Volumes/C64-MINI.
  • tools/acceptance-dungeon-of-doom drives the three Dungeon Of Doom modules through VICE unattended and checks their shared save contracts.

Credit and licence

homebrew/dungeon-of-doom/ is a C64 port of the Dungeon of Doom game from Write Your Own Fantasy Games for Your Microcomputer by Les Howarth and Cheryl Evans (Usborne, 1984). The book is copyright Usborne Publishing. The original text and the BASIC listings are not included in this repository; the author keeps them locally in git-ignored folders (homebrew/dungeon-of-doom/manuals/, homebrew/dungeon-of-doom/src/basic/), so tools/build-dungeon-of-doom needs them restored from the book. Usborne offers the book as a free download for personal use at https://usborne.com/au/books/computer-and-coding-books. This is a fan project and is not endorsed by Usborne.

Code is released under the MIT Licence. Text, figures and data created for this project are released under CC BY-SA 4.0. Third-party material, including the Usborne book, keeps its own terms.

About

Commodore 64 workbench for curating THEC64 Mini software and building emulator-tested homebrew

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages