6502TestPrograms

From VisualChips

(Difference between revisions)
Jump to: navigation, search
m (Protected "6502TestPrograms" ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite)))
(filled in)
Line 3: Line 3:
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.
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):
 +
* [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)
* [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
 +
* Test code supplied with [http://web.archive.org/web/20070707064155/http://www.birdcomputer.ca/Projects/Prj6502/bc6502_page.html Rob Finch's 6502 core] (archive.org) (1500 bytes)
 +
 +
Test harnesses:
 +
* [https://github.com/mnaberez/py65/tree/master/src/py65/tests/devices py65 tests] by Mike Naberezny (python)
References:
References:
 +
* [http://wiki.nesdev.com/w/index.php/Emulator_Tests NES Emulator tests] wiki page
 +
* [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=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 22:44, 9 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