Open joncampbell123 opened 6 years ago
DOSBox-X:
Integration device:
8253/8254 timer:
Manual testing:
Questions:
Not sure if useful, but I recently looked into making tests for a similar project.
Here's what I did:
Select a bunch of small software (i chose 256 byte demos from http://pouet.net/)
My demo collection can be found at https://github.com/martinlindhe/dos-software-decoding
I did my tests in the rust programming language, so that part might be useless here, but for completeness, this is the code I am referring to: https://github.com/martinlindhe/dustbox-rs/blob/master/src/gpu_test.rs#L76
@martinlindhe The idea is to make tests specific to each part of the emulation. In the list above I make it clear to start with the PIT timer (8254) emulation.
Indeed testing is useful on many levels, was just sharing some experience :-)
I've been bringing up automated testing a lot, I think it's time to start it.
Note that some tests will require the DOSBox-X integration device, which contains functions to support automated testing.
The testing programs will be written to test against DOSBox-X, as well as real hardware where possible, to validate emulation accuracy.