Skip to content

VICIIInfo ​

cpp
#include <Components/VICII/VICIITypes.h>
cpp
struct VICIIInfo

Defined in Components/VICII/VICIITypes.h:374

State of the VICII chip.

Public Attributes ​

ReturnNameDescription
u16scanlineCurrent raster line.
u8rasterCycleCurrent raster cycle.
u32yCounterRaster line counter.
u16xCounterHorizontal position counter.
u16vcVideo counter (VC).
u16vcBaseVideo counter base (VCBASE).
u8rcRow counter (RC).
u8vmliVideo matrix line index (VMLI).
u8ctrl1Control register 1.
u8ctrl2Control register 2.
u8dyVertical scroll value.
u8dxHorizontal scroll value.
booldenBitDisplay enable bit.
boolbadLineThe current line is a bad line.
booldisplayStateDisplay state (display or idle).
boolvblankVertical blanking is active.
ScreenGeometryscreenGeometryScreen geometry.
FrameFlipflopsframeFFFrame flip-flops.
DisplayModedisplayModeDisplay mode.
u8borderColorBorder color.
u8bgColor0Background color 0.
u8bgColor1Background color 1.
u8bgColor2Background color 2.
u8bgColor3Background color 3.
u8memSelectMemory control register.
boolultimaxUltimax memory mode is active.
u16memoryBankAddrStart address of the VIC bank.
u16screenMemoryAddrAddress of the screen memory.
u16charMemoryAddrAddress of the character memory.
u16irqLineRaster line that triggers a raster interrupt.
u8irrInterrupt request register.
u8imrInterrupt mask register.
u8latchedLPXLatched light pen X coordinate.
u8latchedLPYLatched light pen Y coordinate.
boollpLineState of the light pen line.
boollpIrqHasOccurredA light pen interrupt has occurred in this frame.

scanline ​

cpp
u16 scanline

Defined in Components/VICII/VICIITypes.h:377

Current raster line.


rasterCycle ​

cpp
u8 rasterCycle

Defined in Components/VICII/VICIITypes.h:378

Current raster cycle.


yCounter ​

cpp
u32 yCounter

Defined in Components/VICII/VICIITypes.h:379

Raster line counter.


xCounter ​

cpp
u16 xCounter

Defined in Components/VICII/VICIITypes.h:380

Horizontal position counter.


vc ​

cpp
u16 vc

Defined in Components/VICII/VICIITypes.h:381

Video counter (VC).


vcBase ​

cpp
u16 vcBase

Defined in Components/VICII/VICIITypes.h:382

Video counter base (VCBASE).


rc ​

cpp
u8 rc

Defined in Components/VICII/VICIITypes.h:383

Row counter (RC).


vmli ​

cpp
u8 vmli

Defined in Components/VICII/VICIITypes.h:384

Video matrix line index (VMLI).


ctrl1 ​

cpp
u8 ctrl1

Defined in Components/VICII/VICIITypes.h:387

Control register 1.


ctrl2 ​

cpp
u8 ctrl2

Defined in Components/VICII/VICIITypes.h:388

Control register 2.


dy ​

cpp
u8 dy

Defined in Components/VICII/VICIITypes.h:389

Vertical scroll value.


dx ​

cpp
u8 dx

Defined in Components/VICII/VICIITypes.h:390

Horizontal scroll value.


denBit ​

cpp
bool denBit

Defined in Components/VICII/VICIITypes.h:391

Display enable bit.


badLine ​

cpp
bool badLine

Defined in Components/VICII/VICIITypes.h:392

The current line is a bad line.


displayState ​

cpp
bool displayState

Defined in Components/VICII/VICIITypes.h:393

Display state (display or idle).


vblank ​

cpp
bool vblank

Defined in Components/VICII/VICIITypes.h:394

Vertical blanking is active.


screenGeometry ​

cpp
ScreenGeometry screenGeometry

Type: ScreenGeometry

Defined in Components/VICII/VICIITypes.h:395

Screen geometry.


frameFF ​

cpp
FrameFlipflops frameFF

Type: FrameFlipflops

Defined in Components/VICII/VICIITypes.h:396

Frame flip-flops.


displayMode ​

cpp
DisplayMode displayMode

Type: DisplayMode

Defined in Components/VICII/VICIITypes.h:397

Display mode.


borderColor ​

cpp
u8 borderColor

Defined in Components/VICII/VICIITypes.h:398

Border color.


bgColor0 ​

cpp
u8 bgColor0

Defined in Components/VICII/VICIITypes.h:399

Background color 0.


bgColor1 ​

cpp
u8 bgColor1

Defined in Components/VICII/VICIITypes.h:400

Background color 1.


bgColor2 ​

cpp
u8 bgColor2

Defined in Components/VICII/VICIITypes.h:401

Background color 2.


bgColor3 ​

cpp
u8 bgColor3

Defined in Components/VICII/VICIITypes.h:402

Background color 3.


memSelect ​

cpp
u8 memSelect

Defined in Components/VICII/VICIITypes.h:405

Memory control register.


ultimax ​

cpp
bool ultimax

Defined in Components/VICII/VICIITypes.h:406

Ultimax memory mode is active.


memoryBankAddr ​

cpp
u16 memoryBankAddr

Defined in Components/VICII/VICIITypes.h:407

Start address of the VIC bank.


screenMemoryAddr ​

cpp
u16 screenMemoryAddr

Defined in Components/VICII/VICIITypes.h:408

Address of the screen memory.


charMemoryAddr ​

cpp
u16 charMemoryAddr

Defined in Components/VICII/VICIITypes.h:409

Address of the character memory.


irqLine ​

cpp
u16 irqLine

Defined in Components/VICII/VICIITypes.h:412

Raster line that triggers a raster interrupt.


irr ​

cpp
u8 irr

Defined in Components/VICII/VICIITypes.h:413

Interrupt request register.


imr ​

cpp
u8 imr

Defined in Components/VICII/VICIITypes.h:414

Interrupt mask register.


latchedLPX ​

cpp
u8 latchedLPX

Defined in Components/VICII/VICIITypes.h:417

Latched light pen X coordinate.


latchedLPY ​

cpp
u8 latchedLPY

Defined in Components/VICII/VICIITypes.h:418

Latched light pen Y coordinate.


lpLine ​

cpp
bool lpLine

Defined in Components/VICII/VICIITypes.h:419

State of the light pen line.


lpIrqHasOccurred ​

cpp
bool lpIrqHasOccurred

Defined in Components/VICII/VICIITypes.h:420

A light pen interrupt has occurred in this frame.