Commit Graph

40 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Adrian Conlon
3eb3975e37 Add an initial stab at LR35902 (aka GameBoy) support. Untested and no disassembler though...
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-07-14 17:46:57 +01:00