BEEP-8 SDK 1.0.0
|
Structure representing an image loading command for the PPU (Pixel Processing Unit). More...
#include <ppu.h>
Public Attributes | |
unsigned | na0: 24 |
unsigned | code: 8 |
const u8 * | cpuaddr |
unsigned | na1: 8 |
unsigned | srcwtile: 6 |
unsigned | na2: 2 |
unsigned | srcytile: 6 |
unsigned | na3: 2 |
unsigned | srcxtile: 6 |
unsigned | na4: 2 |
unsigned | trnhtile: 6 |
unsigned | na5: 2 |
unsigned | trnwtile: 6 |
unsigned | na6: 2 |
unsigned | dstytile: 6 |
unsigned | na7: 2 |
unsigned | dstxtile: 6 |
unsigned | na8: 2 |
Structure representing an image loading command for the PPU (Pixel Processing Unit).
The BEEP-8 system uses tiles of size 8x8 pixels as the basic unit for BG (background) and SPRITE references. BEEP-8 has VRAM located in a different space from CPU memory, with a format of 64 tiles by 64 tiles. Both sprites and backgrounds can only reference VRAM.
The b8PpuLoadimg
structure is used to transfer tile compositions stored in CPU memory to VRAM.
unsigned _b8PpuLoadimg::code |
Command code for the image loading operation.
const u8* _b8PpuLoadimg::cpuaddr |
Pointer to the tile data in CPU memory.
unsigned _b8PpuLoadimg::dstxtile |
X-coordinate in tiles of the destination in VRAM.
unsigned _b8PpuLoadimg::dstytile |
Y-coordinate in tiles of the destination in VRAM.
unsigned _b8PpuLoadimg::na0 |
Reserved, not used.
unsigned _b8PpuLoadimg::na1 |
Reserved, not used.
unsigned _b8PpuLoadimg::na2 |
Reserved, not used.
unsigned _b8PpuLoadimg::na3 |
Reserved, not used.
unsigned _b8PpuLoadimg::na4 |
Reserved, not used.
unsigned _b8PpuLoadimg::na5 |
Reserved, not used.
unsigned _b8PpuLoadimg::na6 |
Reserved, not used.
unsigned _b8PpuLoadimg::na7 |
Reserved, not used.
unsigned _b8PpuLoadimg::na8 |
Reserved, not used.
unsigned _b8PpuLoadimg::srcwtile |
Width of the source image in tiles.
unsigned _b8PpuLoadimg::srcxtile |
X-coordinate in tiles of the source image.
unsigned _b8PpuLoadimg::srcytile |
Y-coordinate in tiles of the source image.
unsigned _b8PpuLoadimg::trnhtile |
Height of the transfer region in tiles.
unsigned _b8PpuLoadimg::trnwtile |
Width of the transfer region in tiles.