2 Commits

Author SHA1 Message Date
vincente 4649144770 Fill indexed ALU ops and point at the Mimic implementation plan.
Implement missing 6809 indexed arithmetic/logic opcodes, document the parent instruction-suite commands, add Makefile.test-instr, and point AGENTS.md at the V 21-Implementation plan (SuperMon 64).
2026-10-18 13:41:26 -05:00
vincente 78b8838cc7 Initial mimic09: fast 6809/6309 emulator + C64-style monitor + SREC/IHEX loader + ACIA/PIA
- Complete project skeleton per AGENTS.md (src/, bin/, samples/, attic/ with 1994 code, docs/)
- High-performance C core (cpu.c) with most 6809 instructions + selected 6309
- Table-driven disassembler (D) and minimal built-in assembler (A)
- Full C64-monitor inspired debugger (R ; M : D A G S B BC F L S ! X ?)
  - Single step, breakpoints (exec), register/memory view+edit
- Robust S-Record, Intel HEX, raw binary load/save (tolerant of CRLF)
- 6850 ACIA and 6821 PIA emulation (memory-mapped, registered devices)
- CLI: -l load, -g go, -i interactive, --cpu 6309, --acia/--pia bases
- Designed for tight integration with cc09 (WINTEK re-creation)
- Optimized Makefile for macOS/Linux (clang/gcc, -O3 -flto -march=native)
- AGENTS.md with mission, structure, coding rules, monitor reference

Verified: builds release+debug, loads provided samples (140A.HEX 2299.HEX 2299.MIK), monitor commands, A/D/S/B, roundtrip save/load.

Remote: http://gitea.binary-systems.com/vincente/mimic
2026-06-12 14:59:59 -05:00