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>
This commit is contained in:
Adrian.Conlon committed 2017-06-26 23:22:32 +01:00
1 parent d22b695682
commit c803387023
5 files changed
+241 -203

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ std::string EightBit::Disassembler::state(Z80& cpu) {
auto l = cpu.L();
auto i = cpu.IV();
auto r = cpu.REFRESH();
auto r = cpu.REFRESH().asUint8();
auto im = cpu.IM();