Skip to main content

sidwizard-driver

Python harness that drives SID-Wizard inside asid-vice and captures per-frame SID register writes from its real 6502 player. Output is a deduplicated (frame, reg, value) CSV — ground truth for verifying pure-Python SWM players like pysidwizard.

Built on vice-driver.

Install

pip install sidwizard-driver

Requires Docker (or compatible) and the anarkiwi/asid-vice:latest image — see anarkiwi/asid-vice.

The SID-Wizard editor disk is fetched on demand from CSDB and cached under ~/.cache/sidwizard-driver/ (override with --d64 <path> or XDG_CACHE_HOME). Pre-fetch:

python -m sidwizard_driver.fetch

Usage

Boot smoke:

python -m sidwizard_driver.smoke

Capture a tune to CSV:

python -m sidwizard_driver.capture --swm tune.swm --frames 1500 --out tune.csv

Dump per-frame player ghost-register state:

python -m sidwizard_driver.ghost_dump --swm tune.swm --frames 60 --annotate --out ghost.csv

CSV schema

capture emits frame,reg,value (integers). Frame 0 is the first player tick after F1. reg is the SID register offset (0..0x18). Consecutive writes of the same value to the same register are collapsed.

ghost_dump emits frame,addr,value (with optional label column). Each frame yields rows for the per-voice zero-page block ($10..$80) plus six additional rows:

  • Three for the filter-program self-modifying operand bytes — labelled FLTCTRL / FLTPOSI / CWEPCNT. These live in the loaded player code ($1xxx) and let downstream tools reconstruct SID-Wizard's per-frame filter-table position + sweep counter, which are NOT in zero page.
  • Three for the per-voice DETUNER bytes (DETUNER_v0 / v1 / v2). DETUNER is in the CONST_VAR ZP region that INIPVAR doesn't clear; its base address varies by build, so it's discovered from the WRPITCH adc DETUNER,X operand and captured per voice.

License

Apache-2.0.

Metadata

Release files for sidwizard-driver 0.5.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 sidwizard-driver 0.5.0
File Size Uploaded
sidwizard_driver-0.5.0.tar.gz 57.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sidwizard-driver 0.5.0
File Interpreter ABI Platform
sidwizard_driver-0.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 114.0 kB

Release files / sidwizard_driver-0.5.0.tar.gz

Download URL sidwizard_driver-0.5.0.tar.gz
Size 57.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b6f6e02de0a8236b205cd2d552d8095cbf24c4e2f2109fd8a2b6b64dddfa3f2d
BLAKE2b-256 checksum
How to use checksums
90bffd1d7e1f708a5c479d5a247359a9b4fbe1e1298fda5bd76a54ee81fb2b66
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jul 13, 2026.

Transparency log

Release files / sidwizard_driver-0.5.0-py3-none-any.whl

Download URL sidwizard_driver-0.5.0-py3-none-any.whl
Size 56.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7e545bdad5731fef9915f495a295b4567926214800762b15960d542ef33ed068
BLAKE2b-256 checksum
How to use checksums
a842772c4e113c6ad569f1c9e93b1bb5d7b4da17e84465e6328ebfb58b3c3a7f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jul 13, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.5.0 This release

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

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