Commit Graph

21 Commits

Author SHA1 Message Date
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
b61d884679 Correct unit test project configuration (due to movement of project...)
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-02-07 00:34:21 +00:00
Adrian Conlon
ffa46188e3 Merge branch 'master' of https://github.com/MoleskiCoder/EightBitNet 2019-02-07 00:08:35 +00:00
Adrian Conlon
6d15b91054 Couple of small increment/decrement changes
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-02-07 00:08:23 +00:00
Adrian Conlon
cdfec1ac7e
Update README.md 2019-02-07 00:01:54 +00:00
Adrian Conlon
e66525e45f More analysis suggestions
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-02-06 23:50:25 +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
d6d8c4e13c Move the EightBit (.Net) test projects to better locations.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-02-06 22:58:26 +00:00
Adrian Conlon
73863118d6 Start renaming the EightBit projects to be a little more meaningful.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-02-06 22:49:26 +00:00
Adrian Conlon
426670364c Correct layout issues in the 6502 implementation.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-02-05 00:02:22 +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
30aa1b70bf Tidy up some layout issues.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-02-03 21:13:06 +00:00
Adrian Conlon
c4e613065b A few minor consistency corrections.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-02-03 20:49:07 +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
0ca57d8641 Correct some stuff spotted by the .net analysis tools (where I agree with them!)
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-02-03 10:23:41 +00:00
Adrian Conlon
0564ee3d86 Correct a couple of build issues (C# 7.2 required)
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-02-03 09:46:32 +00:00
Adrian Conlon
d58b635626 Sort out: power, initialisation and relative branch offset calculation issues arising.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-02-03 09:32:59 +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
Adrian Conlon
d693218618
Initial commit 2019-02-02 15:09:24 +00:00