mirror of
https://github.com/freewilll/apple2-go.git
synced 2024-09-27 17:55:56 +00:00
Added instructions for the CPU tests and a missing file
This commit is contained in:
parent
bf09ca8257
commit
01e92c6c80
16
README.md
16
README.md
@ -55,6 +55,22 @@ The tests use DOS and Prodos disk images. Download them from
|
|||||||
The CPU tests make use of [Klaus2m5's](https://github.com/Klaus2m5/6502_65C02_functional_tests)
|
The CPU tests make use of [Klaus2m5's](https://github.com/Klaus2m5/6502_65C02_functional_tests)
|
||||||
excellent 6502 functional tests.
|
excellent 6502 functional tests.
|
||||||
|
|
||||||
|
### Creating the CPU test ROMs
|
||||||
|
|
||||||
|
The source files are `6502_functional_test.a65` and `6502_interrupt_test.a65`. They are assembled using `as65` into a binary file which contains a memory image of the test code. They are compressed into gzip files which are loaded into the apple memory by the unit tests.
|
||||||
|
|
||||||
|
Download [as65](http://www.kingswood-consulting.co.uk/assemblers/as65_142.zip) and unzip it to get the `as65` assembler binary.
|
||||||
|
|
||||||
|
Assemble the tests
|
||||||
|
|
||||||
|
cd cpu
|
||||||
|
as65 -l -m -w -h0 6502_functional_test.a65
|
||||||
|
gzip 6502_functional_test.bin
|
||||||
|
|
||||||
|
as65 -l -m -w -h0 6502_interrupt_test.a65
|
||||||
|
gzip 6502_interrupt_test.bin
|
||||||
|
|
||||||
|
|
||||||
## Known working disk images
|
## Known working disk images
|
||||||
* DOS 3.3
|
* DOS 3.3
|
||||||
* Prodos 1.9
|
* Prodos 1.9
|
||||||
|
14358
cpu/6502_functional_test.lst
Normal file
14358
cpu/6502_functional_test.lst
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user