Test suite for 6509 processor

From: Michał Pleban <lists_at_michau.name>
Date: Sun, 25 Feb 2018 21:30:14 +0100
Message-ID: <5A931CD6.1030309@michau.name>
Hello!

I uploaded the first version of the 6509 test code to GitHub:

https://github.com/MichalPleban/6509-test

Right now the tests must be run in a real CBM-II machine, but in the
future they will be made standalone.

The "bin" directory contains the PRG file and a D80 disk image which can
be mounted in VICE. To run the tests type:

BLOAD "*" (this is BLOAD, not DLOAD!)
SYS 1024

The following features are tested so far:

* Reading and writing from/to another bank via LDA (zp),Y and STA (zp),Y
- also when crossing a page boundary.

* Reading memory using other (zp),Y instruction (which should NOT fetch
from another bank).

* Executing code in another bank.

* Reading back the value written to registers, using both normal
instructions and LDA (zp),Y.

At the moment I am not testing whether the value is actually written to
the RAM below $0000/$0001 registers. Since the 6509 CPU always reads
back the written value, it is not possible to know what is in the RAM
beneath it. To check the RAM, I will have to employ the 8088 CPU and
it's too late to do that today.

Regards,
Michau.



       Message was sent through the cbm-hackers mailing list
Received on 2018-02-25 22:01:10

Archive generated by hypermail 2.2.0.