6502TestPrograms

From VisualChips

(Difference between revisions)
Jump to: navigation, search
(update link to Klaus Dormann's test suite)
(Add VICE test suite collection)
 
Line 15: Line 15:
* [http://www.zimmers.net/anonftp/pub/cbm/documents/chipdata/64doc 64doc] contains an exhaustive test for BCD mode, by Marko Mäkelä. The document was originally created by Jouko Valta and/or John West.
* [http://www.zimmers.net/anonftp/pub/cbm/documents/chipdata/64doc 64doc] contains an exhaustive test for BCD mode, by Marko Mäkelä. The document was originally created by Jouko Valta and/or John West.
* Tim C. Schröder's Neskell project has [https://github.com/blitzcode/neskell#test-suite a collation of test suites] including [http://slack.net/~ant/misc/ a pair by Blargg] which might not already be mentioned here.
* Tim C. Schröder's Neskell project has [https://github.com/blitzcode/neskell#test-suite a collation of test suites] including [http://slack.net/~ant/misc/ a pair by Blargg] which might not already be mentioned here.
 +
* The VICE project has [https://sourceforge.net/p/vice-emu/code/HEAD/tree/testprogs/CPU/ a collection of test suites].
Test harnesses:
Test harnesses:

Latest revision as of 11:47, 19 October 2020

There are a number of test suites for 6502, each with their own intentions and peculiarities. (Instead of using a dedicated test suite, 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.)

For the most part these test programs 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