Skip to main content

vagrant-moses

A standalone C64 machine model: the memory map, the $01-banked bus and ROMs (sidplayfp's ROM-less set, or the real ones fetched and SHA-256 verified into a cache), the VIC-II and two CIAs over a shared two-phase event scheduler, a cycle-exact 6510 machine matching libsidplayfp, KERNAL file/keyboard traps, the power-on RAM, the installed-interrupt-vector discovery, the ROM-free IRQ dispatch path, and native extraction of files from release media (zip/gzip, d64/d71/d81, t64, p00).

Pure Python with no runtime dependencies (wheels also carry a native Rust Machine); the CPU-driven parts (Machine, flat_mpu, KernalHost) run on jennings via the cpu extra; the media CLI's progress bar needs the cli extra. The SID audio model and SID-file knowledge (PSID/RSID containers, subtune headers, drivers) are deliberately not here.

Install

pip install -e ".[cpu]"

Use

from vagrant_moses import Cia, Machine, Scheduler, Vic, c64

mem = bytearray(c64.poweron_ram())                       # 64 KiB power-on image
vec, kernal = c64.installed_vector(mem, written, (lo, hi))
entry_pc = c64.install_irq_entry(vm, vec, kernal, img=(lo, hi))

sched = Scheduler()
vic = Vic(sched, ntsc=False, irq=lambda on: ..., set_ba=lambda on: ...)
cia = Cia(sched, interrupt=lambda on: ..., new=False)

machine = Machine(sids={0xD400: sid_device})            # cycle-exact C64
machine.ram[0x1000:0x1000 + len(code)] = code
machine.run(machine.reset(0x1000) + 985248)              # one PAL second
from vagrant_moses import iter_prgs

for path, prg in iter_prgs("release.zip", blob):        # zip -> d64.gz -> d64 -> PRG
    ...
pip install "vagrant-moses[cli]"
vagrant-moses media extract dl/ -o prg/                 # prints sha256 size $load path

Docs

Develop

pip install -e ".[dev]"
black --check src tests scripts && pylint src tests scripts && pytest

Metadata

Release files for vagrant-moses 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vagrant-moses 0.6.0
File Size Uploaded Provenance Actions
vagrant_moses-0.6.0.tar.gz 66.4 kB With provenance Details for vagrant_moses-0.6.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for vagrant-moses 0.6.0
File Actions
vagrant_moses-0.6.0-py3-none-any.whl Python 3 none any Details for vagrant_moses-0.6.0-py3-none-any.whl
vagrant_moses-0.6.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.11 abi3 Linux glibc 2.17+ x86-64 Details for vagrant_moses-0.6.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
vagrant_moses-0.6.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.11 abi3 Linux glibc 2.17+ ARM64 Details for vagrant_moses-0.6.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
vagrant_moses-0.6.0-cp311-abi3-macosx_11_0_arm64.whl CPython 3.11 abi3 macOS 11.0+ ARM64 Details for vagrant_moses-0.6.0-cp311-abi3-macosx_11_0_arm64.whl

Total release size: 1.1 MB

Release files / vagrant_moses-0.6.0.tar.gz

Download URL vagrant_moses-0.6.0.tar.gz
Size 66.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4a2a956a5fd2346b15991a2480031cd21ea3b960f8d1b0168cf8f8e18ebc4018
BLAKE2b-256 checksum
How to use checksums
c50189077f5aa62e6c9914d71ff75d5601a94a1859bb127c5f886c7b607773dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 31, 2026.

Transparency log

Release files / vagrant_moses-0.6.0-py3-none-any.whl

Download URL vagrant_moses-0.6.0-py3-none-any.whl
Size 47.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cfffcfc6a889bd840036fef3fc98e8cbef89b620dc3ba1f9da11cc4eec5bd59d
BLAKE2b-256 checksum
How to use checksums
545d302f3132d03cbdbbe017c893a46f509617e9722a0f52eee10e32da89a49e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 31, 2026.

Transparency log

Release files / vagrant_moses-0.6.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL vagrant_moses-0.6.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 320.9 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
69eec67c47d8878f2b919259c9a57b15ddf3430f67a269dae5cce4d3e99abd2f
BLAKE2b-256 checksum
How to use checksums
98e0973f4ad0fae1f9278b206a5b66892fd2a296fa77cbb3f458538ae1578972
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 31, 2026.

Transparency log

Release files / vagrant_moses-0.6.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL vagrant_moses-0.6.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 320.6 kB
Tags CPython 3.11 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
2461502db2c9f8b518f5f34ef6fda5e4064d5d4b734cc6d2471057f0e1c19f31
BLAKE2b-256 checksum
How to use checksums
806c6432ff4f71d2ff269a5778c67f3e855f13f54e92eef9503d2e531d0403f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 31, 2026.

Transparency log

Release files / vagrant_moses-0.6.0-cp311-abi3-macosx_11_0_arm64.whl

Download URL vagrant_moses-0.6.0-cp311-abi3-macosx_11_0_arm64.whl
Size 299.3 kB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
0609663abf921865ec30a84030c2fe024e22093662f26f5ecd22cc3220f33af4
BLAKE2b-256 checksum
How to use checksums
61a854eab396aca3ff00145c662f69411ac7fd0de9cf8ae36e000f98b0b16cdd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 31, 2026.

Transparency log

Security for vagrant-moses 0.6.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 5 files in this release have been uploaded with provenance metadata.

Select from 5 files

Attestation for vagrant_moses-0.6.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 31, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page