2017-08-27 19:02:13 +00:00
|
|
|
//
|
|
|
|
// TargetPlatforms.h
|
|
|
|
// Clock Signal
|
|
|
|
//
|
|
|
|
// Created by Thomas Harte on 27/08/2017.
|
|
|
|
// Copyright © 2017 Thomas Harte. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef TargetPlatforms_hpp
|
|
|
|
#define TargetPlatforms_hpp
|
|
|
|
|
|
|
|
namespace TargetPlatform {
|
|
|
|
|
|
|
|
typedef int IntType;
|
|
|
|
enum Type: IntType {
|
2017-08-27 19:43:09 +00:00
|
|
|
AmstradCPC = 1 << 1,
|
|
|
|
Atari2600 = 1 << 2,
|
|
|
|
AcornAtom = 1 << 3,
|
|
|
|
AcornElectron = 1 << 4,
|
|
|
|
BBCMaster = 1 << 5,
|
|
|
|
BBCModelA = 1 << 6,
|
|
|
|
BBCModelB = 1 << 7,
|
2018-02-24 03:47:15 +00:00
|
|
|
ColecoVision = 1 << 8,
|
|
|
|
Commodore = 1 << 9,
|
|
|
|
MSX = 1 << 10,
|
|
|
|
Oric = 1 << 11,
|
|
|
|
ZX80 = 1 << 12,
|
|
|
|
ZX81 = 1 << 13,
|
2017-08-27 19:02:13 +00:00
|
|
|
|
2017-08-27 19:43:09 +00:00
|
|
|
Acorn = AcornAtom | AcornElectron | BBCMaster | BBCModelA | BBCModelB,
|
|
|
|
ZX8081 = ZX80 | ZX81,
|
2017-11-25 18:18:24 +00:00
|
|
|
AllTape = Acorn | AmstradCPC | Commodore | Oric | ZX80 | ZX81 | MSX,
|
|
|
|
AllDisk = Acorn | AmstradCPC | Commodore | Oric | MSX,
|
2017-08-27 19:02:13 +00:00
|
|
|
};
|
|
|
|
|
2017-08-27 19:19:03 +00:00
|
|
|
class TypeDistinguisher {
|
|
|
|
public:
|
|
|
|
virtual Type target_platform_type() = 0;
|
|
|
|
};
|
|
|
|
|
2017-08-27 19:02:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* TargetPlatforms_h */
|