1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-16 22:28:57 +00:00
CLK/Machines/MSX/MSX.cpp

39 lines
650 B
C++
Raw Normal View History

2017-11-25 01:43:26 +00:00
//
// MSX.cpp
// Clock Signal
//
// Created by Thomas Harte on 24/11/2017.
// Copyright © 2017 Thomas Harte. All rights reserved.
//
#include "MSX.hpp"
#include "../../Processors/Z80/Z80.hpp"
#include "../../Components/1770/1770.hpp"
#include "../../Components/8255/i8255.hpp"
#include "../../Components/AY38910/AY38910.hpp"
2017-11-25 01:43:26 +00:00
namespace MSX {
class ConcreteMachine:
public CPU::Z80::BusHandler,
2017-11-25 01:43:26 +00:00
public Machine {
public:
ConcreteMachine():
z80_(*this) {}
private:
CPU::Z80::Processor<ConcreteMachine, false, false> z80_;
2017-11-25 01:43:26 +00:00
};
}
using namespace MSX;
Machine *Machine::MSX() {
return new ConcreteMachine;
}
Machine::~Machine() {}