This project is a web-based frontend for a 6502 assembly development environment, providing a rich, interactive interface for writing, debugging, and running 6502 assembly code.
- Interactive 6502 Emulator: Run, step through, and reset 6502 assembly code in real-time.
- Advanced Code Editor: Powered by CodeMirror, featuring:
- Custom syntax highlighting for 6502 assembly
- Multiple themes
- Optional Vim keybindings
- Debug Tools:
- Trace log for detailed execution tracking
- Real-time view and modification of CPU registers and flags
- Stack viewer
- Memory inspector
- Assembly Integration: Assemble your code directly in the browser
- Code Editor: Write and edit your 6502 assembly code with syntax highlighting.
- Emulator Controls: Buttons for Run, Step, Reset, and Assemble operations.
- Register Display: Shows current values of A, X, Y, SP, and PC registers.
- Flag Indicators: Display of N, O, B, D, I, Z, and C flags.
- Memory Viewer: Inspect and modify memory contents in real-time.
- Stack Viewer: Visualize the current state of the stack.
- Trace Log: Detailed log of executed instructions and their effects.
(Include instructions for setting up and running the project locally)
git clone https://github.com/ppitzulo/6502-dev-environment
cd 6502-dev-environment
npm install
npm start
- Write your 6502 assembly code in the editor.
- Click "Assemble" to compile your code.
- Use the "Run", "Step", and "Reset" buttons to control execution.
- Monitor the registers, flags, memory, and stack as your code executes.
- Use the trace log for detailed debugging information.
- React
- TypeScript
- CodeMirror (for the text editor)
- CodeMirror: For the powerful text editing capabilities