Commit Graph

3 Commits

Author SHA1 Message Date
scawful
ede4c2ab1f feat(apu): finalize APU timing implementation and introduce headless emulator test harness
- Updated APU timing analysis to reflect implementation completion, addressing core timing issues with the SPC700.
- Added a headless emulator test harness for testing APU functionality without GUI overhead.
- Enhanced cycle accuracy and instruction execution, with known audio glitches noted for future refinement.
- Updated success criteria to reflect completed tasks and ongoing work for unit tests and audio quality improvements.

Benefits:
- Improved APU execution accuracy and synchronization.
- Streamlined testing process for APU functionality.
- Clear documentation of current implementation status and future work.
2025-10-10 18:58:17 -04:00
scawful
b5cecedbb0 docs: add LakeSnes comparison analysis to APU timing
- Document what LakeSnes does right (atomic execution, cycle callbacks)
- Identify where LakeSnes falls short (implicit counting, no explicit return)
- Define what we're adopting vs improving
- Clarify hybrid approach: LakeSnes simplicity + explicit validation
2025-10-10 17:28:00 -04:00
scawful
b7c642611a docs: add comprehensive APU timing analysis
- Document current bstep mechanism and its fragility
- Identify root cause of handshake timing failure
- Design atomic instruction execution approach
- Plan fixed-point cycle ratio conversion
- Outline implementation strategy

Relates to #APU-timing-fix
2025-10-10 17:23:22 -04:00