Appearance
PaulaAPI
cpp
#include <VAmiga.h>cpp
class PaulaAPIDefined in VAmiga.h:1120
API of the Paula chip.
Public Attributes
| Return | Name | Description |
|---|---|---|
AudioChannelAPI | audioChannel0 | Audio channel 0. |
AudioChannelAPI | audioChannel1 | Audio channel 1. |
AudioChannelAPI | audioChannel2 | Audio channel 2. |
AudioChannelAPI | audioChannel3 | Audio channel 3. |
DiskControllerAPI | diskController | The disk controller. |
UARTAPI | uart | The UART. |
audioChannel0
cpp
AudioChannelAPI audioChannel0 = AudioChannelAPI(0)Type: AudioChannelAPI
Defined in VAmiga.h:1129
Audio channel 0.
audioChannel1
cpp
AudioChannelAPI audioChannel1 = AudioChannelAPI(1)Type: AudioChannelAPI
Defined in VAmiga.h:1131
Audio channel 1.
audioChannel2
cpp
AudioChannelAPI audioChannel2 = AudioChannelAPI(2)Type: AudioChannelAPI
Defined in VAmiga.h:1133
Audio channel 2.
audioChannel3
cpp
AudioChannelAPI audioChannel3 = AudioChannelAPI(3)Type: AudioChannelAPI
Defined in VAmiga.h:1135
Audio channel 3.
diskController
cpp
DiskControllerAPI diskControllerType: DiskControllerAPI
Defined in VAmiga.h:1137
The disk controller.
uart
cpp
UARTAPI uartType: UARTAPI
Defined in VAmiga.h:1139
The UART.
Public Methods
| Return | Name | Description |
|---|---|---|
const PaulaInfo & | getInfo const | Returns the component's current configuration. |
const PaulaInfo & | getCachedInfo const | Returns the most recent state snapshot recorded by the emulator thread (see getInfo()). |
getInfo
const
cpp
const PaulaInfo & getInfo() constDefined in VAmiga.h:1154
Returns the component's current configuration.
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 PaulaInfo & getCachedInfo() constDefined in VAmiga.h:1156
Returns the most recent state snapshot recorded by the emulator thread (see getInfo()).