Commit Graph

57 Commits

Author SHA1 Message Date
Adrian Conlon
0d695a6d7a Tidy up test harnesses 2024-10-10 11:27:31 +01:00
Adrian Conlon
c8ac0f20dc Step can be split a little to make it easier to override. 2024-07-24 17:21:49 +01:00
Adrian Conlon
276b53eda6 Update test framework 2024-06-30 15:07:21 +01:00
Adrian Conlon
d8fad7b988 Try to minimise use of "Word" from Register16 2024-06-30 12:30:07 +01:00
Adrian Conlon
a64f370d7c Compilation fixes 2024-05-29 10:56:16 +01:00
Adrian Conlon
291a212504 Ugrade to .NET 8.0: First pass 2024-05-18 21:57:33 +01:00
Adrian Conlon
47ecdad3e8 Work towards accurate bus/memory/io timings. Especially Z80 m-cycle timing.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2020-07-05 00:09:51 +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
db0e8c613f Update all analysis (and other!) nuget packages, ensure builds across all projects.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2020-06-21 18:35:10 +01:00
Adrian Conlon
73d08fe7a7 Upgrade .net version and analysis packages en mass.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-12-04 01:03:17 +00:00
Adrian Conlon
0f2a69509b Sync (as far as possible) with unmanaged C++ emulators.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-10-31 23:01:47 +00:00
Adrian Conlon
f01e3e0430 Tighten up the sequence associated with changing pin levels + fix persistent HALT/PC bug
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-09-06 22:50:21 +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
853b6e2b08 Correct some straightforward analysis issues.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-07-01 00:15:25 +01:00
Adrian Conlon
69122eb233 Start adding some LDx tests, mainly to mop up any missing indexed addressing modes.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-06-21 09:07:58 +01:00
Adrian Conlon
78f2151ca7 Add ANDCC test to MC6809 core
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-06-10 08:52:32 +01:00
Adrian Conlon
e0188e44cd Tidy a couple of small mistakes in MC6809 test code
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-06-10 08:51:35 +01:00
Adrian Conlon
6697974711 DAA tests added to MC6809 core
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-06-10 08:50:24 +01:00
Adrian Conlon
1eb5caed3c Add MUL tests to the MC6809 core.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-06-09 17:11:49 +01:00
Adrian Conlon
c11143f22d Add more indexed addressing mode tests to the MC6809 core.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-06-09 10:37:46 +01:00
Adrian Conlon
ef148528b1 Correct a couple of (probably benign) mistakes in the MC6809 core
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-06-09 10:36:41 +01:00
Adrian Conlon
75f5d17e72 Correct some disassembler addressing mode mistakes.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-06-08 23:32:45 +01:00
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