BEEP-8 SDK 1.0.0
Loading...
Searching...
No Matches
_b8PpuBg Struct Reference

Structure representing a background configuration command for the PPU (Pixel Processing Unit). More...

#include <ppu.h>

Public Attributes

unsigned htile: 4
 
unsigned na0: 8
 
unsigned wtile: 4
 
unsigned na1: 8
 
unsigned code: 8
 
b8PpuBgTilecpuaddr
 
signed vpix: 16
 
signed upix: 16
 
unsigned vwrap: 2
 
unsigned uwrap: 2
 
unsigned na2: 28
 

Detailed Description

Structure representing a background configuration command for the PPU (Pixel Processing Unit).

Member Data Documentation

◆ code

unsigned _b8PpuBg::code

Command code for background configuration.

◆ cpuaddr

b8PpuBgTile* _b8PpuBg::cpuaddr

Pointer to the background tile data in CPU memory.

◆ htile

unsigned _b8PpuBg::htile

Number of tiles in the vertical direction, specified as a power of 2.

◆ na0

unsigned _b8PpuBg::na0

Reserved, not used.

◆ na1

unsigned _b8PpuBg::na1

Reserved, not used.

◆ na2

unsigned _b8PpuBg::na2

Reserved, not used.

◆ upix

signed _b8PpuBg::upix

Horizontal offset for the background.

◆ uwrap

unsigned _b8PpuBg::uwrap

Horizontal wrapping mode (see B8_PPU_BG_WRAP_*).

◆ vpix

signed _b8PpuBg::vpix

Vertical offset for the background.

◆ vwrap

unsigned _b8PpuBg::vwrap

Vertical wrapping mode (see B8_PPU_BG_WRAP_*).

◆ wtile

unsigned _b8PpuBg::wtile

Number of tiles in the horizontal direction, specified as a power of 2.


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