From 2e31d6ae4405ac118599e5fc9c767fcb6f43be7f Mon Sep 17 00:00:00 2001 From: Ian C Date: Mon, 27 Feb 2012 22:23:13 +0000 Subject: Added initial files for Z80 tests. --- native/Noddybox.Emulation.EightBit.Z80.Test/README | 73 ++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 native/Noddybox.Emulation.EightBit.Z80.Test/README (limited to 'native/Noddybox.Emulation.EightBit.Z80.Test/README') diff --git a/native/Noddybox.Emulation.EightBit.Z80.Test/README b/native/Noddybox.Emulation.EightBit.Z80.Test/README new file mode 100644 index 0000000..ecb4c18 --- /dev/null +++ b/native/Noddybox.Emulation.EightBit.Z80.Test/README @@ -0,0 +1,73 @@ +File formats +============ + +tests.in +-------- + +Each test has the format: + + +AF BC DE HL AF' BC' DE' HL' IX IY SP PC +I R IFF1 IFF2 IM + + specifies whether the Z80 is halted. + specifies the number of tstates to run the test for, in + decimal; the number actually executed may be higher, as the final + instruction is allowed to complete. + +Then followed by lines specifying the initial memory setup. Each has +the format: + + ... -1 + +eg + +1234 56 78 9a -1 + +says to put 0x56 at 0x1234, 0x78 at 0x1235 and 0x9a at 0x1236. + +Finally, -1 to end the test. Blank lines may follow before the next test. + +tests.expected +-------------- + +Each test output starts with the test description, followed by a list +of 'events': each has the format + +