Skip to main content

Module cpu

Module cpu 

Source
Expand description

CPU backend built on the m68k crate.

M68kCpu initializes the canonical guest CPU model and exposes both precise single-instruction stepping and JIT-enabled native batch execution. WebAssembly builds retain the same batch API through m68k’s portable trace executor.

Structs§

M68kCpu
Systemless wrapper around m68k::CpuCore.

Enums§

Register
68k CPU register identifiers: eight data registers (D0–D7), eight address registers (A0–A7, with A7 selecting the active stack pointer), and the program counter.
StepResult
Outcome of a single 68k instruction step. Returned by FixtureRunner::step.

Traits§

CpuOps
Register interface used by the trap dispatcher.
HleHandler
Trap handler with CPU and bus access for HLE.