OSCR
Open Source Cartridge Reader
Loading...
Searching...
No Matches
core-types.h
Go to the documentation of this file.
1
41#pragma once
42#ifndef OSCR_CORE_TYPES_H_
43# define OSCR_CORE_TYPES_H_
44
45#include <stdint.h>
46
47namespace OSCR
48{
62 enum class CoreID : uint8_t
63 {
64 NONE,
65 GBX,
66 NES,
67 SNES,
68 N64,
69 MD,
70 SMS,
71 PCE,
72 WS,
73 NGP,
74 INTV,
75 COLV,
76 VBOY,
77 WSV,
78 PCW,
79 A2600,
80 ODY2,
81 ARC,
82 FAIRCHILD,
83 SUPRACAN,
84 MSX,
85 POKE,
86 LOOPY,
87 C64,
88 A5200,
89 A7800,
90 JAGUAR,
91 LYNX,
92 VECTREX,
93 ATARI8,
94 BALLY,
95 LJ,
96 LJPRO,
97 PV1000,
98 VIC20,
99 LEAP,
100 RCA,
101 TI99,
102 PYUUTA,
103 TRS80,
104 VSMILE,
105 FLASH8,
106 CPS3,
107 SELFTEST,
108 };
109
113 enum class LanguageID : uint8_t
114 {
115 EN,
116 JA,
117 };
118
122 enum class RegionID : uint8_t
123 {
132 };
133
157
168 enum class OutputInterfaceID : uint8_t
169 {
170 Serial,
174 };
175
194
205 enum class OptionID : uint8_t
206 {
207 LCDType,
208 NeoPixelOrder,
209 VoltageSpecifier,
210 VoltageMonitorMethod,
211 };
212}
213
214#endif /* OSCR_CORE_TYPES_H_ */
Main program.
Definition Storage.h:13
OptionID
Option IDs.
Definition core-types.h:206
InputInterfaceID
Input Interface IDs.
Definition core-types.h:187
@ TwoButtons
2-button interface (HW3)
Definition core-types.h:191
@ OneButton
1-button interface (HW1-2)
Definition core-types.h:190
@ RotaryButton
Rotary-button interface (HW4-5)
Definition core-types.h:192
FeatureID
Feature IDs.
Definition core-types.h:145
@ ClockGenCalibrated
Support for calibrating the clock generator.
Definition core-types.h:151
@ OnBoardMega
Enable on-board ATmega2560 options.
Definition core-types.h:153
@ VSelect
Automatic Voltage Select (VSELECT) via TPS211x.
Definition core-types.h:149
@ StabilityFix
Fix for ATmega2560s with stability issues at 3.3V.
Definition core-types.h:154
@ PowerSaving
Power Saving.
Definition core-types.h:155
@ RealTimeClock
RTC Support.
Definition core-types.h:150
@ ClockGenCalibration
Load clock generator calibration data.
Definition core-types.h:152
@ Config
Allow the use of config.txt.
Definition core-types.h:147
OutputInterfaceID
Output Interface IDs.
Definition core-types.h:169
@ SSD1306
OLED.
Definition core-types.h:172
@ OS12864
LCD (a.k.a. MKS/BTT MINI12864, ST7567, etc)
Definition core-types.h:173
@ SerialANSI
ANSI Serial.
Definition core-types.h:171
LanguageID
Language IDs.
Definition core-types.h:114
CoreID
Core IDs.
Definition core-types.h:63
RegionID
Region IDs.
Definition core-types.h:123
@ AF
Africa.
Definition core-types.h:125
@ SA
South America.
Definition core-types.h:131
@ Global
All/World/Global.
Definition core-types.h:124
@ OC
Oceania.
Definition core-types.h:130
@ AS
Asia.
Definition core-types.h:127
@ NA
North America.
Definition core-types.h:129
@ AN
Antarctica (for completeness)
Definition core-types.h:126
@ EU
Europe.
Definition core-types.h:128
System core for the Commodore VIC-20.
Definition VIC20.h:15