# 6502 Model: reconstructing 65C02 cycle behavior

> 6502 Model reconstructs the 65C02 chip’s cycle behavior in Rust from traces of external buses recorded during execution on a physical chip. Contributors add programs and signed traces as failing cases, then implement behavior to match the observed cycles.

- Type: Case study
- Targets: Firmware
- Category: Independent reconstruction cases
- Relationship: Independent reconstruction project
- Sources reviewed: 2026-11-07
- Added to the catalog: 2026-11-09
- Original resource: <https://github.com/EmulationOnline/model_6502>
- Primary source: <https://github.com/EmulationOnline/model_6502/blob/bc7cf1457c4e9828288db9a9d8b4ff7daf251315/README.md>
- Catalog page: <https://awesomerea.org/resources/6502-model-case/>
- Record JSON: <https://awesomerea.org/resources/6502-model-case/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/6502-model-case/index.md)

## Requirements & limits

- **Prerequisites:** A physical 65C02 trace collected through ChipLab is used when adding behavior.
- **Limits:** Official instructions, timing details, flags, interrupts and unofficial instructions remain on the roadmap.
- **License:** BSD-3-Clause License.

## Primary sources

1. <https://github.com/EmulationOnline/model_6502/blob/bc7cf1457c4e9828288db9a9d8b4ff7daf251315/README.md>
2. <https://github.com/EmulationOnline/model_6502/blob/bc7cf1457c4e9828288db9a9d8b4ff7daf251315/passing_traces/README.md>

## More in Firmware and hardware

- [D750 QEMU Verification Prototype: early Nikon D750 firmware execution in QEMU](https://awesomerea.org/resources/d750-qemu-case/index.md) · Case study
- [ILME-FX30: mapping service commands and firmware settings](https://awesomerea.org/resources/ilme-fx30-service-mode-case/index.md) · Case study
- [redmi-perf: reconstructing Redmi laptop performance-mode control](https://awesomerea.org/resources/redmi-perf-case/index.md) · Case study
- [ZTE U60 Pro Toolkit: investigating and extending router controls](https://awesomerea.org/resources/zte-u60-pro-toolkit-case/index.md) · Case study
- [Game Boy DMG-CPU Schematics: reconstructing the DMG-CPU B chip](https://awesomerea.org/resources/dmg-schematics-case/index.md) · Case study
- [open-cleverpad: reconstructing the MIDIPLUS SmartPAD hardware](https://awesomerea.org/resources/open-cleverpad-case/index.md) · Case study

## About this entry

The description was reviewed against primary sources.
Original editorial content: MIT. Linked projects, papers and assets retain their own rights and licenses.
