Skip to content

CPUAPI ​

cpp
#include <VAmiga.h>
cpp
class CPUAPI

Defined in VAmiga.h:809

API of the CPU.

Public Attributes ​

ReturnNameDescription
CPUDebuggerAPIdebuggerThe CPU debugger.
GuardsAPIbreakpointsThe CPU breakpoints.
GuardsAPIwatchpointsThe CPU watchpoints.
GuardsAPIcatchpointsThe CPU catchpoints.

debugger ​

cpp
CPUDebuggerAPI debugger

Type: CPUDebuggerAPI

Defined in VAmiga.h:818

The CPU debugger.


breakpoints ​

cpp
GuardsAPI breakpoints

Type: GuardsAPI

Defined in VAmiga.h:820

The CPU breakpoints.


watchpoints ​

cpp
GuardsAPI watchpoints

Type: GuardsAPI

Defined in VAmiga.h:822

The CPU watchpoints.


catchpoints ​

cpp
GuardsAPI catchpoints

Type: GuardsAPI

Defined in VAmiga.h:824

The CPU catchpoints.

Public Methods ​

ReturnNameDescription
const CPUConfig &getConfig constReturns the component's current configuration.
const CPUInfo &getInfo constReturns the component's current state.
const CPUInfo &getCachedInfo constReturns the most recent state snapshot recorded by the emulator thread (see getInfo()).

getConfig ​

const

cpp
const CPUConfig & getConfig() const

Defined in VAmiga.h:828

Returns the component's current configuration.


getInfo ​

const

cpp
const CPUInfo & getInfo() const

Defined in VAmiga.h:839

Returns the component's current state.

getInfo() reads the live state on the calling thread. The result is only consistent if the emulator is paused or suspended. getCachedInfo() returns the snapshot the emulator thread has recorded most recently, which is the one to use while the emulator runs. Both return references that can be overwritten by a later call or by the emulator thread, so copy the data if you need to keep it.


getCachedInfo ​

const

cpp
const CPUInfo & getCachedInfo() const

Defined in VAmiga.h:841

Returns the most recent state snapshot recorded by the emulator thread (see getInfo()).