2016-06-04 21:43:50 -04:00
|
|
|
//
|
|
|
|
// Vic20.hpp
|
|
|
|
// Clock Signal
|
|
|
|
//
|
|
|
|
// Created by Thomas Harte on 04/06/2016.
|
2018-05-13 15:19:52 -04:00
|
|
|
// Copyright 2016 Thomas Harte. All rights reserved.
|
2016-06-04 21:43:50 -04:00
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef Vic20_hpp
|
|
|
|
#define Vic20_hpp
|
|
|
|
|
2017-11-18 19:48:10 -05:00
|
|
|
#include "../../../Configurable/Configurable.hpp"
|
2018-07-10 20:00:46 -04:00
|
|
|
#include "../../../Analyser/Static/StaticAnalyser.hpp"
|
|
|
|
#include "../../ROMMachine.hpp"
|
|
|
|
|
|
|
|
#include <memory>
|
|
|
|
#include <vector>
|
2016-07-10 12:57:17 -04:00
|
|
|
|
2016-07-05 13:28:27 -04:00
|
|
|
namespace Commodore {
|
2016-06-04 21:43:50 -04:00
|
|
|
namespace Vic20 {
|
|
|
|
|
2017-11-20 21:55:32 -05:00
|
|
|
/// @returns The options available for a Vic-20.
|
|
|
|
std::vector<std::unique_ptr<Configurable::Option>> get_options();
|
|
|
|
|
2018-03-09 15:19:02 -05:00
|
|
|
class Machine {
|
2016-06-04 22:00:50 -04:00
|
|
|
public:
|
2017-08-16 16:05:30 -04:00
|
|
|
virtual ~Machine();
|
2016-12-03 13:30:27 -05:00
|
|
|
|
2017-08-16 16:23:33 -04:00
|
|
|
/// Creates and returns a Vic-20.
|
2018-07-10 20:00:46 -04:00
|
|
|
static Machine *Vic20(const Analyser::Static::Target *target, const ROMMachine::ROMFetcher &rom_fetcher);
|
2016-06-04 21:43:50 -04:00
|
|
|
};
|
|
|
|
|
2016-07-05 13:28:27 -04:00
|
|
|
}
|
2016-06-04 21:43:50 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* Vic20_hpp */
|