/6502

c89 zero dependency 6502 implementation

Primary LanguageCThe UnlicenseUnlicense

6502

unfinished 6502 implementation written in c89 with zero dependencies (no includes).

working

  • good enough implementation to pass nestest
  • decimal mode arithmetic (disabled by defining MOS6502_DISABLE_DECIMAL_MODE)

not working

  • no interrupts

credits

nestest logs generated from Nintendulator: https://www.qmtpro.com/~nes/nintendulator/

sources for opcodes:

sources for unofficial opcodes:

final

please consider giving credit if you use any code from this repo, even as a refrence (this is not required).