6502-max is a simulator for the 6502 processor that is written in BlitzMax.
Project Homepage: : https://www.sodaware.net/6502-max/
Source Code : https://github.com/sodaware/6502-max/
This project isn't meant for serious work, but it may be useful if you're attempting to build a 6502 simulator in another language.
There is currently no assembler included with the project.
Important memory locations
- Files are loaded into
- The stack is located at
$01FF. There is no stack overflow protection.
- The visual display is 32x32 pixels and 16 colours. It displays memory
$FFcontains the ASCII code for the previously pressed key.
$FEcontains a random value between 0 and 255
simulator --file=<binary file> will load an assembled binary file into
RAM and execute it.
ESC during execution will halt the simulator.
Press any key to exit once the program is finished to quit.
- Modules required (not including built-in brl.mod and pub.mod):
To build the app in release mode, run the following from the command line:
bmk makeapp -h -r -o build/simulator src/main.bmx
This will create the
simulator executable in the
Alternatively, use blam to compile it by
Released under the GPLv3. See
COPYING for the full licence.