2018-09-23 20:34:47 +00:00
|
|
|
//
|
|
|
|
// Target.hpp
|
|
|
|
// Clock Signal
|
|
|
|
//
|
|
|
|
// Created by Thomas Harte on 23/09/2018.
|
|
|
|
// Copyright © 2018 Thomas Harte. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef Analyser_Static_Sega_Target_h
|
|
|
|
#define Analyser_Static_Sega_Target_h
|
|
|
|
|
|
|
|
namespace Analyser {
|
|
|
|
namespace Static {
|
|
|
|
namespace Sega {
|
|
|
|
|
|
|
|
struct Target: public ::Analyser::Static::Target {
|
|
|
|
enum class Model {
|
2018-10-24 02:19:45 +00:00
|
|
|
SG1000,
|
2018-09-23 20:34:47 +00:00
|
|
|
MasterSystem,
|
2018-10-24 02:19:45 +00:00
|
|
|
MasterSystem2,
|
2018-09-23 20:34:47 +00:00
|
|
|
};
|
|
|
|
|
2018-10-20 00:32:09 +00:00
|
|
|
enum class Region {
|
|
|
|
Japan,
|
|
|
|
USA,
|
2018-10-24 02:19:45 +00:00
|
|
|
Europe,
|
|
|
|
Brazil
|
2018-10-20 00:32:09 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
enum class PagingScheme {
|
|
|
|
Sega,
|
|
|
|
Codemasters
|
|
|
|
};
|
|
|
|
|
2018-09-23 20:34:47 +00:00
|
|
|
Model model = Model::MasterSystem;
|
2018-10-20 00:32:09 +00:00
|
|
|
Region region = Region::Japan;
|
|
|
|
PagingScheme paging_scheme = PagingScheme::Sega;
|
2018-09-23 20:34:47 +00:00
|
|
|
};
|
|
|
|
|
2018-10-24 02:19:45 +00:00
|
|
|
#define is_master_system(v) v >= Analyser::Static::Sega::Target::Model::MasterSystem
|
|
|
|
|
2018-09-23 20:34:47 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* Analyser_Static_Sega_Target_h */
|