Commit Graph

35 Commits

Author SHA1 Message Date
Adrian Conlon
310415512f Add EOR and SEX unit tests
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-06-08 23:31:55 +01:00
Adrian Conlon
95b6657576 Remove extra step instruction in BleTests
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-06-08 23:31:03 +01:00
Adrian Conlon
ddc1adc90e A bunch more MC6809 tests added. *Still* not found the issue with floating point numbers!
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-06-03 00:55:01 +01:00
Adrian Conlon
8b3c0801ce Add tests for EXG, TFR and NEG. Also added some undocumented behaviour to EXG and TFR.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-06-02 19:04:27 +01:00
Adrian Conlon
133fc83e89 Tidy the MC6850 a little, mainly to show that the step method is only called via the clock tick.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-05-27 10:53:44 +01:00
Adrian Conlon
c4d52512b2 Add MC6809 profiler (mainly so I can pin down problem printing numbers)
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-05-07 00:46:30 +01:00
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
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
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
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
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
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
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