2017-06-05 22:24:08 +00:00
|
|
|
#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>
|
|
|
|
|
2017-06-05 22:24:08 +00:00
|
|
|
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;
|
2017-06-05 22:24:08 +00:00
|
|
|
};
|
|
|
|
}
|