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,
|
2018-04-14 16:12:12 +00:00
|
|
|
AppleII = 1 << 2,
|
|
|
|
Atari2600 = 1 << 3,
|
|
|
|
AcornAtom = 1 << 4,
|
|
|
|
AcornElectron = 1 << 5,
|
|
|
|
BBCMaster = 1 << 6,
|
|
|
|
BBCModelA = 1 << 7,
|
|
|
|
BBCModelB = 1 << 8,
|
|
|
|
ColecoVision = 1 << 9,
|
|
|
|
Commodore = 1 << 10,
|
2018-05-04 22:02:36 +00:00
|
|
|
DiskII = 1 << 11,
|
|
|
|
MSX = 1 << 12,
|
|
|
|
Oric = 1 << 13,
|
|
|
|
ZX80 = 1 << 14,
|
|
|
|
ZX81 = 1 << 15,
|
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,
|
2018-03-07 19:26:07 +00:00
|
|
|
AllCartridge = Atari2600 | AcornElectron | ColecoVision | MSX,
|
2017-11-25 18:18:24 +00:00
|
|
|
AllDisk = Acorn | AmstradCPC | Commodore | Oric | MSX,
|
2018-03-07 19:26:07 +00:00
|
|
|
AllTape = Acorn | AmstradCPC | Commodore | Oric | ZX80 | ZX81 | 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 */
|