6502TestPrograms

From VisualChips

(Difference between revisions)
Jump to: navigation, search
(another version of wolfgang lorenz' testsuite (with sources))
(add Klaus Dormann's test suite)
Line 4: Line 4:
Self-testing (6502 ROMs and programs):
Self-testing (6502 ROMs and programs):
 +
* [https://github.com/redline6561/cl-6502/blob/b0087903428ec2a3794ba4219494005174d1b09f/tests/6502_functional_test.a65 Klaus Dormann's test suite] includes decimal mode, is standalone and can be assembled to a single image around 16k.
* [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.baisoku.org/pc64test.zip another version with sources])
* [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.baisoku.org/pc64test.zip another version with sources])
* Ruud Baltissen's 8k test ROM from his [http://www.baltissen.org/zip/rb65-11.zip VHDL 6502 core] (includes source, but only a subset of files found in the [http://www.baltissen.org/zip/rb65-10.zip previous version])
* Ruud Baltissen's 8k test ROM from his [http://www.baltissen.org/zip/rb65-11.zip VHDL 6502 core] (includes source, but only a subset of files found in the [http://www.baltissen.org/zip/rb65-10.zip previous version])
Line 26: Line 27:
* [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"]
 +
* [http://forum.6502.org/viewtopic.php?f=2&t=2241 6502.org topic "Functional Test for the NMOS 6502 - request for verification"]

Revision as of 10:48, 9 September 2012

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:

It can also be useful to run a monitor or BASIC interpreter, although the test coverage isn't very high and the run time is. Favourites are: Apple 1 monitor, Apple 1 integer BASIC, C64 BASIC, BBC OS and BASIC.

References:

Personal tools