A NES emulator written in TypeScript
yarn
, then yarn build
. You can also use NPM, of course.
The unit and integration tests can be run with yarn test
. To run a more fully-
featured demo environment, run yarn serve
to open the emulator in a browser
window.
- 6502 Assembly Language Programming by Andrew Jacobs
- The 6502 Instruction Set Decoded by Neil Parker
- This includes undocumented opcodes for the Apple II, which don't apply to the 2A03 used by the NES.
- Rockwell R650x datasheet
- MOS MCS6501 datasheet
- This scan has the highest resolution opcode table I can find
- nestest
- Used as a unit test for verifying cycle-count accuracy and functionality.