Appearance
CPUAPI
cpp
#include <VAmiga.h>cpp
class CPUAPIDefined in VAmiga.h:809
API of the CPU.
Public Attributes
| Return | Name | Description |
|---|---|---|
CPUDebuggerAPI | debugger | The CPU debugger. |
GuardsAPI | breakpoints | The CPU breakpoints. |
GuardsAPI | watchpoints | The CPU watchpoints. |
GuardsAPI | catchpoints | The CPU catchpoints. |
debugger
cpp
CPUDebuggerAPI debuggerType: CPUDebuggerAPI
Defined in VAmiga.h:818
The CPU debugger.
breakpoints
cpp
GuardsAPI breakpointsType: GuardsAPI
Defined in VAmiga.h:820
The CPU breakpoints.
watchpoints
cpp
GuardsAPI watchpointsType: GuardsAPI
Defined in VAmiga.h:822
The CPU watchpoints.
catchpoints
cpp
GuardsAPI catchpointsType: GuardsAPI
Defined in VAmiga.h:824
The CPU catchpoints.
Public Methods
| Return | Name | Description |
|---|---|---|
const CPUConfig & | getConfig const | Returns the component's current configuration. |
const CPUInfo & | getInfo const | Returns the component's current state. |
const CPUInfo & | getCachedInfo const | Returns the most recent state snapshot recorded by the emulator thread (see getInfo()). |
getConfig
const
cpp
const CPUConfig & getConfig() constDefined in VAmiga.h:828
Returns the component's current configuration.
getInfo
const
cpp
const CPUInfo & getInfo() constDefined 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() constDefined in VAmiga.h:841
Returns the most recent state snapshot recorded by the emulator thread (see getInfo()).