mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-26 08:49:37 +00:00
Starts to create an actual shell of a machine.
This commit is contained in:
parent
c66c484c54
commit
125f781ced
@ -8,10 +8,39 @@
|
||||
|
||||
#include "AtariST.hpp"
|
||||
|
||||
#include "../CRTMachine.hpp"
|
||||
|
||||
namespace {
|
||||
|
||||
const int CLOCK_RATE = 8000000;
|
||||
|
||||
using Target = Analyser::Static::Target;
|
||||
|
||||
class ConcreteMachine:
|
||||
public Atari::ST::Machine,
|
||||
public CRTMachine::Machine {
|
||||
public:
|
||||
ConcreteMachine(const Target &target, const ROMMachine::ROMFetcher &rom_fetcher) {
|
||||
set_clock_rate(CLOCK_RATE);
|
||||
}
|
||||
|
||||
void set_scan_target(Outputs::Display::ScanTarget *scan_target) final {
|
||||
}
|
||||
|
||||
Outputs::Speaker::Speaker *get_speaker() final {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
void run_for(const Cycles cycles) final {
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
using namespace Atari::ST;
|
||||
|
||||
Machine *Machine::AtariST(const Analyser::Static::Target *target, const ROMMachine::ROMFetcher &rom_fetcher) {
|
||||
return nullptr;
|
||||
return new ConcreteMachine(*target, rom_fetcher);
|
||||
}
|
||||
|
||||
Machine::~Machine() {}
|
||||
|
Loading…
Reference in New Issue
Block a user