3 ms·
Related: I wrote a Z80 emulator some time ago -- https://github.com/ggambetta/libz80 https://github.com/ggambetta/libz80 The vast majority of the opcode emulat
by ggambetta 9y ago
Related: I wrote a Z80 emulator some time ago -- https://github.com/ggambetta/libz80 https://github.com/ggambetta/libz80
The vast majority of the opcode emulation code is automatically generated from a high(ish) level spec found at https://github.com/ggambetta/libz80/blob/master/codegen/mktables.spec https://github.com/ggambetta/libz80/blob/master/codegen/mkta... This saves a ton of error-prone, manual work :)