6502TestPrograms

From VisualChips

(Difference between revisions)
Jump to: navigation, search
(filled in)
(add Ruud's rom)
Line 5: Line 5:
Self-testing (6502 ROMs and programs):
Self-testing (6502 ROMs and programs):
* [http://www.modelb.bbcmicro.com/testsuite-2.15.tar.gz Wolfgang Lorenz' C64 suite] exhaustive, excluding decimal mode, uses C64 facilities to chain each program ([http://www.softwolves.com/arkiv/cbm-hackers/7/7114.html stubbing instructions here] by Christer Palm) (testsuite on Tom Seddon's site) (11kbyte total) ([http://plus4world.powweb.com/software/Test_Suite some description])
* [http://www.modelb.bbcmicro.com/testsuite-2.15.tar.gz Wolfgang Lorenz' C64 suite] exhaustive, excluding decimal mode, uses C64 facilities to chain each program ([http://www.softwolves.com/arkiv/cbm-hackers/7/7114.html stubbing instructions here] by Christer Palm) (testsuite on Tom Seddon's site) (11kbyte total) ([http://plus4world.powweb.com/software/Test_Suite some description])
-
* [http://www.qmtpro.com/~nes/misc/nestest.txt NES test] [http://nickmass.com/images/nestest.nes rom] by Kevin Horton (24kbyte)
+
* Ruud Baltissen's 8k test ROM from his [http://www.baltissen.org/zip/rb65-10.zip VHDL 6502 core] (includes source, presently off-air)
 +
* [http://www.qmtpro.com/~nes/misc/nestest.txt NES test] [http://nickmass.com/images/nestest.nes rom] by Kevin Horton (24kbyte) (haven't found source for this, he says he hasn't got clean source to release)
* [http://code.google.com/p/hmc-6502/source/browse/trunk/emu/testvectors/AllSuiteA.asm AllSuiteA.asm] from the hcm-6502 (verilog) project. ROM available.
* [http://code.google.com/p/hmc-6502/source/browse/trunk/emu/testvectors/AllSuiteA.asm AllSuiteA.asm] from the hcm-6502 (verilog) project. ROM available.
* [http://www.6502.org/tutorials/decimal_mode.html Decimal mode tests by Bruce Clark] ADC/SBC
* [http://www.6502.org/tutorials/decimal_mode.html Decimal mode tests by Bruce Clark] ADC/SBC
Line 14: Line 15:
References:
References:
 +
* [http://nesdev.parodius.com/bbs/viewtopic.php?p=28348 Nesdev forum topic: "req: nestest.asm"]
* [http://wiki.nesdev.com/w/index.php/Emulator_Tests NES Emulator tests] wiki page
* [http://wiki.nesdev.com/w/index.php/Emulator_Tests NES Emulator tests] wiki page
 +
* [http://forum.6502.org/viewtopic.php?t=1660 6502.org topic "New 6502 core"] For Ruud's announcement
* [http://forum.6502.org/viewtopic.php?t=1439 6502.org topic "Running test6502.a65 on Py65"]
* [http://forum.6502.org/viewtopic.php?t=1439 6502.org topic "Running test6502.a65 on Py65"]
* [http://forum.6502.org/viewtopic.php?t=1436 6502.org topic "who knows a full test code for 6502?"]
* [http://forum.6502.org/viewtopic.php?t=1436 6502.org topic "who knows a full test code for 6502?"]
* [http://forum.6502.org/viewtopic.php?t=1566 6502.org topic "Looking for test program"]
* [http://forum.6502.org/viewtopic.php?t=1566 6502.org topic "Looking for test program"]
* [http://forum.6502.org/viewtopic.php?t=547 6502.org topic "Op-code testing"]
* [http://forum.6502.org/viewtopic.php?t=547 6502.org topic "Op-code testing"]

Revision as of 12:44, 10 December 2010

There are a number of test suites for 6502, each with their own intentions and peculiarities.

For the most part they aim to test emulators, which are subject to different bugs than CPU implementations, and therefore the effective coverage may not be as good as expected. Such tests are generally self-checking - there is no golden results file of bus activity - and generally assume some specific platform's I/O facilities.

Self-testing (6502 ROMs and programs):

Test harnesses:

References:

Personal tools