Commit Graph

36 Commits

Author SHA1 Message Date
898a2bc7ea Try to bring the Z80 fusetest back to life 2025-05-03 02:09:31 +01:00
b461eb97d6 Prefer to use events directly, rather than through "On" methods 2025-03-29 11:31:47 +00:00
3d6b549c76 Turns out using lambdas to control pins is lovely and correct, but terribly slow. Back to a more traditional method. 2025-03-24 20:18:04 +00:00
8a68fc5856 Library fixes 2025-03-18 21:32:44 +00:00
691b800d1a More .net 9 analysis changes 2024-10-12 12:24:42 +01:00
9aa25fed7e Apply all analysis suggestions 2024-10-12 09:14:29 +01:00
f0815d4150 Code analysis corrections. 2024-10-09 22:15:25 +01:00
d5c0dcc175 Correct style issues 2024-10-09 20:05:37 +01:00
c8ac0f20dc Step can be split a little to make it easier to override. 2024-07-24 17:21:49 +01:00
0c8ed57b0d Add easy to use Register16 assignment methods 2024-07-01 23:27:35 +01:00
1a9b6d3db6 More "Word" optimisations 2024-06-30 14:36:32 +01:00
d8fad7b988 Try to minimise use of "Word" from Register16 2024-06-30 12:30:07 +01:00
325bee8539 Couple of small processor improvements 2024-06-29 22:50:52 +01:00
6e46c8e47f Rationalise use of "intermediate" Register16 2024-06-29 13:38:55 +01:00
9e9d86423d get the C# code up to date with the C++ code. Much better support for undocumented modes/instructions etc. 2024-05-28 13:59:37 +01:00
e0235f396e IDE suggestions 2024-05-19 09:07:20 +01:00
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
c15ec96862 Make the Z80 implementation M-Cycle accurate. I think!
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-11-30 14:06:38 +00:00
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
c06f556669 Simplify SignExtend a little.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-08-15 22:45:56 +01:00
32731dc706 Add MC6809 disassembler (untested!)
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-04-28 20:59:31 +01:00
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
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
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
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
3d2b861b56 Tidy the processor object a little.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-03-03 10:44:52 +00:00
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
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
c6a7003b8d Help out callers using Register16 arguments a little: Don't always require the ".Word" property to be passed.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-02-15 00:26:01 +00:00
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
0e8a530573 More analysis suggested tidy ups.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-02-06 23:41:56 +00:00
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
c4e613065b A few minor consistency corrections.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-02-03 20:49:07 +00:00
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
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
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