Skip to content

AgnusAPI ​

cpp
#include <VAmiga.h>
cpp
class AgnusAPI

Defined in VAmiga.h:654

API of the Agnus chip.

Public Attributes ​

ReturnNameDescription
CopperAPIcopperThe Copper coprocessor.
BlitterAPIblitterThe Blitter.
XRayAPIxrayX-Ray (debug visualization of the bus activity).
LogicAnalyzerAPIlogicAnalyzerLogic analyzer.
GuardsAPIbeamtrapsBeam traps (halt the emulator at a specific beam position).

copper ​

cpp
CopperAPI copper

Type: CopperAPI

Defined in VAmiga.h:663

The Copper coprocessor.


blitter ​

cpp
BlitterAPI blitter

Type: BlitterAPI

Defined in VAmiga.h:665

The Blitter.


xray ​

cpp
XRayAPI xray

Type: XRayAPI

Defined in VAmiga.h:667

X-Ray (debug visualization of the bus activity).


logicAnalyzer ​

cpp
LogicAnalyzerAPI logicAnalyzer

Type: LogicAnalyzerAPI

Defined in VAmiga.h:669

Logic analyzer.


beamtraps ​

cpp
GuardsAPI beamtraps

Type: GuardsAPI

Defined in VAmiga.h:671

Beam traps (halt the emulator at a specific beam position).

Public Methods ​

ReturnNameDescription
const AgnusConfig &getConfig constReturns the component's current configuration.
const AgnusInfo &getInfo constReturns the component's current state.
const AgnusInfo &getCachedInfo constReturns the most recent state snapshot recorded by the emulator thread (see getInfo()).
const AgnusMetrics &getMetrics constReturns statistical information about the components.
const AgnusMetrics &getCachedMetrics constReturns the most recent metrics snapshot recorded by the emulator thread (see getMetrics()).
const AgnusTraitsgetTraits constProvides details about the currently selected chip revision.

getConfig ​

const

cpp
const AgnusConfig & getConfig() const

Defined in VAmiga.h:675

Returns the component's current configuration.


getInfo ​

const

cpp
const AgnusInfo & getInfo() const

Defined 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() const

Defined in VAmiga.h:688

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


getMetrics ​

const

cpp
const AgnusMetrics & getMetrics() const

Defined 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() const

Defined in VAmiga.h:701

Returns the most recent metrics snapshot recorded by the emulator thread (see getMetrics()).


getTraits ​

const

cpp
const AgnusTraits getTraits() const

Defined in VAmiga.h:705

Provides details about the currently selected chip revision.