2017-08-27 19:02:13 +00:00
|
|
|
//
|
|
|
|
// TargetPlatforms.h
|
|
|
|
// Clock Signal
|
|
|
|
//
|
|
|
|
// Created by Thomas Harte on 27/08/2017.
|
2018-05-13 19:19:52 +00:00
|
|
|
// Copyright 2017 Thomas Harte. All rights reserved.
|
2017-08-27 19:02:13 +00:00
|
|
|
//
|
|
|
|
|
|
|
|
#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,
|
2019-10-04 02:10:10 +00:00
|
|
|
AtariST = 1 << 4,
|
|
|
|
AcornAtom = 1 << 5,
|
|
|
|
AcornElectron = 1 << 6,
|
|
|
|
BBCMaster = 1 << 7,
|
|
|
|
BBCModelA = 1 << 8,
|
|
|
|
BBCModelB = 1 << 9,
|
|
|
|
ColecoVision = 1 << 10,
|
|
|
|
Commodore = 1 << 11,
|
|
|
|
DiskII = 1 << 12,
|
|
|
|
Sega = 1 << 13,
|
|
|
|
Macintosh = 1 << 14,
|
|
|
|
MSX = 1 << 15,
|
|
|
|
Oric = 1 << 16,
|
|
|
|
ZX80 = 1 << 17,
|
|
|
|
ZX81 = 1 << 18,
|
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,
|
2019-10-04 02:10:10 +00:00
|
|
|
AllDisk = Acorn | AmstradCPC | Commodore | Oric | MSX, // TODO: | AtariST
|
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 */
|