Commit Graph

127 Commits

Author SHA1 Message Date
Adrian Conlon
a4e704fef4 I give up. This is probably more compatible with Intel derived processors 2025-08-13 19:03:25 +01:00
Adrian Conlon
558da38f12 Note commonality between Intel-style processors 2025-08-10 12:43:34 +01:00
Adrian Conlon
e8a1e7dc6e Sort out Z80/Spectrum pin handling (again!) 2025-08-08 21:47:48 +01:00
Adrian Conlon
41be64ad99 Simplfy interrupts on Z80 2025-08-07 19:05:41 +01:00
Adrian Conlon
d332c57e47 Simplify Z80 port handling 2025-08-07 09:56:25 +01:00
Adrian Conlon
ed6c7968bd Remove effectively impossible to use methods 2025-08-07 09:42:23 +01:00
Adrian Conlon
796042acdf Simplfy intel processor interations 2025-08-04 19:47:40 +01:00
Adrian Conlon
9d208de9bb Explicitly state order of operations in code, rather than relying upon RAII etc. (for speed. Much faster) 2025-08-04 15:47:26 +01:00
Adrian Conlon
60ef099208 Tidy some inconsistencies in various emulation 2025-08-01 15:01:20 +01:00
Adrian Conlon
2f338c6c46 Tidy register increment/decrement a little. 2025-07-25 16:32:30 +01:00
Adrian Conlon
c271b28495 Simplify bus addressing 2025-07-05 09:46:59 +01:00
Adrian Conlon
3bbf300e05 Simplify switching processor pin handling 2025-06-22 21:07:02 +01:00
Adrian Conlon
caca3467d9 More unit test stuff. New tests generated by copilot 2025-05-13 09:52:12 +01:00
Adrian Conlon
8331b4818e Couple of small Register16 adjustments 2025-05-11 21:30:15 +01:00
Adrian Conlon
36e983526e Add increment/decrement operations to the Register16 class 2025-05-11 19:24:40 +01:00
Adrian Conlon
d92926c15b Quite a fun low level rearrangement of the 16-bit register class. 2025-05-08 19:46:08 +01:00
Adrian Conlon
9e0006187e Port access in Intel processors is 16 rather than 8 bit addressed 2025-05-08 13:00:30 +01:00
Adrian Conlon
95783d37aa Reset/power refactoring for z80 2025-05-06 15:37:24 +01:00
Adrian Conlon
d58095a9d0 Power-on and reset consistency fixes 2025-05-06 11:52:33 +01:00
Adrian Conlon
93e09c192f Share instruction fetch and halt implementations 2025-05-04 11:41:28 +01:00
Adrian Conlon
2336222c97 Push more core processor handling into base classes. 2025-05-04 10:53:23 +01:00
Adrian Conlon
e4494e943a PC only proceeds when HALT pin is raised 2025-05-04 00:36:01 +01:00
Adrian Conlon
cbe871d365 Isolate program counter increment/decrement (to be used for HALT processing) 2025-05-03 23:25:06 +01:00
Adrian Conlon
080f203a55 Unify Intel style JR CC code and fix SM83 timing issues. 2025-05-03 12:09:34 +01:00
Adrian Conlon
898a2bc7ea Try to bring the Z80 fusetest back to life 2025-05-03 02:09:31 +01:00
Adrian Conlon
e1aa220409 Further Z80 timing fixes: 290 failures 2025-05-03 00:09:19 +01:00
Adrian Conlon
07330cc9c8 Move a routine into a slightly better place 2025-05-02 10:52:06 +01:00
Adrian Conlon
dd1d141f15 Simplify conditional flag handling in intel processors 2025-04-29 12:27:39 +01:00
Adrian Conlon
820fb707b9 Update to latest EightBit library 2025-03-29 14:38:36 +00:00
Adrian Conlon
1b1b92ac2c More event handling simplification 2025-03-29 13:18:54 +00:00
Adrian Conlon
b461eb97d6 Prefer to use events directly, rather than through "On" methods 2025-03-29 11:31:47 +00:00
Adrian Conlon
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
Adrian Conlon
8a68fc5856 Library fixes 2025-03-18 21:32:44 +00:00
Adrian Conlon
fa13852e53 Sort out GB timing (enough to pass Blargg, anyway) 2024-10-12 14:38:45 +01:00
Adrian Conlon
691b800d1a More .net 9 analysis changes 2024-10-12 12:24:42 +01:00
Adrian Conlon
3b80ee7b37 Shared test harness 2024-10-12 11:48:54 +01:00
Adrian Conlon
9aa25fed7e Apply all analysis suggestions 2024-10-12 09:14:29 +01:00
Adrian Conlon
3d9b0aac56 Update to .Net 9 2024-10-12 08:49:47 +01:00
Adrian Conlon
4190943998 Update code analysis/style settings 2024-10-09 22:16:40 +01:00
Adrian Conlon
f0815d4150 Code analysis corrections. 2024-10-09 22:15:25 +01:00
Adrian Conlon
647be6f224 More style changes 2024-10-09 21:16:55 +01:00
Adrian Conlon
d5c0dcc175 Correct style issues 2024-10-09 20:05:37 +01:00
Adrian Conlon
297f3b8dff Make the intel hex file format parser easier to use. 2024-10-07 09:40:26 +01:00
Adrian Conlon
fa353d062c Exception simplification 2024-09-27 12:43:38 +01:00
Adrian Conlon
489b7b21e6 Clarifications of EightBit library 2024-09-18 11:23:18 +01:00
Adrian Conlon
90c887d169 Use intrinsics, if possible 2024-08-05 20:32:34 +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
ee584867c2 Modernise some more c# code 2024-07-18 11:38:02 +01:00
Adrian Conlon
d80f340081 Simplfy access to Z80 registers 2024-07-04 08:47:53 +01:00
Adrian Conlon
0c8ed57b0d Add easy to use Register16 assignment methods 2024-07-01 23:27:35 +01:00