Commit Graph
179 Commits
Author SHA1 Message Date
Adrian Conlon 608fbb55fb Couple of small tidy ups 2026-05-18 20:46:42 +01:00
Adrian Conlon 98169fd6b8 Fix Z80 halt implementation 2026-05-18 20:06:57 +01:00
Adrian Conlon 741feb4342 Performance change: avoid dropping Bus.Data return values 2026-05-18 17:28:41 +01:00
Adrian Conlon bc39c230d1 Add an extra Z80 interrupt test 2026-05-17 21:31:01 +01:00
Adrian Conlon e9603b0e08 Add Z80 interrupt and pin tests 2026-05-17 20:48:22 +01:00
Adrian Conlon 1876a0d1f0 Fix IM2 again! 2026-05-17 19:24:55 +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 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 2bb004598e Simplify parity adjustment in block IO repeat code. 2026-05-03 11:37:02 +01:00
Adrian Conlon 88d4ab5126 Fix final 4 opcodes for 100% harte singlestep test compatibility. hurrah! 2026-05-03 11:27:14 +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 bb626b9e9e Simplify some memory update calls 2026-03-27 18:19:08 +00:00
Adrian Conlon 45a57eea86 Coupld of small readability changes 2026-03-21 09:49:09 +00:00
Adrian Conlon dcd98e5eb7 Simplify Z80 IM2 implementation 2026-03-20 09:55:40 +00:00
Adrian Conlon a8ef9aa7db simplification and unification of build stuff 2026-02-16 11:15:58 +00:00
Adrian Conlon e1bf58afbc More sharing of concepts between all Intel style processors 2026-01-03 23:17:30 +00:00
Adrian Conlon 1dfd9621a1 Share some more common code between Intel style procesors 2025-10-15 19:46:10 +01:00
Adrian Conlon ceacac4741 Fix up some oddities in the EightBit library 2025-10-06 13:44:31 +01:00
Adrian Conlon 3ca62c908c Simplify Z80 pn-handling a little 2025-09-11 08:34:24 +01:00
Adrian Conlon 2bd50e5cd2 Fix the single step checker a little 2025-08-25 23:57:52 +01:00
Adrian Conlon 17a2b99d6c Remove all cycle accurate processing 2025-08-25 23:56:27 +01:00
Adrian Conlon eb23fbe44c Correction: the least significant bit is *not* zeroed by an IM 2 interrupt 2025-08-12 17:19:55 +01:00
Adrian Conlon e96a51342a Remove unneeded "using" 2025-08-12 08:28:08 +01:00
Adrian Conlon d4775cb266 Correct assertion failure during refresh cycle 2025-08-10 12:52:48 +01:00
Adrian Conlon 558da38f12 Note commonality between Intel-style processors 2025-08-10 12:43:34 +01:00
Adrian Conlon 2e1573b016 Add support for sub-M-cycle accuracy. Not sure how useful this is! 2025-08-10 11:32:53 +01:00
Adrian Conlon 072e38f6ee Add a couple of debug assertions 2025-08-09 15:10:27 +01:00
Adrian Conlon b40224b5af Correct IM 2 indirection 2025-08-09 14:52:41 +01:00
Adrian Conlon f1febd480e Sort out interrupt timing (I think) 2025-08-09 13:29:57 +01:00
Adrian Conlon e8a1e7dc6e Sort out Z80/Spectrum pin handling (again!) 2025-08-08 21:47:48 +01:00
Adrian Conlon 199d0a77b1 Disable interrups as the first act of INT handling 2025-08-08 00:03:21 +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 350483fcec Catch another couple of Z80 timing issues 2025-08-05 00:14:05 +01:00
Adrian Conlon 52ea4b3acd Last trivial Z80 update 2025-08-04 18:19: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 319190b7a5 More Z80 cycle simplifications and fixes 2025-08-03 21:55:24 +01:00
Adrian Conlon 6a32d0269d Fix the Z80 checker, so that all cycle actions are checked. 2025-08-03 21:54:05 +01:00
Adrian Conlon 3ccd9c45ca Adjusted for the latest single-step Z80 tests. Simplify memory update access. 2025-08-02 17:49:18 +01:00
Adrian Conlon bfc2355337 Correct RRD/RLD timing and XHTL ordering (according to latest Z80 single step tests) 2025-08-02 12:26:53 +01:00
Adrian Conlon bb63211f17 Fix event names 2025-08-01 22:57:38 +01:00
Adrian Conlon a252a74d2d Tidy some inconsistencies in z80 emulation 2025-08-01 14:59:40 +01:00
Adrian Conlon 2f338c6c46 Tidy register increment/decrement a little. 2025-07-25 16:32:30 +01:00
Adrian Conlon 3bbf300e05 Simplify switching processor pin handling 2025-06-22 21:07:02 +01:00
Adrian Conlon e7b025e66e Some speed-up refactoring of the Z80 core 2025-05-12 10:17:39 +01:00
Adrian Conlon 36e983526e Add increment/decrement operations to the Register16 class 2025-05-11 19:24:40 +01:00