Commit Graph

921 Commits

Author SHA1 Message Date
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
Adrian Conlon
47ac36c8af Catch a couple of small issues in the 6809 tester code 2021-12-08 19:50:11 +00:00
Adrian Conlon
cea3fd47af Lots of reworking of the 6809 core, still looking for the FP bug. 2021-12-08 19:49:05 +00:00
Adrian Conlon
5522fde9a7 Make the flag manipulations in the 6502 implementatin a little more comprehensible 2021-12-08 19:47:35 +00:00
Adrian Conlon
e7d3c2ecb7 Use C++17 nodiscard attribute a little in the Game library 2021-12-08 19:46:19 +00:00
Adrian Conlon
927938560a Tidy the Bus reference definition a little 2021-12-08 19:45:07 +00:00
Adrian Conlon
61b7359505 cycles_t is better served as an array_t typedef 2021-12-08 19:43:40 +00:00
Adrian Conlon
72705e8dd0 Updated projects for VS2022 2021-12-08 19:42:34 +00:00
Adrian Conlon
f16e120272
Update Makefile 2021-11-25 15:15:56 +00:00
Adrian Conlon
8853e1157c Refactor the checking code into into it's own class.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-10-31 09:49:10 +00:00
Adrian Conlon
fed763a802 correct cycle inaccuracies (according to the Harteman tests) in "STA (indirect indexed Y)"
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-10-30 22:40:13 +01:00
Adrian Conlon
eeecb7c719 Correct BCD addition handling
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-10-30 21:25:56 +01:00
Adrian Conlon
04a9ffdcda Some visibility refactoring.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-10-28 16:56:54 +01:00
Adrian Conlon
9e9c15e289 Use C++20 co-routines as generators for opcode suite and test generation.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-10-27 09:53:58 +01:00
Adrian Conlon
45405d5624 Improve overall test speed by reusing test runners.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-10-25 18:40:21 +01:00
Adrian Conlon
75dd53f829 Const a few member variables.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-10-24 23:20:05 +01:00
Adrian Conlon
09cc616ee9 Whoops: revert accidental commenting of code.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-10-24 14:59:14 +01:00
Adrian Conlon
a37aaeba31 Unify the compilation options to what seems to be a sensible point.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-10-24 14:12:57 +01:00
Adrian Conlon
3158b2238a Refactor the JSON core parsing code a little
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-10-24 13:39:08 +01:00
Adrian Conlon
76c03bb4d4 Tidy up header usage.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-10-24 11:42:43 +01:00
Adrian Conlon
f8b5045f99 Use string_view from simdjson. Interesting speed up.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-10-24 11:15:10 +01:00
Adrian Conlon
03b536838b Some constexpr improvements in low level classes.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-10-24 11:12:23 +01:00
Adrian Conlon
f85fec3c81 Constify a few statements. Not much difference.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-10-23 17:46:59 +01:00
Adrian Conlon
17b71aafc3 Refactor to share JSON implementation details.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-10-22 13:10:23 +01:00
Adrian Conlon
8b7607f5e9 Make the code a little more like the JSON schema.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-10-22 11:24:45 +01:00
Adrian Conlon
2890cc5dbb Merge branch 'master' of https://github.com/MoleskiCoder/EightBit into master 2021-10-22 10:51:47 +01:00
Adrian Conlon
e9df345577 More simplifications and faster yet!
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-10-22 10:51:36 +01:00