Now runs the first pass of the translated Z80 tests as LR35902 style instructions

Signed-off-by: Adrian.Conlon <adrian.conlon@gmail.com>
This commit is contained in:
Adrian.Conlon committed 2017-08-12 14:22:10 +01:00
1 parent 5526892e2f
commit e7001b2425
3 files changed
+3 -14

No files matched your search

@@ -20,11 +20,6 @@ void Fuse::RegisterState::readExternal(std::ifstream& file) {
}
void Fuse::RegisterState::readInternal(std::ifstream& file) {
file >> i;
file >> r;
file >> iff1;
file >> iff2;
file >> im;
file >> halted;
file >> std::dec;
+1 -4
View File
@@ -10,12 +10,9 @@ namespace Fuse {
class RegisterState {
public:
enum {
AF, BC, DE, HL, AF_, BC_, DE_, HL_, IX, IY, SP, PC, MEMPTR, NUMBER_OF_REGISTERS
AF, BC, DE, HL, SP, PC, NUMBER_OF_REGISTERS
};
std::vector<EightBit::register16_t> registers;
int i, r;
bool iff1, iff2;
int im;
bool halted;
int tstates;
+2 -5
View File
@@ -3,11 +3,8 @@
#include "FuseTestRunner.h"
Fuse::TestSuite::TestSuite(std::string path) {
m_tests.read(path + ".in.z80");
m_tests.write(path + ".in");
m_results.read(path + ".expected.z80");
m_results.write(path + ".expected");
m_tests.read(path + ".in");
m_results.read(path + ".expected");
}
void Fuse::TestSuite::run() {