Appearance
CPUAPI
cpp
#include <VirtualC64.h>cpp
class CPUAPIDefined in VirtualC64.h:422
CPU API
Public Attributes
| Return | Name | Description |
|---|---|---|
CPUDebuggerAPI | debugger | CPU debugger. |
GuardsAPI | breakpoints | Breakpoints. |
GuardsAPI | watchpoints | Watchpoints. |
debugger
cpp
CPUDebuggerAPI debuggerType: CPUDebuggerAPI
Defined in VirtualC64.h:431
CPU debugger.
breakpoints
cpp
GuardsAPI breakpointsType: GuardsAPI
Defined in VirtualC64.h:433
Breakpoints.
watchpoints
cpp
GuardsAPI watchpointsType: GuardsAPI
Defined in VirtualC64.h:435
Watchpoints.
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 VirtualC64.h:439
Returns the component's current configuration.
getInfo
const
cpp
const CPUInfo & getInfo() constDefined in VirtualC64.h:450
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 VirtualC64.h:452
Returns the most recent state snapshot recorded by the emulator thread (see getInfo()).