gianlucarea/m68k-interpreter
Bridging retro-computing and modern web development, this project brings the Motorola 68000 (m68k) assembly experience directly to your browser. Built with React 18 and TypeScript, it's a zero-setup, interactive learning environment where students, hobbyists, and computer architecture enthusiasts can write, execute, and debug m68k code in real-time
What's novel
Bridging retro-computing and modern web development, this project brings the Motorola 68000 (m68k) assembly experience directly to your browser. Built with React 18 and TypeScript, it's a zero-setup, interactive learning environment where students, hobbyists, and computer architecture enthusiasts can write, execute, and debug m68k code in real-time
Code Analysis
10 files read · 3 roundsA browser-based Motorola 68000 assembly emulator with a full instruction set (50+ instructions), step-by-step execution, register/memory inspection, and undo/redo, built with React and TypeScript.
Strengths
Genuinely deep implementation of a full m68k CPU with correct CCR handling, proper memory addressing modes, and comprehensive test coverage across all instruction categories. The operations module correctly handles signed arithmetic, overflow detection, and all shift/rotate variants with proper carry/overflow flag updates.
Weaknesses
The core emulator is a single 137KB monolithic class that handles parsing, label resolution, instruction dispatch, and execution all in one place, making it difficult to maintain or extend. The UI layer uses custom window events for component communication rather than a more standard React pattern, and the store directly mutates emulator internals.
Score Breakdown
Signal breakdown
Innovation
Craft
Traction
Scope
Evidence
Commits
30
Contributors
1
Files
59
Active weeks
2
Repository
Language
JavaScript
Stars
23
Forks
1
License
MIT