Appearance
AgnusAPI
cpp
#include <VAmiga.h>cpp
class AgnusAPIDefined in VAmiga.h:654
API of the Agnus chip.
Public Attributes
| Return | Name | Description |
|---|---|---|
CopperAPI | copper | The Copper coprocessor. |
BlitterAPI | blitter | The Blitter. |
XRayAPI | xray | X-Ray (debug visualization of the bus activity). |
LogicAnalyzerAPI | logicAnalyzer | Logic analyzer. |
GuardsAPI | beamtraps | Beam traps (halt the emulator at a specific beam position). |
copper
cpp
CopperAPI copperType: CopperAPI
Defined in VAmiga.h:663
The Copper coprocessor.
blitter
cpp
BlitterAPI blitterType: BlitterAPI
Defined in VAmiga.h:665
The Blitter.
xray
cpp
XRayAPI xrayType: XRayAPI
Defined in VAmiga.h:667
X-Ray (debug visualization of the bus activity).
logicAnalyzer
cpp
LogicAnalyzerAPI logicAnalyzerType: LogicAnalyzerAPI
Defined in VAmiga.h:669
Logic analyzer.
beamtraps
cpp
GuardsAPI beamtrapsType: GuardsAPI
Defined in VAmiga.h:671
Beam traps (halt the emulator at a specific beam position).
Public Methods
| Return | Name | Description |
|---|---|---|
const AgnusConfig & | getConfig const | Returns the component's current configuration. |
const AgnusInfo & | getInfo const | Returns the component's current state. |
const AgnusInfo & | getCachedInfo const | Returns the most recent state snapshot recorded by the emulator thread (see getInfo()). |
const AgnusMetrics & | getMetrics const | Returns statistical information about the components. |
const AgnusMetrics & | getCachedMetrics const | Returns the most recent metrics snapshot recorded by the emulator thread (see getMetrics()). |
const AgnusTraits | getTraits const | Provides details about the currently selected chip revision. |
getConfig
const
cpp
const AgnusConfig & getConfig() constDefined in VAmiga.h:675
Returns the component's current configuration.
getInfo
const
cpp
const AgnusInfo & getInfo() constDefined in VAmiga.h:686
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 AgnusInfo & getCachedInfo() constDefined in VAmiga.h:688
Returns the most recent state snapshot recorded by the emulator thread (see getInfo()).
getMetrics
const
cpp
const AgnusMetrics & getMetrics() constDefined in VAmiga.h:699
Returns statistical information about the components.
getMetrics() reads the live state on the calling thread. The result is only consistent if the emulator is paused or suspended. getCachedMetrics() 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.
getCachedMetrics
const
cpp
const AgnusMetrics & getCachedMetrics() constDefined in VAmiga.h:701
Returns the most recent metrics snapshot recorded by the emulator thread (see getMetrics()).
getTraits
const
cpp
const AgnusTraits getTraits() constDefined in VAmiga.h:705
Provides details about the currently selected chip revision.