1
0
mirror of https://github.com/irmen/ksim65.git synced 2024-06-08 19:29:33 +00:00
ksim65/src/test/kotlin/6502_functional_tests
Irmen de Jong 764710ea12 initial
2019-09-11 02:17:59 +02:00
..
bin_files initial 2019-09-11 02:17:59 +02:00
65C02_extended_opcodes_test.a65c initial 2019-09-11 02:17:59 +02:00
6502_decimal_test.a65 initial 2019-09-11 02:17:59 +02:00
6502_functional_test.a65 initial 2019-09-11 02:17:59 +02:00
6502_interrupt_test.a65 initial 2019-09-11 02:17:59 +02:00
license.txt initial 2019-09-11 02:17:59 +02:00
readme.txt initial 2019-09-11 02:17:59 +02:00
report.i65 initial 2019-09-11 02:17:59 +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
requests.

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:
http://forum.6502.org/viewtopic.php?f=2&t=2241

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