Skip to content

DDFState ​

cpp
#include <Components/Agnus/Sequencer/SequencerTypes.h>
cpp
struct DDFState

Defined in Components/Agnus/Sequencer/SequencerTypes.h:31

State of the data-fetch logic of the sequencer.

Public Attributes ​

ReturnNameDescription
boolbpvVertical bitplane DMA flip-flop (set inside the vertical DMA window).
boolbmapenBitplane DMA enable (DMACON).
boolshwDDF logic flip-flop (start of the horizontal fetch window).
boolrhwDDF logic flip-flop (end of the horizontal fetch window).
boolbphstartIndicates that the DDFSTRT position has been reached.
boolbphstopIndicates that the DDFSTOP position has been reached.
boolbprunIndicates that the bitplane fetch unit is running.
boollastFuIndicates that the last fetch unit is being processed.
boolstopreqIndicates that the fetch unit has been asked to stop.
u16bplcon0Value of BPLCON0.
u8cntFetch cycle counter within the fetch unit.

bpv ​

cpp
bool bpv = false

Defined in Components/Agnus/Sequencer/SequencerTypes.h:33

Vertical bitplane DMA flip-flop (set inside the vertical DMA window).


bmapen ​

cpp
bool bmapen = false

Defined in Components/Agnus/Sequencer/SequencerTypes.h:34

Bitplane DMA enable (DMACON).


shw ​

cpp
bool shw = false

Defined in Components/Agnus/Sequencer/SequencerTypes.h:35

DDF logic flip-flop (start of the horizontal fetch window).


rhw ​

cpp
bool rhw = false

Defined in Components/Agnus/Sequencer/SequencerTypes.h:36

DDF logic flip-flop (end of the horizontal fetch window).


bphstart ​

cpp
bool bphstart = false

Defined in Components/Agnus/Sequencer/SequencerTypes.h:37

Indicates that the DDFSTRT position has been reached.


bphstop ​

cpp
bool bphstop = false

Defined in Components/Agnus/Sequencer/SequencerTypes.h:38

Indicates that the DDFSTOP position has been reached.


bprun ​

cpp
bool bprun = false

Defined in Components/Agnus/Sequencer/SequencerTypes.h:39

Indicates that the bitplane fetch unit is running.


lastFu ​

cpp
bool lastFu = false

Defined in Components/Agnus/Sequencer/SequencerTypes.h:40

Indicates that the last fetch unit is being processed.


stopreq ​

cpp
bool stopreq = false

Defined in Components/Agnus/Sequencer/SequencerTypes.h:41

Indicates that the fetch unit has been asked to stop.


bplcon0 ​

cpp
u16 bplcon0 = 0

Defined in Components/Agnus/Sequencer/SequencerTypes.h:42

Value of BPLCON0.


cnt ​

cpp
u8 cnt = 0

Defined in Components/Agnus/Sequencer/SequencerTypes.h:43

Fetch cycle counter within the fetch unit.

Public Methods ​

ReturnNameDescription
booloperator== const inlineCompares two states.
booloperator!= const inlineCompares two states.
W &operator<< inlineSerializes the state (used for snapshots).

operator== ​

const inline

cpp
inline bool operator==(const DDFState & rhs) const

Defined in Components/Agnus/Sequencer/SequencerTypes.h:46

Compares two states.


operator!= ​

const inline

cpp
inline bool operator!=(const DDFState & rhs) const

Defined in Components/Agnus/Sequencer/SequencerTypes.h:63

Compares two states.


operator<< ​

inline

cpp
template<class W> inline W & operator<<(W & worker)

Defined in Components/Agnus/Sequencer/SequencerTypes.h:70

Serializes the state (used for snapshots).