6502TestPrograms

From VisualChips

(Difference between revisions)
Jump to: navigation, search
(64doc authorship unclear)
(Neskell's test collation)
 
Line 14: Line 14:
* [http://asap.git.sourceforge.net/git/gitweb.cgi?p=asap/asap;a=tree;f=test ASAP tests] by Piotr Fusik includes an exhaustive test for ADC, SBC and 0x6B as well as a few tests for other undocumented opcodes
* [http://asap.git.sourceforge.net/git/gitweb.cgi?p=asap/asap;a=tree;f=test ASAP tests] by Piotr Fusik includes an exhaustive test for ADC, SBC and 0x6B as well as a few tests for other undocumented opcodes
* [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.
 +
Test harnesses:
Test harnesses:
* [https://github.com/mnaberez/py65/tree/master/py65/tests/devices py65 tests] by Mike Naberezny (python)
* [https://github.com/mnaberez/py65/tree/master/py65/tests/devices py65 tests] by Mike Naberezny (python)

Latest revision as of 21:01, 25 April 2017

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