Tests for all valid opcodes of the 6502 and 65C02 processor
Go to file
Klaus2m5 54768c6dc0 added config switch to disable decimal mode tests
decimal mode tests can be disabled for the ADC & SBC instructions or
also including the decimal mode bit of the processor status register.
2015-10-21 16:51:23 +02:00
bin_files added binaries 2013-12-18 11:19:08 +01:00
.gitattributes first commit 2013-08-07 18:56:09 +02:00
.gitignore first commit 2013-08-07 18:56:09 +02:00
65C02_extended_opcodes_test.a65c immediate opcodes now execute in data RAM 2015-08-24 20:03:20 +02:00
6502_decimal_test.a65 added config switch to disable decimal mode tests 2015-10-21 16:51:23 +02:00
6502_functional_test.a65 added config switch to disable decimal mode tests 2015-10-21 16:51:23 +02:00
6502_interrupt_test.a65 added feedback filter 2014-08-15 18:21:06 +02:00
license.txt first commit 2013-08-07 18:56:09 +02:00
readme.txt minor improvement to relative address test 2014-12-14 14:28:37 +01:00
report.i65 added report to standard output option 2013-08-16 13:30:31 +02:00

This is a set of functional tests for the 6502/65C02 type processors.

The 6502_functional_test.a65 is an assembler sourcecode to test all valid
opcodes and addressing modes of the original NMOS 6502 cpu.

The 65C02_extended_opcodes_test.a65c tests all additional opcodes of the
65C02 processor including undefined opcodes.

The 6502_interrupt_test.a65 is a simple test to check the interrupt system
of both processors. A feedback register is required to inject IRQ and NMI

Detailed information about how to configure, assemble and run the tests is
included in each source file.

The tests have primarily been written to test my own ATMega16 6502 emulator
project. You can find it here: http://2m5.de/6502_Emu/index.htm

A discussion about the tests can be found here:

Good luck debugging your emulator, simulator, fpga core, discrete
logic implementation or whatever you have!