1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-06 01:28:57 +00:00
CLK/Processors/68000/State/State.cpp

44 lines
712 B
C++
Raw Normal View History

2020-05-15 02:46:40 +00:00
//
// State.cpp
// Clock Signal
//
// Created by Thomas Harte on 14/05/2020.
// Copyright © 2020 Thomas Harte. All rights reserved.
//
#include "State.hpp"
using namespace CPU::MC68000;
State::State(const ProcessorBase &src): State() {
}
void State::apply(ProcessorBase &target) {
}
// Boilerplate follows here, to establish 'reflection'.
State::State() {
if(needs_declare()) {
DeclareField(registers);
DeclareField(execution_state);
DeclareField(inputs);
}
}
State::Registers::Registers() {
if(needs_declare()) {
DeclareField(data);
DeclareField(address);
}
}
State::ExecutionState::ExecutionState() {
if(needs_declare()) {
}
}
State::Inputs::Inputs() {
if(needs_declare()) {
}
}