EightBit/Z80/fusetest_Z80/FuseTest.h

26 lines
477 B
C
Raw Normal View History

#pragma once
#include <string>
#include <vector>
#include <fstream>
#include "FuseMemoryDatum.h"
#include "FuseRegisterState.h"
2022-01-17 19:10:15 +00:00
#include <Memory.h>
#include <Z80.h>
namespace Fuse {
class Test {
public:
std::string description;
RegisterState registerState;
std::vector<MemoryDatum> memoryData;
bool finish = false;
void read(std::ifstream& file);
2022-01-17 19:10:15 +00:00
void transferMemory(EightBit::Memory& memory) const;
void transferRegisters(EightBit::Z80& cpu) const;
};
}