Commit Graph

17 Commits

Author SHA1 Message Date
Adrian Conlon
e0235f396e IDE suggestions 2024-05-19 09:07:20 +01:00
Adrian Conlon
cd4af67177 Work my way through a bunch of the analysis suggestions.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2020-06-22 00:00:15 +01:00
Adrian Conlon
2becf0e220 Apply any analysis suggestions.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-12-04 23:23:48 +00: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
21472154e0 Further refactoring of the hex loader class to be a little easier to read.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-06-29 11:50:27 +01:00
Adrian Conlon
7b5af28f5d Refactor the Intel hex file parser. The new parser is isolated and memory efficient.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-06-29 11:35:08 +01:00
Adrian Conlon
a78e6cb23c Poke methods shouldn't be returning values.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-05-15 22:48:34 +01:00
Adrian Conlon
835703080d Correct Intel hex file loader issue: Incorrect use of "List<>"
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-05-01 22:46:37 +01:00
Adrian Conlon
2a4a067fe4 Add an (untested) implementation of an Intel hex file parser to the EightBit project. Ported directly from the C++ implementation.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2019-04-21 16:53:55 +01:00
Adrian Conlon
27e1c5c9f8 Make Register16 a class, rather than struct. Tricky, but a bit faster than before.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-02-21 19:58:49 +00:00
Adrian Conlon
cf4e633034 Implement some suggestions from the code analysis.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-02-14 23:51:32 +00:00
Adrian Conlon
63db46a7bc Resurrect the Register16 class. This (or something *very* much like it) is going to be necessary to add a Z80 emulator (reference access to the high/low parts of 16-bit registers).
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-02-14 23:01:31 +00:00
Adrian Conlon
0e8a530573 More analysis suggested tidy ups.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-02-06 23:41:56 +00:00
Adrian Conlon
224000c4c7 Not sure if this was a really good idea, but integrated StyleCop rules into the builds. Corrected all except documentation problems.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-02-04 23:52:21 +00:00
Adrian Conlon
d4a35c402c A few small consistency updates:
1) Drop Get/SetPagedByte in favour of normal BusRead/Write
2) Tidy some "using" statements
3) More "expression body" usage, if possible
4) Use field initialisation, rather than construction, if possible
5) Correct IntelProcessor register set/get methods (there were remnants of "copy pasta" code)

Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-02-03 20:29:52 +00:00
Adrian Conlon
3c5e292eae Drop Register16 support (replaced with explicit ushort), add some unit tests (Chip class only at present)
Now runs some instructions before going wrong...

Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-02-03 00:42:55 +00:00
Adrian Conlon
9a06b1743f Port of EightBit library to .Net (unworking!)
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-02-02 15:12:51 +00:00