Commit Graph
149 Commits
Author SHA1 Message Date
Adrian Conlon 608fbb55fb Couple of small tidy ups 2026-05-18 20:46:42 +01:00
Adrian Conlon dfd4d1928f Make "Pop" more like "Read". i.e. don't return a result, just use the value placed on the "bus" 2026-05-18 18:24:32 +01:00
Adrian Conlon 741feb4342 Performance change: avoid dropping Bus.Data return values 2026-05-18 17:28:41 +01:00
Adrian Conlon b8e95f52b3 Inline clock ticking mechanism 2026-05-17 10:27:34 +01:00
Adrian Conlon 072a8dd984 Blargg tests run again. Corrected speed issue of MemoryMappings being created too often and bus data being trashed by a write to ROM. 2026-05-17 09:50:12 +01:00
Adrian Conlon 9a011b3c57 Start implementing HD6309. Introduction of 32-bit operations has forced me to rename some of "Word" methods to better indicate size 2026-05-16 21:10:23 +01:00
Adrian Conlon ab835297fd Couple of small tidy ups 2026-05-16 13:50:14 +01:00
Adrian Conlon e0fffdaa5e Some performance improvements. About 50Mhz for Z80 emulator. 275Mhz to 325Mhz. Interesting. 2026-05-16 11:09:03 +01:00
Adrian Conlon ac200d7f76 Simplify ignored return value handling 2026-05-12 22:21:13 +01:00
Adrian Conlon 69a0865ee9 Start work towards WDC 65C02 implementation 2026-05-02 17:02:36 +01:00
Adrian Conlon de12029c13 Speedup Z80 by encouraging runtime inlining of code 2026-04-20 18:56:05 +01:00
Adrian Conlon 699791f7a4 Simplify intermediate 16-bit register usage 2026-04-16 13:47:24 +01:00
Adrian Conlon 53e33b9eef Some simplifications 2026-04-07 12:02:31 +01:00
Adrian Conlon 47baff3740 Correct some 8080 timing mistakes 2026-03-27 18:16:09 +00:00
Adrian Conlon c587da19c4 Interesting. At best agressive inlining had zero effect and may have slowed things down slightly 2026-03-27 18:15:02 +00:00
Adrian Conlon 290f7583c5 Correct region mis-label 2026-03-27 18:14:24 +00:00
Adrian Conlon a8ef9aa7db simplification and unification of build stuff 2026-02-16 11:15:58 +00:00
Adrian Conlon 810d05a50e tidy the intel op-code decoder a little 2025-11-27 16:49:44 +00:00
Adrian Conlon 1dfd9621a1 Share some more common code between Intel style procesors 2025-10-15 19:46:10 +01:00
Adrian Conlon 33fce45cc8 Some performance updates 2025-10-13 17:36:32 +01:00
Adrian Conlon ceacac4741 Fix up some oddities in the EightBit library 2025-10-06 13:44:31 +01:00
Adrian Conlon 1779d1dc40 Intel processors all seem to act slightly differently with regards to HALT 2025-08-17 12:03:51 +01:00
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