Commit Graph

97 Commits

Author SHA1 Message Date
Adrian Conlon
d21afdc1c7 Correct a couple of issues in the disassembler: All disassembler pause, correct PshX PulX decode.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-05-06 22:26:38 +01:00
Adrian Conlon
72932cf462 Correct a few more style/correctness issues.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-05-06 11:02:20 +01:00
Adrian Conlon
3d0e4250a0 Update nuget packages.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-05-06 10:03:11 +01:00
Adrian Conlon
efbd576624 Resurrect the concept of pin level matching. Allows for easier device wiring.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-05-06 09:58:50 +01:00
Adrian Conlon
0340142282 Correct a number of style issues across the EightBitNet solution.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-05-06 09:46:23 +01:00
Adrian Conlon
a8849ccf43 MC6809: Change the test board wiring a little to allow the MC6850 to work correctly!
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-05-05 13:34:31 +01:00
Adrian Conlon
0c69c5d8bb Whoops: missed additional MC6809 unit tests.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-05-05 10:14:29 +01:00
Adrian Conlon
3914a75102 MC6809: Caught out by references versus values again. Fixes JSR/RTS stack operations.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-05-05 10:14:03 +01:00
Adrian Conlon
34d10352b9 MC6809: Correct transfer and exchange instruction 8/16 bit specification error
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-05-04 17:35:58 +01:00
Adrian Conlon
430ecd8a7a MC6809: Correct a branching problem due to the use of reference PC object.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-05-04 17:17:54 +01:00
Adrian Conlon
f8757b3014 MC6809: Correct a couple of disassembler byte dumps.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-05-04 17:16:56 +01:00
Adrian Conlon
93122aaf1d MC6850: Tie chip stepping to external clock.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-05-04 15:21:40 +01:00
Adrian Conlon
662c457dd5 Make the MC6809 disassembler hex output lower case, for compatibility with unmanaged code.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-05-04 15:20:52 +01:00
Adrian Conlon
99a4cfaa88 Correct small warning in the EightBit library.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-05-04 15:19:55 +01:00
Adrian Conlon
48c2ffa99f Correct the MC6809 test code to properly initialise the MC6850
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-05-04 15:19:18 +01:00
Adrian Conlon
d2893e73ac MC6809: Fix flag updates during interrupt conditions
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-05-04 12:45:53 +01:00
Adrian Conlon
fc9263fb3a M6502: Avoid allocating "Tuples" when processing crossed page boundary conditions. (~20% speedup)
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-05-04 12:44:53 +01:00
Adrian Conlon
87be068e5a Whoops: The configuration debug flag must be able to be modified.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-05-01 22:50:06 +01:00
Adrian Conlon
956a4a1504 Whoops: Disassembler output condition was *exactly* reversed.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-05-01 22:49:28 +01:00
Adrian Conlon
a81b5173d8 Whoops: correct state output problem when Register16 objects are used.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-05-01 22:48:47 +01:00
Adrian Conlon
81cfadfe32 Correct byte array load issue: Ensure maximum number of bytes to read is set correctly.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-05-01 22:47:40 +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
23ba6d457e Add emulation of Grant Searle MC6809 SBC as a test container (untested!)
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-04-28 21:00:30 +01:00
Adrian Conlon
32731dc706 Add MC6809 disassembler (untested!)
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-04-28 20:59:31 +01:00
Adrian Conlon
ea93418289 Correct small bug in 16-bit register exchange.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2019-04-24 16:17:19 +01:00
Adrian Conlon
bc06975796 Tidy up some enumeration names in MC6850
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2019-04-24 16:16:47 +01:00
Adrian Conlon
15551adb68 Correct a bunch of MC6809/MC6850 style issues.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-04-24 00:57:53 +01:00
Adrian Conlon
1d976e811d Introduce a little consistency with regards to pin naming and usage.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2019-04-23 00:58:33 +01:00
Adrian Conlon
77a3171037 Add an MC6850 ACIA implementation (not tested, direct port of the C++ code)
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2019-04-23 00:47:27 +01:00
Adrian Conlon
6e781ced44 Some minor MC6809 tidying up
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2019-04-21 19:54:26 +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
0d73b588c3 Whoops: Forgot to commit the addition of the MC6809 unit test project to the EightBitNet solution.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2019-04-21 16:52:48 +01:00
Adrian Conlon
53a203b4a1 Correct a layout issue in the MC6809 implementation.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2019-04-21 16:51:53 +01:00
Adrian Conlon
4977df7330 Correct a couple of missed "readonly" specifications in the MC6809 unit tests.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2019-04-21 16:51:08 +01:00
Adrian Conlon
0ab5da10ef add unit tests (not complete) for 6809 processor. Fix matters arising.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2019-04-21 04:47:36 +01:00
Adrian Conlon
294c71c228 Get the MC6809 processor compiling. Still untested.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2019-04-10 23:15:26 +01:00
Adrian Conlon
6b33d2b5a5 Add a initial port of the MC6809 processor to the .Net collection
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2019-04-10 19:51:39 +01:00
Adrian Conlon
8b67a827dd Simplify the Intel 8080 disassembler a little.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-03-17 21:07:56 +00:00
Adrian Conlon
4a0d466171 Merge branch 'master' of https://github.com/MoleskiCoder/EightBitNet 2019-03-10 11:34:40 +00:00
Adrian Conlon
00fe5eb0b2 Overloaded MemoryMapping constructor, to make life a little easier...
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-03-10 11:34:29 +00:00
Adrian Conlon
5b9a92c76c Correct a couple of small style issues.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-03-07 01:21:23 +00:00
Adrian Conlon
e80963260d Try to avoid copying around Register16 references, if possible.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-03-07 01:21:00 +00:00
Adrian Conlon
56f46a8236 Speed up Z80 block operations by using values rather than reference objects, if possible.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-03-07 00:28:39 +00:00
Adrian Conlon
2652463106 Remove default debugging from the Intel8080 test.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-03-03 10:45:19 +00:00
Adrian Conlon
3d2b861b56 Tidy the processor object a little.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-03-03 10:44:52 +00:00
Adrian Conlon
22cb8b142b Tidy the path to nuget packages, such that they can be used as git submodules.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-03-03 10:35:18 +00:00
Adrian Conlon
4799e097de Update stylecop (plus add stylecop packages to the Intel 8080 set).
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-03-02 08:59:20 +00:00
Adrian Conlon
9a1d5cc762 First commit of the Intel8080 processor core. Passes diagnostics. Runs at ~50% speed of unmanaged code.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-02-28 00:06:35 +00:00
Adrian Conlon
12969dbef6 Use intermediate values for HL2, if possible.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-02-23 10:38:29 +00:00
Adrian Conlon
03caba99dc Follow most of the guideline suggestions from VS2019 preview. Pretty good suggestions!
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-02-22 22:33:51 +00:00