Haxe NES Emulator
This emulator cannot run any game currently
Currently mostly an complete 6502 CPU VM, with unofficial NES instruction added
PPU is currently absolutly not supported. It will be handled in a future version.
To compile Hemu, you'll need the lastest 3.0 Haxe version and the 2.0.0 Neko version.
Create the folder bin with mkdir bin
Then, just run haxe make.hxml
will produce the out.n file in the bin/ folder.
You can run test with nes_test_diff.sh
, or run a random rom with neko out.n random.rom
From left to right :
- Current PC (Program Counter)
- Name of the OpCode
- Corresponding opcode byte
- Accumulator Value (AC)
- X Register Value (RX)
- Y Register Value (RY)
- Stack Pointer (SP)
- CPU Flags ** Carry Flag ** Zero Flag ** Interrupt Disable ** Decimal Mode ** Break Command ** Overflow Flag ** Negative Flag
Here are some resources I used to better understand the CPU :