2017-07-31 02:05:29 +00:00
|
|
|
//
|
|
|
|
// AmstradCPC.hpp
|
|
|
|
// Clock Signal
|
|
|
|
//
|
|
|
|
// Created by Thomas Harte on 30/07/2017.
|
|
|
|
// Copyright © 2017 Thomas Harte. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef AmstradCPC_hpp
|
|
|
|
#define AmstradCPC_hpp
|
|
|
|
|
|
|
|
#include "../ConfigurationTarget.hpp"
|
|
|
|
#include "../CRTMachine.hpp"
|
|
|
|
|
|
|
|
namespace AmstradCPC {
|
|
|
|
|
2017-07-31 22:44:49 +00:00
|
|
|
enum ROMType: uint8_t {
|
|
|
|
OS464, OS664, OS6128,
|
|
|
|
BASIC464, BASIC664, BASIC6128,
|
|
|
|
AMSDOS
|
|
|
|
};
|
|
|
|
|
2017-07-31 02:05:29 +00:00
|
|
|
class Machine:
|
|
|
|
public CRTMachine::Machine,
|
|
|
|
public ConfigurationTarget::Machine {
|
|
|
|
public:
|
2017-08-01 02:32:04 +00:00
|
|
|
static Machine *AmstradCPC();
|
|
|
|
virtual void set_rom(ROMType type, std::vector<uint8_t> data) = 0;
|
2017-07-31 02:05:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* AmstradCPC_hpp */
|