Skip to content

Types and Enumerations ​

Namespaces ​

NameDescription
RL
TexEmulator texture parameters
PALPAL related constants
peddle
NTSCNTSC related constants
VICIIColorRegIndices of the VICII color registers.

Classes ​

NameDescription
AnyFileBase class of all media files
APIBase class of all APIs
AudioPortAPIAudio Port Public API
C64APIC64 API
CIAAPICIA API
ControlPortAPIControl Port API
CPUAPICPU API
CPUDebuggerAPICPU Debugger API
DatasetteAPIDatasette Public API
DefaultsAPIThe user's defaults storage
DiskAPIDisk Public API
DriveAPIDrive Public API
ExpansionPortAPIExpansion Port Public API
GuardsAPIGuards API
JoystickAPIJoystick Public API
KeyboardAPIKeyboard Public API
MemoryAPIMemory API
MemoryDebuggerAPIMemory Debugger API
MouseAPIMouse Public API
PaddleAPIPaddle Public API
RemoteManagerAPIRemoteManager Public API
RetroShellAPIRetroShell Public API
RS232APIRS232 Public API
SerialPortAPISerial Port API
SIDAPISID Public API
SnapshotA snapshot of the emulator state
UserPortAPIUser Port API
VICIIAPIVICII API
VideoPortAPIVideo Port Public API
VirtualC64Public API
XRayAPIDMA Debugger Public API
AlarmCmdPayload of alarm commands.
AudioPortConfigConfiguration of the audio port.
AudioPortInfoState of the audio port (currently carries no data).
AudioPortMetricsAudio statistics.
C64ConfigConfiguration of the C64 component.
C64InfoState of the C64 component.
C64KeyRepresentation of a key on the C64 keyboard
CartridgeInfoState of an attached cartridge.
CartridgeRomInfoDescription of a cartridge ROM chip.
CartridgeTraitsProperties of a cartridge type.
CIAConfigConfiguration of a CIA chip.
CIAInfoState of a CIA chip.
CIAMetricsUsage statistics of a CIA chip.
CIAPortInfoState of a CIA port.
CIATimerInfoState of a CIA timer.
CommandA command that is fed into the command queue.
ConfigCmdPayload of configuration commands.
ConfigMsgPayload of configuration messages.
CoordCmdPayload of mouse commands.
CoreErrorException thrown if a request does not match the state of the emulator.
CPUConfigConfiguration of the CPU.
CPUInfoState of the CPU.
CpuMsgPayload of CPU messages (the program counter).
DatasetteConfigDatasette configuration.
DatasetteInfoDatasette current state.
DiskLayoutLayout of a disk.
DriveConfigConfiguration of a drive.
DriveInfoState of a drive.
DriveMsgPayload of drive messages.
EmulatorInfoThe current emulator state.
EmulatorMetricsCollected run-time data.
EventSlotInfoState of a single event slot.
ExpansionPortConfigConfiguration of the expansion port.
FrameFlipflopsState of the frame flip-flops.
GamePadCmdPayload of joystick commands.
GuardBase structure for a single breakpoint or watchpoint.
GuardCmdPayload of breakpoint and watchpoint commands.
GuardInfoDescription of a breakpoint or watchpoint.
HostConfigProperties of the host machine.
InputLineA line of input for RetroShell.
JoyStateCmdPayload of joystick state commands.
JoystickConfigConfiguration of a joystick.
JoystickInfoState of a joystick.
KeyCmdPayload of keyboard commands.
MediaErrorException thrown if a media file is invalid or not supported.
MemConfigConfiguration of the memory.
MemInfoState of the memory.
MemMetricsMemory access statistics.
MessageA message sent from the emulator to the GUI.
MonitorConfigConfiguration of the monitor emulation.
MouseConfigConfiguration of a mouse.
PaddleConfigConfiguration of a paddle.
PaddleInfoState of a paddle (currently carries no data).
PowerPortConfigConfiguration of the power port.
RemoteManagerInfoState of the remote servers.
RemoteServerInfoState of a remote server.
RetroShellInfoState of RetroShell.
RomInfoDescription of an installed ROM.
RS232ConfigConfiguration of the RS232 adapter.
ScriptMsgPayload of script messages.
SectorLayoutPosition of a sector on a track (in bits).
ServerConfigConfiguration of a remote server.
SIDConfigConfiguration of a SID chip.
SIDInfoState of a SID chip.
SnapshotHeaderHeader of a snapshot.
SnapshotMsgPayload of snapshot messages.
SpriteInfoState of a sprite.
TapeCmdPayload of tape commands.
ThumbnailPreview image of a snapshot.
TODInfoState of the time-of-day clock.
TrackDefaultsDefault properties of a track.
TrackLayoutLayout of a track.
TrafficEntryAn entry of the traffic log.
UserPortConfigConfiguration of the user port.
UserPortInfoState of the user port (currently carries no data).
VICIIConfigConfiguration of the VICII chip.
VICIIInfoState of the VICII chip.
VICIIMetricsPerformance statistics of the graphics synthesizer.
VICIITraitsProperties of a VICII chip revision.
VideoPortConfigConfiguration of the video port.
VideoPortInfoState of the video port.
VideoPortStatsStatistics of the video port.
VoiceInfoState of a SID voice.
vspaceVertical spacing, used in operator overloads.
XRayConfigConfiguration of the X-Ray visualizer.
TimeOfDayTime-of-day value in BCD format.

Enumerations ​

NameDescription
ConfigSchemeC64 model.
WarpWarp mode selection.
EventSlotSlots of the event scheduler.
EventIDEvents that can be scheduled in the event slots.
CIARevChip revision.
CIARegRegisters of a CIA chip.
DasmNumbers
GuardType
MemTypeMemory type.
RamPatternRam startup pattern.
SIDRevisionChip revision.
SIDEngineSID backend.
SamplingMethodSampling method of the reSID engine.
MemAccessTypes of VICII memory accesses.
VICIIRevVICII chip revision.
GlueLogicGlue logic implementation.
ScreenGeometryC64 canvas size.
DisplayModeC64 display mode.
ColorSourceSource of a pixel color in the graphics synthesizer.
VICIIColorThe 16 colors of the VICII chip.
XRayModeX-Ray mode.
XRayCompositorWho merges the X-Ray texture into the emulator texture.
DmaDisplayModeDMA debugger display mode.
CmdEmulator command.
Class
DebugFlagFlags for enabling debug output.
TexFormatByte layout of a 32-bit host pixel.
MsgEmulator message.
OptConfiguration option.
ExecStateExecution state.
CartridgeTypeSupported cartridge types.
FlashStateState of a flash ROM chip.
FileTypeSupported media file types.
TAPVersionVersion of the TAP file format.
FileErrorError codes for file operations.
ServerType
TrafficDirectionDirection of a packet in the traffic log.
CommandSetCommand sets of RetroShell.
RSKeyRetroShell special key.
DatasetteModelDatasette model.
DriveTypeDrive model.
DriveRamMemory expansion of a drive.
DrvMemTypeMemory types of a drive.
InsertionStatusInsertion state of a disk.
DiskTypeDisk type.
CBMFileType
ParCableTypeParallel cable type.
GamePadActionGamepad / Joystick event.
PaletteColor palette.
UpscalerPixel upscaler.
DotmaskDotmask.
ScanlinesScanlines.
MouseModelMouse model.
CommunicationDeviceDevices that can be connected to the RS232 adapter.
PaddleOrientationValue mapping scheme.
ControlPortDeviceControl port device.
CRTModeCartridge mode.
PowerGridPower grip characteristics.
UserPortDevice

Typedefs ​

ReturnNameDescription
i64CycleEmulator time in master clock cycles.
u32RunLoopFlagsFlags that are set to request actions of the run loop.
utl::RingBuffer< short, 2048 >SampleStreamBuffer for audio samples.
voidCallbackSignature of the function that receives messages.
isizeCylinderCylinder number.
isizeHeadHead number.
isizeTrackTrack number.
isizeHalftrackHalftrack number.
isizeSectorSector number.
isizeBlockBlock number.
isizeHeadPosPosition of the drive head within a halftrack (in bits).

Cycle ​

cpp
using Cycle = i64

Defined in Components/C64Types.h:26

Emulator time in master clock cycles.


RunLoopFlags ​

cpp
using RunLoopFlags = u32

Defined in Components/C64Types.h:373

Flags that are set to request actions of the run loop.


SampleStream ​

cpp
using SampleStream = utl::RingBuffer< short, 2048 >

Defined in Components/SID/SIDTypes.h:26

Buffer for audio samples.


Callback ​

cpp
using Callback = void

Defined in Infrastructure/MsgQueueTypes.h:294

Signature of the function that receives messages.


Cylinder ​

cpp
using Cylinder = isize

Defined in Peripherals/Drive/DriveTypes.h:25

Cylinder number.


cpp
using Head = isize

Defined in Peripherals/Drive/DriveTypes.h:27

Head number.


Track ​

cpp
using Track = isize

Defined in Peripherals/Drive/DriveTypes.h:29

Track number.


Halftrack ​

cpp
using Halftrack = isize

Defined in Peripherals/Drive/DriveTypes.h:31

Halftrack number.


Sector ​

cpp
using Sector = isize

Defined in Peripherals/Drive/DriveTypes.h:33

Sector number.


Block ​

cpp
using Block = isize

Defined in Peripherals/Drive/DriveTypes.h:35

Block number.


HeadPos ​

cpp
using HeadPos = isize

Defined in Peripherals/Drive/DriveTypes.h:37

Position of the drive head within a halftrack (in bits).

Functions ​

ReturnNameDescription
boolisTrackNumber static inline
boolisHalftrackNumber static inline
boolisSectorNumber static inline

isTrackNumber ​

static inline

cpp
static inline bool isTrackNumber(isize nr)

Defined in Peripherals/Drive/FloppyDiskTypes.h:50


isHalftrackNumber ​

static inline

cpp
static inline bool isHalftrackNumber(isize nr)

Defined in Peripherals/Drive/FloppyDiskTypes.h:51


isSectorNumber ​

static inline

cpp
static inline bool isSectorNumber(isize nr)

Defined in Peripherals/Drive/FloppyDiskTypes.h:52

Variables ​

ReturnNameDescription
intINTSRC_CIA constexpr
intINTSRC_VIC constexpr
intINTSRC_VIA1 constexpr
intINTSRC_VIA2 constexpr
intINTSRC_EXP constexpr
intINTSRC_KBD constexpr
isizeXRAY_COLOR_COUNT constexprX-Ray mode Number of persisted Opt::XRAY_COLORn slots
const isizeDRIVE8 staticNumber of drive 8.
const isizeDRIVE9 staticNumber of drive 9.
const isizehighestTrack static
const isizehighestHalftrack static
const isizehighestSector staticHighest sector number (numbering starts with 0).
const isizemaxBytesOnTrack static
const isizemaxBitsOnTrack static
const i64averageBitTimeSpan static
const isizeaverageBitsOnTrack static
const isizeaverageBytesOnTrack static
const isizeheaderBlockSize static
const isizedataBlockSize static
autoPORT_1 static constexprControl port 1.
autoPORT_2 static constexprControl port 2.

INTSRC_CIA ​

constexpr

cpp
int INTSRC_CIA = 0b00000001

Defined in Components/CPU/CPUTypes.h:24


INTSRC_VIC ​

constexpr

cpp
int INTSRC_VIC = 0b00000010

Defined in Components/CPU/CPUTypes.h:25


INTSRC_VIA1 ​

constexpr

cpp
int INTSRC_VIA1 = 0b00000100

Defined in Components/CPU/CPUTypes.h:26


INTSRC_VIA2 ​

constexpr

cpp
int INTSRC_VIA2 = 0b00001000

Defined in Components/CPU/CPUTypes.h:27


INTSRC_EXP ​

constexpr

cpp
int INTSRC_EXP = 0b00010000

Defined in Components/CPU/CPUTypes.h:28


INTSRC_KBD ​

constexpr

cpp
int INTSRC_KBD = 0b00100000

Defined in Components/CPU/CPUTypes.h:29


XRAY_COLOR_COUNT ​

constexpr

cpp
isize XRAY_COLOR_COUNT = 11

Defined in Components/VICII/XRayTypes.h:26

X-Ray mode Number of persisted Opt::XRAY_COLORn slots


DRIVE8 ​

static

cpp
const isize DRIVE8 = 0

Defined in Peripherals/Drive/DriveTypes.h:45

Number of drive 8.


DRIVE9 ​

static

cpp
const isize DRIVE9 = 1

Defined in Peripherals/Drive/DriveTypes.h:47

Number of drive 9.


highestTrack ​

static

cpp
const isize highestTrack = 42

Defined in Peripherals/Drive/FloppyDiskTypes.h:44


highestHalftrack ​

static

cpp
const isize highestHalftrack = 84

Defined in Peripherals/Drive/FloppyDiskTypes.h:45


highestSector ​

static

cpp
const isize highestSector = 20

Defined in Peripherals/Drive/FloppyDiskTypes.h:48

Highest sector number (numbering starts with 0).


maxBytesOnTrack ​

static

cpp
const isize maxBytesOnTrack = 7928

Defined in Peripherals/Drive/FloppyDiskTypes.h:59


maxBitsOnTrack ​

static

cpp
const isize maxBitsOnTrack = maxBytesOnTrack * 8

Defined in Peripherals/Drive/FloppyDiskTypes.h:60


averageBitTimeSpan ​

static

cpp
const i64 averageBitTimeSpan[]

Defined in Peripherals/Drive/FloppyDiskTypes.h:67


averageBitsOnTrack ​

static

cpp
const isize averageBitsOnTrack[4]

Defined in Peripherals/Drive/FloppyDiskTypes.h:79


averageBytesOnTrack ​

static

cpp
const isize averageBytesOnTrack[4]

Defined in Peripherals/Drive/FloppyDiskTypes.h:90


headerBlockSize ​

static

cpp
const isize headerBlockSize = 10 * 8

Defined in Peripherals/Drive/FloppyDiskTypes.h:101


dataBlockSize ​

static

cpp
const isize dataBlockSize = 325 * 8

Defined in Peripherals/Drive/FloppyDiskTypes.h:102


PORT_1 ​

static constexpr

cpp
auto PORT_1 = 0

Defined in Ports/ControlPortTypes.h:25

Control port 1.


PORT_2 ​

static constexpr

cpp
auto PORT_2 = 1

Defined in Ports/ControlPortTypes.h:27

Control port 2.