First post, by GloriousCow
- Rank
- Member
I've released an CPU test suite for 286 emulators, similar to my previous tests for the 8088, 8086, and V20.
https://github.com/SingleStepTests/80286
Again, these are hardware generated tests, made by controlling a Harris 80C286 CPU via an Arduino microcontroller.
Currently, only real mode tests are present. The test suite contains 326 instruction forms, containing nearly 1.5 million instruction executions with over 32 million cycle states captured.
This test suite is released in a chunked binary format I call MOO. A script is included to convert them into the traditional JSON format if you'd prefer.
The binary format was designed to be easier for emulators written in languages like C to use and example C code for reading MOO files is provided here:
https://github.com/SingleStepTests/8088/blob/ … ls/moo_parser.c
MartyPC: A cycle-accurate IBM PC/XT emulator | https://github.com/dbalsom/martypc