2018-04-14 16:12:12 +00:00
|
|
|
//
|
|
|
|
// StaticAnalyser.cpp
|
|
|
|
// Clock Signal
|
|
|
|
//
|
|
|
|
// Created by Thomas Harte on 14/04/2018.
|
2018-05-13 19:19:52 +00:00
|
|
|
// Copyright 2018 Thomas Harte. All rights reserved.
|
2018-04-14 16:12:12 +00:00
|
|
|
//
|
|
|
|
|
|
|
|
#include "StaticAnalyser.hpp"
|
2018-04-22 04:21:57 +00:00
|
|
|
#include "Target.hpp"
|
2018-04-14 16:12:12 +00:00
|
|
|
|
|
|
|
Analyser::Static::TargetList Analyser::Static::AppleII::GetTargets(const Media &media, const std::string &file_name, TargetPlatform::IntType potential_platforms) {
|
2019-12-22 04:34:25 +00:00
|
|
|
auto target = std::make_unique<Target>();
|
2018-04-22 04:21:57 +00:00
|
|
|
target->machine = Machine::AppleII;
|
|
|
|
target->media = media;
|
|
|
|
|
2018-05-03 23:37:32 +00:00
|
|
|
if(!target->media.disks.empty())
|
|
|
|
target->disk_controller = Target::DiskController::SixteenSector;
|
2018-04-24 04:14:45 +00:00
|
|
|
|
2018-04-22 04:21:57 +00:00
|
|
|
TargetList targets;
|
|
|
|
targets.push_back(std::move(target));
|
|
|
|
return targets;
|
2018-04-14 16:12:12 +00:00
|
|
|
}
|