Commit Graph

194 Commits

Author SHA1 Message Date
Adrian Conlon
81b2b04ddd Add Z80 Fuse test to the EightBit .Net solution
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-11-16 21:01:47 +00:00
Adrian Conlon
3c87907471 Choose a different mechanism for ignoring (at the moment) bus test events.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-11-16 21:00:26 +00:00
Adrian Conlon
ac56257558 Whoops: Z80: missed raising the INT pin, after it been acknowledged.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-11-16 20:58:52 +00:00
Adrian Conlon
5575fec896 Add Z80 support for the RFRSH pin, triggered by M1
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-11-16 20:56:08 +00:00
Adrian Conlon
56e1e67850 Better profiling configuration
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-11-10 12:21:41 +00:00
Adrian Conlon
0398d20ba4 Merge branch 'master' of https://github.com/MoleskiCoder/EightBitNet 2019-11-10 11:18:15 +00:00
Adrian Conlon
a5598942a7 Sync with C++ z80 implementation
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-11-10 11:17:47 +00:00
Adrian Conlon
1c472fcb17 Make the Z80 disassembler a little more compatible with the C++ version.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-11-02 17:28:09 +00:00
Adrian Conlon
0f2a69509b Sync (as far as possible) with unmanaged C++ emulators.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-10-31 23:01:47 +00:00
Adrian Conlon
8ce71f8ab8 Sync with latest C++ version. Fixes a couple of Z80 issues.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-09-08 16:41:04 +01:00
Adrian Conlon
aca81384c3 Correct PC power on value issue.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-09-07 11:16:03 +01:00
Adrian Conlon
f01e3e0430 Tighten up the sequence associated with changing pin levels + fix persistent HALT/PC bug
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-09-06 22:50:21 +01:00
Adrian Conlon
bc491884b0 Synchronise HALT implementation for Intel style processors with the C++ version.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-08-29 09:05:31 +01:00
Adrian Conlon
08111f8590 Merge branch 'master' of https://github.com/MoleskiCoder/EightBitNet 2019-08-28 23:28:15 +01:00
Adrian Conlon
364d79fde9 Correct Z80 halt interrupt bug.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-08-28 23:28:01 +01:00
Adrian Conlon
0dd6f1025f Simplify 8080/Z80 XHTL implementation.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-08-28 23:18:08 +01:00
Adrian Conlon
dbe65aa6d7 Friendlier keyboard control for the LR35902
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-08-16 18:19:31 +01:00
Adrian Conlon
171d590b8b Correct spelling mistake in Fuse test event class.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-08-16 18:08:55 +01:00
Adrian Conlon
1b9f65904a LR35902: No need for an intermediate timer counter.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-08-16 18:07:24 +01:00
Adrian Conlon
7942ca7085 Merge branch 'master' of https://github.com/MoleskiCoder/EightBitNet 2019-08-16 18:05:16 +01:00
Adrian Conlon
c06f556669 Simplify SignExtend a little.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-08-15 22:45:56 +01:00
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
cd80935470 Finally, a working keyboard scanner for GbNet
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-08-03 17:47:06 +01:00
Adrian Conlon
db8ad5ad5b First stab at getting the GbNet keyboard working properly. Better, but not perfect...
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-08-03 11:34:12 +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