6502TestPrograms

From VisualChips

(Difference between revisions)
Jump to: navigation, search
m (fixup py65 link - thanks to aaronmell)
(Consolidate the using-other-programs paragraph into the first paragraph. It was never intended to be a commentary on py65, but could be read that way.)
Line 1: Line 1:
-
There are a number of test suites for 6502, each with their own intentions and peculiarities.
+
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 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 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):
Self-testing (6502 ROMs and programs):
Line 16: Line 16:
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)
-
 
-
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:
References:

Revision as of 10:51, 27 January 2014

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