Adrian Conlon
22506ea56c
Extensive change warning: lots of "noexcept" and "constexpr" changes. Not sure if I'll keep all of them, but interesting...
...
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-07-18 14:28:40 +01:00
Adrian Conlon
2f76e901f9
More tidying of include files for VS2019 compatibility (plus more correct!)
...
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-05-29 12:18:13 +01:00
Adrian Conlon
2fa9ffd1e3
Tidy up some C++ a little
...
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-04-07 21:36:09 +01:00
Adrian Conlon
b95614c65d
Correct a couple of small issues in the Z80 disassembler.
...
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-11-02 17:29:21 +00:00
Adrian Conlon
74f70af758
Correct more Z80 disassembler problems (the ZX81 seems to use every instruction available!)
...
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-09-08 21:27:35 +01:00
Adrian Conlon
0e8813cdf3
Show more state information for debugging output.
...
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-09-07 23:57:17 +01:00
Adrian Conlon
4b0cf426b9
Add a couple of missing instructions to the disassembler (used by the ZX Spectrum ROM)
...
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-08-18 17:40:18 +01:00
Adrian Conlon
e156b1ff1a
Correct some more compilation warnings (across the whole EightBit project).
...
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2018-11-25 19:02:11 +00:00
Adrian Conlon
e688411cb9
Refactor memory related code a little to make the hierarchy of classes a little easier to understand.
...
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2018-11-04 16:38:57 +00:00
Adrian Conlon
1b2ddd8843
Don't expose the bus via the CPU any more: if a component needs the bus, it should be prepared to hold a reference to it.
...
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2018-10-20 20:52:41 +01:00
Adrian Conlon
fe3794e011
Simplify register16_t usage a little.
...
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2018-09-16 12:00:29 +01:00
Adrian Conlon
a8cc289149
Whoops: The "Bus" class *really* isn't allowed to know the "endianness" of the attached processor!
...
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2018-08-27 11:27:33 +01:00
Adrian Conlon
70c70af969
Sort out some exception and member initialisation rules.
...
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2018-08-11 21:19:19 +01:00
Adrian Conlon
cac871cf2b
Remove duplicated code (from const definitions) the performance benefit isn't worth the amount of duplicated code.
...
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2018-06-24 20:58:20 +01:00
Adrian Conlon
3e854c7c49
Const some more bus/processor usage, and ensure the data bus is a member, not a reference to memory.
...
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2018-06-10 00:40:56 +01:00
Adrian Conlon
c292fb552e
A whole bunch of consistency changes. No functional changes.
...
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2017-11-03 22:05:01 +00:00
Adrian.Conlon
cae34d61d1
Ensure the Z80 unit tests run successfully to completion.
...
Signed-off-by: Adrian.Conlon <adrian.conlon@gmail.com>
2017-09-07 01:04:09 +01:00
Adrian.Conlon
19c0b93262
Changes to the "const"ness of peek necessitate some changes.
...
Signed-off-by: Adrian.Conlon <adrian.conlon@gmail.com>
2017-08-24 11:06:23 +01:00
Adrian.Conlon
016b3bca59
Switch to a memory read/write event driven model. All tests passing.
...
Signed-off-by: Adrian.Conlon <adrian.conlon@gmail.com>
2017-08-06 17:06:48 +01:00
Adrian.Conlon
35efc86195
Simplify the use of the REFRESH register
...
Signed-off-by: Adrian.Conlon <adrian.conlon@arup.com>
2017-06-27 14:02:29 +01:00
Adrian.Conlon
c803387023
A few modifications:
...
1) Simplify REFRESH register handling via bit fields.
2) Use static methods in the Z80 emulator, if at all possible
3) Use a decoded opcode lookup, rather than decoding per instruction
Signed-off-by: Adrian.Conlon <adrian.conlon@gmail.com>
2017-06-26 23:22:32 +01:00
Adrian.Conlon
a4f8770eb0
Correct a couple of small compilation issues.
...
Signed-off-by: Adrian.Conlon <adrian.conlon@arup.com>
2017-06-19 18:08:13 +01:00
Adrian.Conlon
c9bf24d1fa
Tidy up register and static method access.
...
Signed-off-by: Adrian.Conlon <adrian.conlon@arup.com>
2017-06-19 13:53:00 +01:00
Adrian.Conlon
211c75d84d
Add Z80 processor and tests.
...
Signed-off-by: Adrian.Conlon <adrian.conlon@gmail.com>
2017-06-05 22:39:15 +01:00
Adrian.Conlon
105032f08a
Dump of all my C++ emulators, only Intel8080 integrated so far...
...
Signed-off-by: Adrian.Conlon <adrian.conlon@gmail.com>
2017-06-04 21:38:34 +01:00