ComSquare
Public Attributes | List of all members
ComSquare::PPU::Registers Struct Reference

#include <PPURegisters.hpp>

Collaboration diagram for ComSquare::PPU::Registers:

Public Attributes

union {
   struct {
      uint8_t   brightness: 4
 Store the brightness value (F = max, 0 = off) More...
 
      uint8_t   _: 3
 
      uint8_t   fblank: 1
 Store the FBlank status. More...
 
   } 
 
   uint8_t   raw = 0
 
_inidisp
 INIDISP Register (F-blank and Brightness) More...
 
union {
   struct {
      uint8_t   nameBaseSelect: 3
 Stores the location of the first sprite table. More...
 
      uint8_t   nameSelect: 2
 Stores the offset of the second sprite table. More...
 
      uint8_t   objectSize: 3
 Stores the resolution preset of the sprites. More...
 
   } 
 
   uint8_t   raw = 0
 
_obsel
 OBSEL Register (Object Size and Character Address) More...
 
union {
   struct {
      uint16_t   oamAddress: 9
 Stores the address to write with OAMDATA register. More...
 
      uint16_t   _: 6
 
      uint16_t   objPriorityActivationBit: 1
 When Obj Priority activation bit is set, an Obj other than Sprite 0 may be given priority. More...
 
   } 
 
   struct {
      uint16_t   oamaddl: 8
 Stores the data written on the OAMADDL register. More...
 
      uint16_t   oamaddh: 8
 Stores the data written on the OAMADDH register. More...
 
   } 
 
   uint16_t   raw = 0
 
_oamadd
 OAMADD Register (OAM Address and Obj Priority) More...
 
uint8_t _oamdata = 0
 OAMDATA Register (Data for OAM write) More...
 
union {
   struct {
      uint8_t   bgMode: 3
 Stores the current BG Mode (0 - 7) More...
 
      uint8_t   mode1Bg3PriorityBit: 1
 When Mode 1 BG3 priority bit is set the BG3 is draw. More...
 
      uint8_t   characterSizeBg1: 1
 When The bit is set character size will 16x16 otherwise it is 8x8. More...
 
      uint8_t   characterSizeBg2: 1
 When The bit is set character size will 16x16 otherwise it is 8x8. More...
 
      uint8_t   characterSizeBg3: 1
 When The bit is set character size will 16x16 otherwise it is 8x8. More...
 
      uint8_t   characterSizeBg4: 1
 When The bit is set character size will 16x16 otherwise it is 8x8. More...
 
   } 
 
   uint8_t   raw = 0
 
_bgmode
 BGMODE Register (OAM Address and Obj Priority) More...
 
union {
   struct {
      uint8_t   affectBg1: 1
 Apply mosaic to the BG1. More...
 
      uint8_t   affectBg2: 1
 Apply mosaic to the BG2. More...
 
      uint8_t   affectBg3: 1
 Apply mosaic to the BG3. More...
 
      uint8_t   affectBg4: 1
 Apply mosaic to the BG4. More...
 
      uint8_t   pixelSize: 4
 Stores the pixel size (0 = 1x1, F = 16x16) More...
 
   } 
 
   uint8_t   raw = 0
 
_mosaic
 MOSAIC Register (Screen Pixelation) More...
 
union {
   struct {
      uint8_t   tilemapHorizontalMirroring: 1
 When tilemap horizontal mirroring bit is set the tilemap is mirrored horizontally. More...
 
      uint8_t   tilemapVerticalMirroring: 1
 When tilemap vertically mirroring bit is set the tilemap is mirrored vertically. More...
 
      uint8_t   tilemapAddress: 6
 Address of the tilemap Address (0, 0) More...
 
   } 
 
   uint8_t   raw = 0
 
_bgsc [4]
 BGSC Registers (BG Tilemap Address and Size) More...
 
union {
   struct {
      uint8_t   baseAddressBg1a3: 4
 The address let us know where to search for BG1/3 characters. More...
 
      uint8_t   baseAddressBg2a4: 4
 The address let us know where to search for BG2/4 characters. More...
 
   } 
 
   uint8_t   raw = 0
 
_bgnba [2]
 BGNBA Registers (BG1/2/3/4 Chr Address) More...
 
union {
   struct {
      uint16_t   offsetBg: 10
 
      uint16_t   _: 6
 
   } 
 
   uint16_t   raw = 0
 
_bgofs [8]
 BGXXOFS Register (BG1/2/3/4 Horizontal and Vertical Scrolls) More...
 
union {
   struct {
      uint16_t   offsetBg: 13
 
      uint16_t   _: 3
 
   } 
 
   uint16_t   raw = 0
 
_m7ofs [2]
 M7HOFS Register (Mode 7 BG Horizontal Scroll) More...
 
union {
   struct {
      uint8_t   incrementAmount: 2
 
      uint8_t   addressRemapping: 2
 
      uint8_t   _: 3
 
      uint8_t   incrementMode: 1
 
   } 
 
   uint8_t   raw = 0
 
_vmain
 VMAIN Register (Video Port Control) More...
 
uint8_t _incrementAmount = 1
 Store the real value of the increment Amount (1, 32, 128) instead of 0,1 or 2. More...
 
union {
   struct {
      uint16_t   vmaddl: 8
 
      uint16_t   vmaddh: 8
 
   } 
 
   uint16_t   vmadd = 0
 
_vmadd
 VMADD Register (VRAM Address) More...
 
union {
   struct {
      uint16_t   vmdatal: 8
 
      uint16_t   vmdatah: 8
 
   } 
 
   uint16_t   vmdata = 0
 
_vmdata
 VMDATA Register (VRAM Data Write) More...
 
union {
   struct {
      uint8_t   horizontalMirroring: 1
 
      uint8_t   verticalMirroring: 1
 
      uint8_t   _: 4
 
      uint8_t   emptySpaceFill: 1
 
      uint8_t   playingFieldSize: 1
 
   } 
 
   uint8_t   raw = 0
 
_m7sel
 TODO M7SEL Register (Mode 7 Settings) More...
 
union {
   struct {
      uint16_t   m7l: 8
 
      uint16_t   m7h: 8
 
   } 
 
   uint16_t   m7 = 0
 
_m7 [4]
 M7A M7B M7C M7C registers, M7A and M7B are also used with ($2134/6) (multiplactions registers) More...
 
union {
   struct {
      uint16_t   _: 3
 
      uint16_t   value: 13
 
   } 
 
   uint16_t   raw = 0
 
_m7x
 M7X Register (Mode 7 Center X) More...
 
union {
   struct {
      uint16_t   _: 3
 
      uint16_t   value: 13
 
   } 
 
   uint16_t   raw = 0
 
_m7y
 M7Y Register (Mode 7 Center Y) More...
 
uint8_t _cgadd = 0
 CGADD Register (CGRAM Address) More...
 
union {
   struct {
      uint16_t   red: 5
 
      uint16_t   green: 5
 
      uint16_t   blue: 5
 
      uint16_t   _: 1
 
   } 
 
   struct {
      uint16_t   cgdatal: 8
 
      uint16_t   cgdatah: 8
 
   } 
 
   uint16_t   raw = 0
 
_cgdata
 CGDATA Register (CGRAM Data write) More...
 
bool _isLowByte = false
 This bool is used for writing either the low byte of the data (first call) or the high byte of the data (second call) @info This bool is set to True when writing to $2121 (CGADD) More...
 
union {
   struct {
      uint8_t   enableWindow2ForBg2Bg4Color: 1
 
      uint8_t   window2InversionForBg2Bg4Color: 1
 
      uint8_t   enableWindow1ForBg2Bg4Color: 1
 
      uint8_t   window1InversionForBg2Bg4Color: 1
 
      uint8_t   enableWindow2ForBg1Bg3Obj: 1
 
      uint8_t   window2InversionForBg1Bg3Obj: 1
 
      uint8_t   enableWindow1ForBg1Bg3Obj: 1
 
      uint8_t   window1InversionForBg1Bg3Obj: 1
 
   } 
 
   uint8_t   raw = 0
 
_wsel [3]
 W12SEL - W34SEL Registers (Window Mask Settings for BGs) and WOBJSEL Register (Window Mask Settings for OBJ and Color Window) More...
 
uint8_t _wh [4] = {0}
 WH0 Register (Window 1 Left Position) More...
 
union {
   struct {
      uint8_t   maskLogicBg4: 2
 
      uint8_t   maskLogicBg3: 2
 
      uint8_t   maskLogicBg2: 2
 
      uint8_t   maskLogicBg1: 2
 
   } 
 
   uint8_t   raw = 0
 
_wbglog
 WBGLOG Register (Window mask logic for BGs) More...
 
union {
   struct {
      uint8_t   maskLogicObj: 2
 
      uint8_t   maskLogicColor: 2
 
      uint8_t   _: 4
 
   } 
 
   uint8_t   raw = 0
 
_wobjlog
 WOBJLOG Register (Window mask logic for OBJs and Color Window) More...
 
union {
   struct {
      uint8_t   enableWindowDisplayBg1: 1
 
      uint8_t   enableWindowDisplayBg2: 1
 
      uint8_t   enableWindowDisplayBg3: 1
 
      uint8_t   enableWindowDisplayBg4: 1
 
      uint8_t   enableWindowDisplayObj: 1
 
      uint8_t   _: 3
 
   } 
 
   uint8_t   raw = 0
 
_t [2]
 TM - TS Registers (Main & Sub Screen Designation) More...
 
union {
   struct {
      uint8_t   enableWindowMaskingBg1: 1
 
      uint8_t   enableWindowMaskingBg2: 1
 
      uint8_t   enableWindowMaskingBg3: 1
 
      uint8_t   enableWindowMaskingBg4: 1
 
      uint8_t   enableWindowMaskingObj: 1
 
      uint8_t   _: 3
 
   } 
 
   uint8_t   raw = 0
 
_tw [2]
 TMW - TSW Registers (Window Mask Designation for the Main/Sub Screen) More...
 
union {
   struct {
      uint8_t   directColorMode: 1
 
      uint8_t   addSubscreen: 1
 
      uint8_t   _: 2
 
      uint8_t   preventColorMath: 2
 
      uint8_t   clipColorToBlackBeforeMath: 2
 
   } 
 
   uint8_t   raw = 0
 
_cgwsel
 CGWSEL Register (Color Addition Select) More...
 
union {
   struct {
      uint8_t   enableColorMathBg1: 1
 
      uint8_t   enableColorMathBg2: 1
 
      uint8_t   enableColorMathBg3: 1
 
      uint8_t   enableColorMathBg4: 1
 
      uint8_t   enableColorMathObj: 1
 
      uint8_t   enableColorMathBackdrop: 1
 
      uint8_t   halfColorMath: 1
 
      uint8_t   addSubtractSelect: 1
 
   } 
 
   uint8_t   raw = 0
 
_cgadsub
 CGADSUB Register (Color Math designation) More...
 
union {
   struct {
      uint8_t   colorIntensity: 5
 
      uint8_t   red: 1
 
      uint8_t   green: 1
 
      uint8_t   blue: 1
 
   } 
 
   uint8_t   raw = 0
 
_coldata
 COLDATA Register (Fixed Color Data) More...
 
union {
   struct {
      uint8_t   screenInterlace: 1
 
      uint8_t   objInterlace: 1
 
      uint8_t   overscanMode: 1
 
      uint8_t   enablePseudoHiresMode: 1
 
      uint8_t   _: 2
 
      uint8_t   mode7ExtBg: 1
 
      uint8_t   externalSync: 1
 
   } 
 
   uint8_t   raw = 0
 
_setini
 SETINI Register (Screen Mode/Video Select) More...
 
union {
   struct {
      uint32_t   mpyl: 8
 
      uint32_t   mpym: 8
 
      uint32_t   mpyh: 8
 
      uint32_t   _: 8
 
   } 
 
   uint32_t   mpy = 0
 
_mpy
 MPYL - MPYM - MPYH Registers (Multiplication Result) More...
 
uint8_t _slhv = 0
 SLHV - Software Latch for H/V Counter. More...
 
uint8_t _oamdataread = 0
 OAMDATAREAD - Data for OAM read. More...
 
union {
   struct {
      uint16_t   vmDataLRead: 8
 
      uint16_t   vmDataHRead: 8
 
   } 
 
   uint16_t   raw = 0
 
_vmdataread
 VMDATALREAD/VMDATAHREAD - VRAM Data Read low/high byte. More...
 
union {
   struct {
      uint16_t   cgDataLRead: 8
 
      uint16_t   cgDataHRead: 8
 
   } 
 
   uint16_t   raw = 0
 
_cgdataread
 CGRAM Data read. More...
 
union {
   struct {
      uint16_t   opct: 9
 
      uint16_t   _: 7
 
   } 
 
   uint16_t   raw = 0
 
_opct
 OPHCT/OPVCT - Horizontal/Vertical Scanline Location. More...
 
union {
   struct {
      uint8_t   chipVersionNumber: 4
 
      uint8_t   _: 1
 
      uint8_t   modeSelect: 1
 
      uint8_t   rangeOverFlag: 1
 
      uint8_t   timeOverFlag: 1
 
   } 
 
   uint8_t   raw = 0
 
_stat77
 STAT77 - PPU Status Flag and Version. More...
 
union {
   struct {
      uint8_t   chipVersionNumber: 4
 
      uint8_t   mode: 1
 
      uint8_t   _: 1
 
      uint8_t   externalLatchFlag: 1
 
      uint8_t   interlaceField: 1
 
   } 
 
   uint8_t   raw = 0
 
_stat78
 STAT78 - PPU Status Flag and Version. More...
 

Member Data Documentation

◆ _ [1/3]

uint8_t ComSquare::PPU::Registers::_

◆ _ [2/3]

uint16_t ComSquare::PPU::Registers::_

◆ _ [3/3]

uint32_t ComSquare::PPU::Registers::_

◆ _bgmode

union { ... } ComSquare::PPU::Registers::_bgmode

BGMODE Register (OAM Address and Obj Priority)

◆ _bgnba

union { ... } ComSquare::PPU::Registers::_bgnba[2]

BGNBA Registers (BG1/2/3/4 Chr Address)

◆ _bgofs

union { ... } ComSquare::PPU::Registers::_bgofs[8]

BGXXOFS Register (BG1/2/3/4 Horizontal and Vertical Scrolls)

◆ _bgsc

union { ... } ComSquare::PPU::Registers::_bgsc[4]

BGSC Registers (BG Tilemap Address and Size)

◆ _cgadd

uint8_t ComSquare::PPU::Registers::_cgadd = 0

CGADD Register (CGRAM Address)

◆ _cgadsub

union { ... } ComSquare::PPU::Registers::_cgadsub

CGADSUB Register (Color Math designation)

◆ _cgdata

union { ... } ComSquare::PPU::Registers::_cgdata

CGDATA Register (CGRAM Data write)

◆ _cgdataread

union { ... } ComSquare::PPU::Registers::_cgdataread

CGRAM Data read.

◆ _cgwsel

union { ... } ComSquare::PPU::Registers::_cgwsel

CGWSEL Register (Color Addition Select)

◆ _coldata

union { ... } ComSquare::PPU::Registers::_coldata

COLDATA Register (Fixed Color Data)

◆ _incrementAmount

uint8_t ComSquare::PPU::Registers::_incrementAmount = 1

Store the real value of the increment Amount (1, 32, 128) instead of 0,1 or 2.

◆ _inidisp

union { ... } ComSquare::PPU::Registers::_inidisp

INIDISP Register (F-blank and Brightness)

◆ _isLowByte

bool ComSquare::PPU::Registers::_isLowByte = false

This bool is used for writing either the low byte of the data (first call) or the high byte of the data (second call) @info This bool is set to True when writing to $2121 (CGADD)

◆ _m7

union { ... } ComSquare::PPU::Registers::_m7[4]

M7A M7B M7C M7C registers, M7A and M7B are also used with ($2134/6) (multiplactions registers)

◆ _m7ofs

union { ... } ComSquare::PPU::Registers::_m7ofs[2]

M7HOFS Register (Mode 7 BG Horizontal Scroll)

M7VOFS Register (Mode 7 BG Vertical Scroll)

◆ _m7sel

union { ... } ComSquare::PPU::Registers::_m7sel

TODO M7SEL Register (Mode 7 Settings)

◆ _m7x

union { ... } ComSquare::PPU::Registers::_m7x

M7X Register (Mode 7 Center X)

◆ _m7y

union { ... } ComSquare::PPU::Registers::_m7y

M7Y Register (Mode 7 Center Y)

◆ _mosaic

union { ... } ComSquare::PPU::Registers::_mosaic

MOSAIC Register (Screen Pixelation)

◆ _mpy

union { ... } ComSquare::PPU::Registers::_mpy

MPYL - MPYM - MPYH Registers (Multiplication Result)

◆ _oamadd

union { ... } ComSquare::PPU::Registers::_oamadd

OAMADD Register (OAM Address and Obj Priority)

◆ _oamdata

uint8_t ComSquare::PPU::Registers::_oamdata = 0

OAMDATA Register (Data for OAM write)

◆ _oamdataread

uint8_t ComSquare::PPU::Registers::_oamdataread = 0

OAMDATAREAD - Data for OAM read.

◆ _obsel

union { ... } ComSquare::PPU::Registers::_obsel

OBSEL Register (Object Size and Character Address)

◆ _opct

union { ... } ComSquare::PPU::Registers::_opct

OPHCT/OPVCT - Horizontal/Vertical Scanline Location.

◆ _setini

union { ... } ComSquare::PPU::Registers::_setini

SETINI Register (Screen Mode/Video Select)

◆ _slhv

uint8_t ComSquare::PPU::Registers::_slhv = 0

SLHV - Software Latch for H/V Counter.

◆ _stat77

union { ... } ComSquare::PPU::Registers::_stat77

STAT77 - PPU Status Flag and Version.

◆ _stat78

union { ... } ComSquare::PPU::Registers::_stat78

STAT78 - PPU Status Flag and Version.

◆ _t

union { ... } ComSquare::PPU::Registers::_t[2]

TM - TS Registers (Main & Sub Screen Designation)

◆ _tw

union { ... } ComSquare::PPU::Registers::_tw[2]

TMW - TSW Registers (Window Mask Designation for the Main/Sub Screen)

◆ _vmadd

union { ... } ComSquare::PPU::Registers::_vmadd

VMADD Register (VRAM Address)

◆ _vmain

union { ... } ComSquare::PPU::Registers::_vmain

VMAIN Register (Video Port Control)

◆ _vmdata

union { ... } ComSquare::PPU::Registers::_vmdata

VMDATA Register (VRAM Data Write)

◆ _vmdataread

union { ... } ComSquare::PPU::Registers::_vmdataread

VMDATALREAD/VMDATAHREAD - VRAM Data Read low/high byte.

◆ _wbglog

union { ... } ComSquare::PPU::Registers::_wbglog

WBGLOG Register (Window mask logic for BGs)

◆ _wh

uint8_t ComSquare::PPU::Registers::_wh[4] = {0}

WH0 Register (Window 1 Left Position)

WH1 Register (Window 1 Right Position)

WH2 Register (Window 2 Left Position)

WH3 Register (Window 2 Right Position)

◆ _wobjlog

union { ... } ComSquare::PPU::Registers::_wobjlog

WOBJLOG Register (Window mask logic for OBJs and Color Window)

◆ _wsel

union { ... } ComSquare::PPU::Registers::_wsel[3]

W12SEL - W34SEL Registers (Window Mask Settings for BGs) and WOBJSEL Register (Window Mask Settings for OBJ and Color Window)

◆ addressRemapping

uint8_t ComSquare::PPU::Registers::addressRemapping

◆ addSubscreen

uint8_t ComSquare::PPU::Registers::addSubscreen

◆ addSubtractSelect

uint8_t ComSquare::PPU::Registers::addSubtractSelect

◆ affectBg1

uint8_t ComSquare::PPU::Registers::affectBg1

Apply mosaic to the BG1.

◆ affectBg2

uint8_t ComSquare::PPU::Registers::affectBg2

Apply mosaic to the BG2.

◆ affectBg3

uint8_t ComSquare::PPU::Registers::affectBg3

Apply mosaic to the BG3.

◆ affectBg4

uint8_t ComSquare::PPU::Registers::affectBg4

Apply mosaic to the BG4.

◆ baseAddressBg1a3

uint8_t ComSquare::PPU::Registers::baseAddressBg1a3

The address let us know where to search for BG1/3 characters.

◆ baseAddressBg2a4

uint8_t ComSquare::PPU::Registers::baseAddressBg2a4

The address let us know where to search for BG2/4 characters.

◆ bgMode

uint8_t ComSquare::PPU::Registers::bgMode

Stores the current BG Mode (0 - 7)

◆ blue [1/2]

uint16_t ComSquare::PPU::Registers::blue

◆ blue [2/2]

uint8_t ComSquare::PPU::Registers::blue

◆ brightness

uint8_t ComSquare::PPU::Registers::brightness

Store the brightness value (F = max, 0 = off)

◆ cgdatah

uint16_t ComSquare::PPU::Registers::cgdatah

◆ cgDataHRead

uint16_t ComSquare::PPU::Registers::cgDataHRead

◆ cgdatal

uint16_t ComSquare::PPU::Registers::cgdatal

◆ cgDataLRead

uint16_t ComSquare::PPU::Registers::cgDataLRead

◆ characterSizeBg1

uint8_t ComSquare::PPU::Registers::characterSizeBg1

When The bit is set character size will 16x16 otherwise it is 8x8.

◆ characterSizeBg2

uint8_t ComSquare::PPU::Registers::characterSizeBg2

When The bit is set character size will 16x16 otherwise it is 8x8.

◆ characterSizeBg3

uint8_t ComSquare::PPU::Registers::characterSizeBg3

When The bit is set character size will 16x16 otherwise it is 8x8.

◆ characterSizeBg4

uint8_t ComSquare::PPU::Registers::characterSizeBg4

When The bit is set character size will 16x16 otherwise it is 8x8.

◆ chipVersionNumber

uint8_t ComSquare::PPU::Registers::chipVersionNumber

◆ clipColorToBlackBeforeMath

uint8_t ComSquare::PPU::Registers::clipColorToBlackBeforeMath

◆ colorIntensity

uint8_t ComSquare::PPU::Registers::colorIntensity

◆ directColorMode

uint8_t ComSquare::PPU::Registers::directColorMode

◆ emptySpaceFill

uint8_t ComSquare::PPU::Registers::emptySpaceFill

◆ enableColorMathBackdrop

uint8_t ComSquare::PPU::Registers::enableColorMathBackdrop

◆ enableColorMathBg1

uint8_t ComSquare::PPU::Registers::enableColorMathBg1

◆ enableColorMathBg2

uint8_t ComSquare::PPU::Registers::enableColorMathBg2

◆ enableColorMathBg3

uint8_t ComSquare::PPU::Registers::enableColorMathBg3

◆ enableColorMathBg4

uint8_t ComSquare::PPU::Registers::enableColorMathBg4

◆ enableColorMathObj

uint8_t ComSquare::PPU::Registers::enableColorMathObj

◆ enablePseudoHiresMode

uint8_t ComSquare::PPU::Registers::enablePseudoHiresMode

◆ enableWindow1ForBg1Bg3Obj

uint8_t ComSquare::PPU::Registers::enableWindow1ForBg1Bg3Obj

◆ enableWindow1ForBg2Bg4Color

uint8_t ComSquare::PPU::Registers::enableWindow1ForBg2Bg4Color

◆ enableWindow2ForBg1Bg3Obj

uint8_t ComSquare::PPU::Registers::enableWindow2ForBg1Bg3Obj

◆ enableWindow2ForBg2Bg4Color

uint8_t ComSquare::PPU::Registers::enableWindow2ForBg2Bg4Color

◆ enableWindowDisplayBg1

uint8_t ComSquare::PPU::Registers::enableWindowDisplayBg1

◆ enableWindowDisplayBg2

uint8_t ComSquare::PPU::Registers::enableWindowDisplayBg2

◆ enableWindowDisplayBg3

uint8_t ComSquare::PPU::Registers::enableWindowDisplayBg3

◆ enableWindowDisplayBg4

uint8_t ComSquare::PPU::Registers::enableWindowDisplayBg4

◆ enableWindowDisplayObj

uint8_t ComSquare::PPU::Registers::enableWindowDisplayObj

◆ enableWindowMaskingBg1

uint8_t ComSquare::PPU::Registers::enableWindowMaskingBg1

◆ enableWindowMaskingBg2

uint8_t ComSquare::PPU::Registers::enableWindowMaskingBg2

◆ enableWindowMaskingBg3

uint8_t ComSquare::PPU::Registers::enableWindowMaskingBg3

◆ enableWindowMaskingBg4

uint8_t ComSquare::PPU::Registers::enableWindowMaskingBg4

◆ enableWindowMaskingObj

uint8_t ComSquare::PPU::Registers::enableWindowMaskingObj

◆ externalLatchFlag

uint8_t ComSquare::PPU::Registers::externalLatchFlag

◆ externalSync

uint8_t ComSquare::PPU::Registers::externalSync

◆ fblank

uint8_t ComSquare::PPU::Registers::fblank

Store the FBlank status.

◆ green [1/2]

uint16_t ComSquare::PPU::Registers::green

◆ green [2/2]

uint8_t ComSquare::PPU::Registers::green

◆ halfColorMath

uint8_t ComSquare::PPU::Registers::halfColorMath

◆ horizontalMirroring

uint8_t ComSquare::PPU::Registers::horizontalMirroring

◆ incrementAmount

uint8_t ComSquare::PPU::Registers::incrementAmount

◆ incrementMode

uint8_t ComSquare::PPU::Registers::incrementMode

◆ interlaceField

uint8_t ComSquare::PPU::Registers::interlaceField

◆ m7

uint16_t ComSquare::PPU::Registers::m7 = 0

◆ m7h

uint16_t ComSquare::PPU::Registers::m7h

◆ m7l

uint16_t ComSquare::PPU::Registers::m7l

◆ maskLogicBg1

uint8_t ComSquare::PPU::Registers::maskLogicBg1

◆ maskLogicBg2

uint8_t ComSquare::PPU::Registers::maskLogicBg2

◆ maskLogicBg3

uint8_t ComSquare::PPU::Registers::maskLogicBg3

◆ maskLogicBg4

uint8_t ComSquare::PPU::Registers::maskLogicBg4

◆ maskLogicColor

uint8_t ComSquare::PPU::Registers::maskLogicColor

◆ maskLogicObj

uint8_t ComSquare::PPU::Registers::maskLogicObj

◆ mode

uint8_t ComSquare::PPU::Registers::mode

◆ mode1Bg3PriorityBit

uint8_t ComSquare::PPU::Registers::mode1Bg3PriorityBit

When Mode 1 BG3 priority bit is set the BG3 is draw.

◆ mode7ExtBg

uint8_t ComSquare::PPU::Registers::mode7ExtBg

◆ modeSelect

uint8_t ComSquare::PPU::Registers::modeSelect

◆ mpy

uint32_t ComSquare::PPU::Registers::mpy = 0

◆ mpyh

uint32_t ComSquare::PPU::Registers::mpyh

◆ mpyl

uint32_t ComSquare::PPU::Registers::mpyl

◆ mpym

uint32_t ComSquare::PPU::Registers::mpym

◆ nameBaseSelect

uint8_t ComSquare::PPU::Registers::nameBaseSelect

Stores the location of the first sprite table.

◆ nameSelect

uint8_t ComSquare::PPU::Registers::nameSelect

Stores the offset of the second sprite table.

◆ oamaddh

uint16_t ComSquare::PPU::Registers::oamaddh

Stores the data written on the OAMADDH register.

◆ oamaddl

uint16_t ComSquare::PPU::Registers::oamaddl

Stores the data written on the OAMADDL register.

◆ oamAddress

uint16_t ComSquare::PPU::Registers::oamAddress

Stores the address to write with OAMDATA register.

◆ objectSize

uint8_t ComSquare::PPU::Registers::objectSize

Stores the resolution preset of the sprites.

◆ objInterlace

uint8_t ComSquare::PPU::Registers::objInterlace

◆ objPriorityActivationBit

uint16_t ComSquare::PPU::Registers::objPriorityActivationBit

When Obj Priority activation bit is set, an Obj other than Sprite 0 may be given priority.

◆ offsetBg

uint16_t ComSquare::PPU::Registers::offsetBg

◆ opct

uint16_t ComSquare::PPU::Registers::opct

◆ overscanMode

uint8_t ComSquare::PPU::Registers::overscanMode

◆ pixelSize

uint8_t ComSquare::PPU::Registers::pixelSize

Stores the pixel size (0 = 1x1, F = 16x16)

◆ playingFieldSize

uint8_t ComSquare::PPU::Registers::playingFieldSize

◆ preventColorMath

uint8_t ComSquare::PPU::Registers::preventColorMath

◆ rangeOverFlag

uint8_t ComSquare::PPU::Registers::rangeOverFlag

◆ raw [1/2]

uint8_t ComSquare::PPU::Registers::raw = 0

◆ raw [2/2]

uint16_t ComSquare::PPU::Registers::raw = 0

◆ red [1/2]

uint16_t ComSquare::PPU::Registers::red

◆ red [2/2]

uint8_t ComSquare::PPU::Registers::red

◆ screenInterlace

uint8_t ComSquare::PPU::Registers::screenInterlace

◆ tilemapAddress

uint8_t ComSquare::PPU::Registers::tilemapAddress

Address of the tilemap Address (0, 0)

◆ tilemapHorizontalMirroring

uint8_t ComSquare::PPU::Registers::tilemapHorizontalMirroring

When tilemap horizontal mirroring bit is set the tilemap is mirrored horizontally.

◆ tilemapVerticalMirroring

uint8_t ComSquare::PPU::Registers::tilemapVerticalMirroring

When tilemap vertically mirroring bit is set the tilemap is mirrored vertically.

◆ timeOverFlag

uint8_t ComSquare::PPU::Registers::timeOverFlag

◆ value

uint16_t ComSquare::PPU::Registers::value

◆ verticalMirroring

uint8_t ComSquare::PPU::Registers::verticalMirroring

◆ vmadd

uint16_t ComSquare::PPU::Registers::vmadd = 0

◆ vmaddh

uint16_t ComSquare::PPU::Registers::vmaddh

◆ vmaddl

uint16_t ComSquare::PPU::Registers::vmaddl

◆ vmdata

uint16_t ComSquare::PPU::Registers::vmdata = 0

◆ vmdatah

uint16_t ComSquare::PPU::Registers::vmdatah

◆ vmDataHRead

uint16_t ComSquare::PPU::Registers::vmDataHRead

◆ vmdatal

uint16_t ComSquare::PPU::Registers::vmdatal

◆ vmDataLRead

uint16_t ComSquare::PPU::Registers::vmDataLRead

◆ window1InversionForBg1Bg3Obj

uint8_t ComSquare::PPU::Registers::window1InversionForBg1Bg3Obj

◆ window1InversionForBg2Bg4Color

uint8_t ComSquare::PPU::Registers::window1InversionForBg2Bg4Color

◆ window2InversionForBg1Bg3Obj

uint8_t ComSquare::PPU::Registers::window2InversionForBg1Bg3Obj

◆ window2InversionForBg2Bg4Color

uint8_t ComSquare::PPU::Registers::window2InversionForBg2Bg4Color

The documentation for this struct was generated from the following file: