2017-07-30 22:05:29 -04: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 18:44:49 -04:00
|
|
|
enum ROMType: uint8_t {
|
|
|
|
OS464, OS664, OS6128,
|
|
|
|
BASIC464, BASIC664, BASIC6128,
|
|
|
|
AMSDOS
|
|
|
|
};
|
|
|
|
|
2017-07-30 22:05:29 -04:00
|
|
|
class Machine:
|
|
|
|
public CRTMachine::Machine,
|
|
|
|
public ConfigurationTarget::Machine {
|
|
|
|
public:
|
2017-07-31 22:32:04 -04:00
|
|
|
static Machine *AmstradCPC();
|
|
|
|
virtual void set_rom(ROMType type, std::vector<uint8_t> data) = 0;
|
2017-07-30 22:05:29 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* AmstradCPC_hpp */
|