mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-26 09:29:45 +00:00
Advances far enough for the Amiga to be autonomous.
This commit is contained in:
parent
6ade36bf09
commit
7925dcc5a2
@ -8,18 +8,43 @@
|
|||||||
|
|
||||||
#include "Amiga.hpp"
|
#include "Amiga.hpp"
|
||||||
|
|
||||||
|
#include "../MachineTypes.hpp"
|
||||||
|
|
||||||
#include "../../Analyser/Static/Amiga/Target.hpp"
|
#include "../../Analyser/Static/Amiga/Target.hpp"
|
||||||
|
|
||||||
namespace Amiga {
|
namespace Amiga {
|
||||||
|
|
||||||
class ConcreteMachine:
|
class ConcreteMachine:
|
||||||
|
public MachineTypes::ScanProducer,
|
||||||
|
public MachineTypes::TimedMachine,
|
||||||
public Machine {
|
public Machine {
|
||||||
public:
|
public:
|
||||||
ConcreteMachine(const Analyser::Static::Amiga::Target &target, const ROMMachine::ROMFetcher &rom_fetcher) {
|
ConcreteMachine(const Analyser::Static::Amiga::Target &target, const ROMMachine::ROMFetcher &rom_fetcher) {
|
||||||
(void)target;
|
(void)target;
|
||||||
(void)rom_fetcher;
|
(void)rom_fetcher;
|
||||||
|
|
||||||
|
// NTSC clock rate: 2*3.579545 = 7.15909Mhz.
|
||||||
|
// PAL clock rate: 7.09379Mhz.
|
||||||
|
set_clock_rate(7'093'790.0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
private:
|
||||||
|
// MARK: - MachineTypes::ScanProducer.
|
||||||
|
|
||||||
|
void set_scan_target(Outputs::Display::ScanTarget *scan_target) final {
|
||||||
|
(void)scan_target;
|
||||||
|
}
|
||||||
|
|
||||||
|
Outputs::Display::ScanStatus get_scaled_scan_status() const {
|
||||||
|
return Outputs::Display::ScanStatus();
|
||||||
|
}
|
||||||
|
|
||||||
|
// MARK: - MachineTypes::TimedMachine.
|
||||||
|
|
||||||
|
void run_for(const Cycles cycles) {
|
||||||
|
(void)cycles;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user