116 Commits

Author SHA1 Message Date
3bbf300e05 Simplify switching processor pin handling 2025-06-22 21:07:02 +01:00
caca3467d9 More unit test stuff. New tests generated by copilot 2025-05-13 09:52:12 +01:00
8331b4818e Couple of small Register16 adjustments 2025-05-11 21:30:15 +01:00
36e983526e Add increment/decrement operations to the Register16 class 2025-05-11 19:24:40 +01:00
d92926c15b Quite a fun low level rearrangement of the 16-bit register class. 2025-05-08 19:46:08 +01:00
9e0006187e Port access in Intel processors is 16 rather than 8 bit addressed 2025-05-08 13:00:30 +01:00
95783d37aa Reset/power refactoring for z80 2025-05-06 15:37:24 +01:00
d58095a9d0 Power-on and reset consistency fixes 2025-05-06 11:52:33 +01:00
93e09c192f Share instruction fetch and halt implementations 2025-05-04 11:41:28 +01:00
2336222c97 Push more core processor handling into base classes. 2025-05-04 10:53:23 +01:00
e4494e943a PC only proceeds when HALT pin is raised 2025-05-04 00:36:01 +01:00
cbe871d365 Isolate program counter increment/decrement (to be used for HALT processing) 2025-05-03 23:25:06 +01:00
080f203a55 Unify Intel style JR CC code and fix SM83 timing issues. 2025-05-03 12:09:34 +01:00
898a2bc7ea Try to bring the Z80 fusetest back to life 2025-05-03 02:09:31 +01:00
e1aa220409 Further Z80 timing fixes: 290 failures 2025-05-03 00:09:19 +01:00
07330cc9c8 Move a routine into a slightly better place 2025-05-02 10:52:06 +01:00
dd1d141f15 Simplify conditional flag handling in intel processors 2025-04-29 12:27:39 +01:00
820fb707b9 Update to latest EightBit library 2025-03-29 14:38:36 +00:00
1b1b92ac2c More event handling simplification 2025-03-29 13:18:54 +00: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
fa13852e53 Sort out GB timing (enough to pass Blargg, anyway) 2024-10-12 14:38:45 +01:00
691b800d1a More .net 9 analysis changes 2024-10-12 12:24:42 +01:00
3b80ee7b37 Shared test harness 2024-10-12 11:48:54 +01:00
9aa25fed7e Apply all analysis suggestions 2024-10-12 09:14:29 +01:00
3d9b0aac56 Update to .Net 9 2024-10-12 08:49:47 +01:00
4190943998 Update code analysis/style settings 2024-10-09 22:16:40 +01:00
f0815d4150 Code analysis corrections. 2024-10-09 22:15:25 +01:00
647be6f224 More style changes 2024-10-09 21:16:55 +01:00
d5c0dcc175 Correct style issues 2024-10-09 20:05:37 +01:00
297f3b8dff Make the intel hex file format parser easier to use. 2024-10-07 09:40:26 +01:00
fa353d062c Exception simplification 2024-09-27 12:43:38 +01:00
489b7b21e6 Clarifications of EightBit library 2024-09-18 11:23:18 +01:00
90c887d169 Use intrinsics, if possible 2024-08-05 20:32:34 +01:00
c8ac0f20dc Step can be split a little to make it easier to override. 2024-07-24 17:21:49 +01:00
ee584867c2 Modernise some more c# code 2024-07-18 11:38:02 +01:00
d80f340081 Simplfy access to Z80 registers 2024-07-04 08:47:53 +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
30f8b8a600 Some code simplifications 2024-06-12 16:36:54 +01:00
098c888dae Correct ROM load limit 2024-06-01 22:11:13 +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
291a212504 Ugrade to .NET 8.0: First pass 2024-05-18 21:57:33 +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
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