Commit Graph

947 Commits

Author SHA1 Message Date
Adrian Conlon
c15f7f836e Start testing undocumented instructions 2024-01-05 12:58:32 +00:00
Adrian Conlon
5d24a136a2 Correct loads of undocumented M6502 instructions 2024-01-05 12:52:27 +00:00
Adrian Conlon
72e548ae13 Use simpler simdjson access methods 2024-01-01 23:25:32 +00:00
Adrian Conlon
d0f445b9f9 Update simdjson for M6502 tests 2024-01-01 22:35:38 +00:00
Adrian Conlon
93088b355c M6502: Unify accumulator write page boundary fixup code 2023-12-31 14:58:15 +00:00
Adrian Conlon
e4fbeebfa7 Correct problem in page boundary condition for M6502. 2023-12-31 14:32:16 +00:00
Adrian Conlon
84a2d0f952 Whoops: failed to check cycle problems in M6502 tests 2023-12-31 14:21:17 +00:00
Adrian Conlon
42afeb342f Merge branch 'master' of https://github.com/MoleskiCoder/EightBit 2023-05-17 12:48:20 +01:00
Adrian Conlon
fd36555585 Couple of small reference changes 2023-05-17 12:47:57 +01:00
Adrian Conlon
14af272d75 Update simdjson 2023-04-01 07:52:02 +01:00
Adrian Conlon
b883cfb673 Remove ProcessorTests (temporarily!)
Signed-off-by: Adrian Conlon <98398945+AdrianConlon@users.noreply.github.com>
2022-07-15 16:17:10 +01:00
Adrian Conlon
dc7b47a221 Update catch2 library
Signed-off-by: Adrian Conlon <98398945+AdrianConlon@users.noreply.github.com>
2022-07-15 16:11:23 +01:00
Adrian Conlon
0ca0e1da36 Optimisation: the NOP is meaningless
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2022-07-13 07:44:47 +01:00
Adrian Conlon
9e2c3e32b1 Fully switch to C++20 2022-07-01 09:30:38 +01:00
Adrian Conlon
4c65c22a85 Use latest SIMDJson library 2022-07-01 09:26:46 +01:00
Adrian Conlon
dcac185049 Reuse device match 2022-07-01 09:11:28 +01:00
Adrian Conlon
9a5f9ccd1a Tidy up some exception specifications. 2022-03-26 16:06:29 +00:00
Adrian Conlon
1a5df4c8a7 More "noexcept" specifiers added to M6502 class 2022-01-24 23:00:25 +00:00
Adrian Conlon
1796d62517 std::string_view rather than std::string reads a bit better for this use. 2022-01-21 22:49:22 +00:00
Adrian Conlon
8e0092ec9d Tidy up noexcept specification 2022-01-17 19:10:15 +00:00
Adrian Conlon
83b7efdd03 Use iterator, rather than index access for JSON data, if possible. Bit of a speed up! 2022-01-06 09:50:58 +00:00
Adrian Conlon
70a785b5c2 Try to remove some casting warnings by redefining ROM size types. 2022-01-03 12:29:32 +00:00
Adrian Conlon
53ef92dbc4 So I can compare implementations, add a non-coroutine variant of the HarteTest suite. 2022-01-03 00:50:41 +00:00
Adrian Conlon
3ca84b516a Switch to latest stable release of catch2 (2.13.7)
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2022-01-03 00:41:42 +00:00
Adrian Conlon
c5ea0c2c21 Refactor co_generator_t into something a little more comprehensible to me. 2022-01-02 17:32:05 +00:00
Adrian Conlon
42e72ce077 Spaceship operator didn't work as a I wanted it, so I've gone old school again until I can work out why the "==" operator couldn't be found. 2022-01-02 12:29:39 +00:00
Adrian Conlon
bde2900017 Add missing register16_t operator (>) 2022-01-01 23:01:59 +00:00
Adrian Conlon
4efa66c44e Remind MSVC++ of its responsibilities as to properly define "__cplusplus" 2022-01-01 15:13:16 +00:00
Adrian Conlon
42e45ccdef Upgrade to boost 1.78, due to coroutine2 incompatibilities. 2022-01-01 13:30:41 +00:00
Adrian Conlon
bb75f98d5d Experimentation with C++17 compatibilty. Mainly an exercise in rewrting coroutine code in boost::coroutine2. Interesting! 2022-01-01 13:20:34 +00:00
Adrian Conlon
fbdf2fcf02 Add some more Z80 documentation 2022-01-01 13:06:45 +00:00
Adrian Conlon
6b6ce71140 Remove unused includes 2022-01-01 11:13:28 +00:00
Adrian Conlon
d570be3f0e Prefer accessor methods, if available. 2022-01-01 11:12:51 +00:00
Adrian Conlon
91df9ea48b Make Z80 profile output conditional on the availability of data. 2021-12-30 12:32:34 +00:00
Adrian Conlon
3b01c639fd Some performance improvements for the Z80 disassembler 2021-12-30 00:56:24 +00:00
Adrian Conlon
cbcb2c5de1 Use the "<=>" operator in the register16_t class to give comparison operators for free. 2021-12-29 11:40:37 +00:00
Adrian Conlon
6346ea9278 Switch to C++20 everywhere 2021-12-29 11:39:41 +00:00
Adrian Conlon
1f5dc54c40 Copy constructor and equality operations added. 2021-12-27 22:07:30 +00:00
Adrian Conlon
945fcefb36 Start adding comparison operations to EightBit classes 2021-12-27 14:24:38 +00:00
Adrian Conlon
af7679505c Add a span compatible ROM loader 2021-12-26 22:01:12 +00:00
Adrian Conlon
4f4d234ed5 Correct some missed 6809 fixes 2021-12-26 21:59:52 +00:00
Adrian Conlon
2b8513fd37 EightBit and Z80 projects move to C++20 2021-12-17 21:09:13 +00:00
Adrian Conlon
fa9c4ea3b3 Catch some missing [[nodiscard]] attributes. 2021-12-17 21:08:10 +00:00
Adrian Conlon
7af8a19e2f Coroutine generator becomes a part of the core EightBit library. 2021-12-17 09:19:16 +00:00
Adrian Conlon
f837836072 Merge branch 'master' of https://github.com/MoleskiCoder/EightBit 2021-12-08 19:55:21 +00:00
Adrian Conlon
3d5d4d889c Lots of C++20 and stability changes in 6502 HarteTest 2021-12-08 19:54:53 +00:00
Adrian Conlon
19f8e20021 Simplification when using C++20 2021-12-08 19:52:53 +00:00
Adrian Conlon
e8dd92f0ae Fix crash due to limited stack space. 2021-12-08 19:52:22 +00:00
Adrian Conlon
712be312ef Simplify the 6809 tests, post flag simplification 2021-12-08 19:51:29 +00:00
Adrian Conlon
30b61af820 Whoops: missed this from the last commit! 2021-12-08 19:50:45 +00:00