Commit Graph

999 Commits

Author SHA1 Message Date
Adrian Conlon ae4726b18f Fix NES CPU, based on 6502 changes 2024-03-23 10:13:13 +00:00
Adrian Conlon b812554cb6 add/sub simplifications 2024-03-22 15:57:51 +00:00
Adrian Conlon fc30360165 Minor interrupt refactoring 2024-03-21 09:20:36 +00:00
Adrian Conlon 0a6ab11fbb Simplify stack actions 2024-03-20 10:29:20 +00:00
Adrian Conlon ad1ab61f74 Small 6502 consolidation 2024-03-18 21:38:51 +00:00
Adrian Conlon c397b4c41b Swap fixed/unfixed page usage 2024-03-18 21:04:50 +00:00
Adrian Conlon 8b6c4a205e Lot's of small niggles corrected across the EightBit libraries 2024-03-18 13:03:41 +00:00
Adrian Conlon 739ce39360 Remove unused variable 2024-03-16 14:23:50 +00:00
Adrian Conlon 1c2b116a42 Start using "base" as means to access base-class. 2024-03-16 14:23:05 +00:00
Adrian Conlon f19e67875e More addressing / read tidying 2024-03-16 14:19:28 +00:00
Adrian Conlon 81aecef48b Some performance updates for the M6502 test code. 2024-03-15 13:16:25 +00:00
Adrian Conlon 3ca8fc4d99 Undocumented code simplification 2024-03-15 12:34:31 +00:00
Adrian Conlon bc71a4f3a6 read/modify/write tidy 2024-03-15 07:01:37 +00:00
Adrian Conlon a81dec6c6e More addressing clarifications 2024-03-15 00:36:57 +00:00
Adrian Conlon 2ef9437ded intermediate step 2024-03-14 23:09:55 +00:00
Adrian Conlon b22d7e47e5 Addressing mode simplifications 2024-03-14 14:54:52 +00:00
Adrian Conlon 33a0889fe1 Correct build issues with latest thirdparty 2024-03-11 14:45:29 +00:00
Adrian Conlon a25528e11a More M6502 code consolodation etc. 2024-03-10 14:55:05 +00:00
Adrian Conlon c92c8d768c string_view speed-ups in the JSON related code 2024-03-08 19:17:02 +00:00
Adrian Conlon ef0f8a5654 Speedup by using string_view in memory read/write events 2024-03-08 17:51:15 +00:00
Adrian Conlon 6599a4ba47 Whoops: missed update to Processor::get/setWordPaged 2024-03-07 09:14:22 +00:00
Adrian Conlon e7c369cf80 Zero page simplification 2024-03-07 08:32:05 +00:00
Adrian Conlon b582412231 RMW simplification 2024-03-07 08:31:28 +00:00
Adrian Conlon 9a0cf0cca8 Tidy extra space 2024-03-06 22:38:26 +00:00
Adrian Conlon 7bfadb05b4 More address mode simplifications 2024-03-06 21:30:27 +00:00
Adrian Conlon ee9d2bd02b More address mode clarification/simplification 2024-03-06 18:36:09 +00:00
Adrian Conlon 5cf821acb6 More address simplifications 2024-03-05 10:29:01 +00:00
Adrian Conlon ff01ed5f6f A few small simplifications 2024-03-05 08:56:15 +00:00
Adrian Conlon 8369e0d976 Address calculations are a little easier, if they're always 16-bit 2024-03-04 17:07:22 +00:00
Adrian Conlon 92d677f9d0 Refactor M6502 address mode related code. 2024-03-04 16:58:25 +00:00
Adrian Conlon 2e29233b3b Tidy up of the M6502 page fixup code 2024-03-01 23:18:24 +00:00
Adrian Conlon f3c694303d Low level processor simplifications. 2024-03-01 20:06:39 +00:00
Adrian Conlon 4e536ee7ed Try and sort out problematic "noexcept" specifications (mainly due to events) 2024-01-13 10:24:21 +00:00
Adrian Conlon 63e958e069 Make disassembly available from the checking code. 2024-01-11 09:17:59 +00:00
Adrian Conlon 6d7fc70810 Signals can throw exceptions. 2024-01-11 09:16:40 +00:00
Adrian Conlon ad45dadb0b Sort out a couple of irritating warnings. 2024-01-11 09:15:52 +00:00
Adrian Conlon 81f5efb49a Tidy JSON parsing in HarteTests 2024-01-10 14:41:37 +00:00
Adrian Conlon 0a9a1e5d4c Complete all the undocumente M6502 features. Hurrah! 2024-01-07 16:20:58 +00:00
Adrian Conlon 72be3238f2 Undocumented M6502 instruction implemented 2024-01-07 15:52:16 +00:00
Adrian Conlon 86ef340650 Tidy arithmetic overflow handling in M6502 core 2024-01-07 14:35:12 +00:00
Adrian Conlon 4f4bc5355d Simplification of M6502 flag set/reset code 2024-01-07 14:04:41 +00:00
Adrian Conlon 7eca073a6e Make explicit swallow operations. 2024-01-07 12:15:11 +00:00
Adrian Conlon 22f337569d Looks like the stray tick in the 6502 step method wasn't stray after all! 2024-01-07 11:37:28 +00:00
Adrian Conlon 70c316fd4f Add support for the M6502 undocumented instruction *ANE 2024-01-06 23:10:53 +00:00
Adrian Conlon 3ebc321c59 Add an implementation of the *JAM instruction that passes HarteTest 2024-01-06 22:44:59 +00:00
Adrian Conlon 617abbb450 Couple of small C++ correctness changes 2024-01-06 22:05:29 +00:00
Adrian Conlon 69a845e2f4 How did that "secret" tick in the M6502 implementation get there??? 2024-01-06 20:53:50 +00:00
Adrian Conlon 9334f6ee93 Fix the ATX implementation in the M6502 core 2024-01-06 13:10:51 +00:00
Adrian Conlon bd289ed8fb Add a working M6502 ARR implementation 2024-01-06 12:19:02 +00:00
Adrian Conlon bc37fd4e30 Better information in the event of failing tests 2024-01-06 12:17:45 +00:00