Commit Graph

171 Commits

Author SHA1 Message Date
Adrian Conlon
9ca85428e0 Correct: Fuse error count + expected versus actual register checking.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-08-15 17:24:26 +01:00
Adrian Conlon
6c20f49c05 Fuse fixes: Missed one of the indexed indirect memory register updates: Whoops!
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-08-15 17:23:34 +01:00
Adrian Conlon
f07f184ce9 Fuse fixes: Correct address high part of output port block writes.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-08-15 16:21:35 +01:00
Adrian Conlon
8db6c6fde9 Fuse fixes: Don't write garbage after displaced index arithmetic operation. Damn!
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-08-15 15:50:28 +01:00
Adrian Conlon
e35dabd130 Fuse fixes: Correct bus read/write order of XHTL
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-08-15 14:31:23 +01:00
Adrian Conlon
84284d62b5 Fuse fixes: Correct JR cc from unnecessary extra read of offset.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-08-15 14:30:12 +01:00
Adrian Conlon
accdf19805 Hmm, now I look more closely at the Fuse event tests: I've got all sorts of obscure failures!
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-08-15 10:38:34 +01:00
Adrian Conlon
d15d1e0d08 Start incorporating "event" support into the Fuse tests. Only supported by the Z80 fuse tests at present.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-08-14 22:38:47 +01:00
Adrian Conlon
315bef7229 Correct missing high bit in the refresh register (corrects failing fuse test: ed5f)
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-08-14 08:31:19 +01:00
Adrian Conlon
f432f1be20 Correct AF output in Z80 Fuse test runner.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-08-14 08:02:57 +01:00
Adrian Conlon
a2b62bb189 Catch some bad arrangements of expected versus actual for the Z80 fuse tests.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-08-13 22:30:27 +01:00
Adrian Conlon
9550ed57be Add a .net Fuse test suite for the Z80 core (one "unexpected" result).
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-08-13 22:24:04 +01:00
Adrian Conlon
63ef445a78 Make the Fuse test classes more generic, so I can use them again for the Z80 fuse runner.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-08-13 18:51:34 +01:00
Adrian Conlon
3c7ca33efe Simplify LR35902 IO register access a little.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-08-12 18:34:17 +01:00
Adrian Conlon
583c5444a0 Correct a couple of small LR35902 timing issues.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-08-12 18:33:33 +01:00
Adrian Conlon
2b3bc80f8a Remove unnecessary configuration member variable.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-08-09 17:13:26 +01:00
Adrian Conlon
2067d91614 Remove unnecessary "using" statement.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-08-09 17:12:28 +01:00
Adrian Conlon
f54ef07057 Couple of small refactorings, based on repeated bit patterns
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-08-07 13:27:03 +01:00
Adrian Conlon
dedc340bf5 Add a working implementation of FindFirstSet + tests.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-07-30 23:55:20 +01:00
Adrian Conlon
fc84e05839 Turn the AbstractColourPalette into a templated class, so I can use Monogame "Color" type later on.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-07-28 23:43:22 +01:00
Adrian Conlon
5a7a3b5019 Tidy up EightBit.GameBoy namespace definition.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-07-28 11:50:25 +01:00
Adrian Conlon
0ada703504 Remove unnecessary reference dependencies from the .Net EightBit projects.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-07-28 00:35:20 +01:00
Adrian Conlon
6cb3aa37df Correct ROM loading issue in LR35902, by correcting evaluation order in bus write code.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-07-28 00:07:00 +01:00
Adrian Conlon
8fba82063a Correcting FindFirstSet implementation corrects LR35902 interrupt issue (on blargg test)
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-07-27 21:45:20 +01:00
Adrian Conlon
24934729c2 Fix stylecop warning in LR35902.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-07-27 19:30:56 +01:00
Adrian Conlon
00e92c1621 More LR35902 blargg test debugging output corrections.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-07-27 14:19:23 +01:00
Adrian Conlon
bf0e793603 Another (minor) LR35902 disassembler problem corrected.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-07-27 14:18:39 +01:00
Adrian Conlon
65f47e07fc Change of whitespace character in the output stage of the LR35902 blargg test output, makes it very similar to the C++ code.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-07-27 10:34:36 +01:00
Adrian Conlon
af82470f27 Correct a couple of LR35902 timing mistakes.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-07-27 10:24:03 +01:00
Adrian Conlon
e421f49b12 Correct a couple of LR35902 disassembler mistakes.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-07-27 02:22:22 +01:00
Adrian Conlon
800eff05a6 Correct AF value in LR35902 emulator
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-07-26 00:58:54 +01:00
Adrian Conlon
ead54b0468 Wire up the LR35902 Blargg GameBoy test runner. Not working yet...
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-07-24 23:48:19 +01:00
Adrian Conlon
f44b7b90d4 Add (untested) LR35902 disassembler.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-07-24 23:47:39 +01:00
Adrian Conlon
1267efb3bc Correct crash when loading LR35902 ROMS.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-07-24 23:46:52 +01:00
Adrian Conlon
bacdca6acb Correct LR35902 rom loading issues (to be checked on other cores.)
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-07-24 23:46:06 +01:00
Adrian Conlon
f570916364 Add a skeletal repository for LR35902 Blargg Game Boy tests.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-07-21 18:32:42 +01:00
Adrian Conlon
5185346b8d Whoops: missed some updated files caught up in the stlecop updates.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-07-21 13:12:28 +01:00
Adrian Conlon
8dea5746c4 Tidy up stylecopy usage for the LR35902 set of libraries.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-07-21 13:11:00 +01:00
Adrian Conlon
7192b5c095 Refactor non-CPU specific parts of the LR35902 fuse test code into it's own library
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-07-21 10:34:44 +01:00
Adrian Conlon
304f6c1eca Move register definition information around a little for forthcoming Fuse library ease of refactoring.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-07-21 10:19:21 +01:00
Adrian Conlon
d1689dede8 Whoops: Used an 8-bit address mask, instead of a 16-bit mask in the LR35902 fuse test runner.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-07-21 10:08:24 +01:00
Adrian Conlon
e4a0aaedc4 Remove need to check object validity in LR35902 fuse tests.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-07-21 09:28:49 +01:00
Adrian Conlon
6a883a6252 First pass at LR35902 fuse test runner code analysis
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-07-21 09:10:45 +01:00
Adrian Conlon
5c911674a4 Whoops: missed LR35902 TestRunner refactor
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-07-21 00:29:42 +01:00
Adrian Conlon
0dc68194f0 Slight tidy up of memory test usage in LR35902 fuse test runner.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-07-20 23:43:44 +01:00
Adrian Conlon
fc33219f62 Correct TestEvent parsing to correctly recognise parse validity. Fuse test runner now runs!
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-07-20 20:20:25 +01:00
Adrian Conlon
a9a03d946a Refactor LR35902 test runner. Better, but still not working.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-07-20 19:17:08 +01:00
Adrian Conlon
ed92ce33f6 Starting to port Fuse test runner for LR35902 emulator. Not running yet.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-07-19 23:59:32 +01:00
Adrian Conlon
b6ced1ddd5 Use "InvalidOperationException" for invalid opcodes in LR35902 emulation (for Fuse test runner)
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-07-19 23:58:26 +01:00
Adrian Conlon
7f30fcf4b2 Whoops: extra blank link crept in.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-07-14 17:49:35 +01:00