0.3.1
Rotation Scroll Screen

Data Structures

struct  vdp2_scrn_coeff_params
 Not yet documented. More...
 
struct  vdp2_scrn_rp_table
 Not yet documented. More...
 
struct  vdp2_scrn_rotation_params
 Not yet documented. More...
 
union  vdp2_scrn_rp_table.matrix
 
struct  vdp2_scrn_rp_table.matrix.param
 

Typedefs

typedef enum vdp2_scrn_rp_mode vdp2_scrn_rp_mode_t
 Not yet documented.
 
typedef enum vdp2_scrn_rsop_type vdp2_scrn_rsop_type_t
 Not yet documented.
 
typedef enum vdp2_scrn_coeff_usage vdp2_scrn_coeff_usage_t
 Not yet documented.
 
typedef enum vdp2_scrn_coeff_word_size vdp2_scrn_coeff_word_size_t
 Not yet documented.
 
typedef struct vdp2_scrn_coeff_params vdp2_scrn_coeff_params_t
 Not yet documented.
 
typedef struct vdp2_scrn_rp_table vdp2_scrn_rp_table_t
 Not yet documented.
 
typedef struct vdp2_scrn_rotation_params vdp2_scrn_rotation_params_t
 Not yet documented.
 

Enumerations

enum  vdp2_scrn_rp_mode
 Not yet documented. More...
 
enum  vdp2_scrn_rsop_type
 Not yet documented. More...
 
enum  vdp2_scrn_coeff_usage
 Not yet documented. More...
 
enum  vdp2_scrn_coeff_word_size
 Not yet documented. More...
 

Functions

void vdp2_scrn_rotation_sop_set (const vdp2_scrn_rotation_params_t *rotation_params)
 Not yet documented.
 
void vdp2_scrn_rotation_rp_mode_set (const vdp2_scrn_rotation_params_t *rotation_params)
 Not yet documented.
 
void vdp2_scrn_rotation_rp_table_set (const vdp2_scrn_rotation_params_t *rotation_params)
 Not yet documented.
 
void vdp2_scrn_rotation_rp_read_set (const vdp2_scrn_rotation_params_t *rotation_params)
 Not yet documented.
 
void vdp2_scrn_rotation_coeff_params_set (const vdp2_scrn_rotation_params_t *rotation_params)
 Not yet documented.
 
void vdp2_scrn_rotation_coeff_table_set (const vdp2_scrn_rotation_params_t *rotation_params)
 Not yet documented.
 

Detailed Description

Description goes here.


Data Structure Documentation

◆ vdp2_scrn_coeff_params

struct vdp2_scrn_coeff_params

Not yet documented.

Data Fields
vdp2_scrn_coeff_usage_t usage Not yet documented.
vdp2_scrn_coeff_word_size_t word_size Not yet documented.
unsigned int xst_read_enable:1 Not yet documented.
unsigned int yst_read_enable:1 Not yet documented.
unsigned int kast_read_enable:1 Not yet documented.
unsigned int lncl_enable:1

Line color screen data is only available when vdp2_scrn_coeff_params::word_size is 2.

unsigned int enable:1 Eanble coefficient table.

◆ vdp2_scrn_rp_table

struct vdp2_scrn_rp_table

Not yet documented.

Data Fields
uint32_t xst Screen start coordinates for X.
uint32_t yst Screen start coordinates for Y.
uint32_t zst Screen start coordinates for Z.
uint32_t delta_xst Screen vertical coordinate increments (per each line) for X.
uint32_t delta_yst Screen vertical coordinate increments (per each line) for Y.
uint32_t delta_x Screen horizontal coordinate increments (per each dot) for X.
uint32_t delta_y Screen horizontal coordinate increments (per each dot) for Y.
union vdp2_scrn_rp_table.matrix matrix

Rotation matrix.

\begin{bmatrix} A & B & C\\ D & E & F\\ G & H & I \end{bmatrix}

uint16_t px View point coordinates for X.
uint16_t py View point coordinates for Y.
uint16_t pz View point coordinates for Z.
uint16_t cx Center coordinate for X.
uint16_t cy Center coordinate for Y.
uint16_t cz Center coordinate for Z.
uint32_t mx Amount of horizontal shifting for X.
uint32_t my Amount of horizontal shifting for Y.
uint32_t kx Expansion/reduction coefficient X.
uint32_t ky Expansion/reduction coefficient Y.
vdp2_vram_t kast Coefficient table start address.
uint32_t delta_kast Address increment coeffient table (per line).
uint32_t delta_kax Address increment coeffient table (per dot).

◆ vdp2_scrn_rotation_params

struct vdp2_scrn_rotation_params

Not yet documented.

Data Fields
vdp2_scrn_rp_mode_t rp_mode Rotation parameter mode.
vdp2_scrn_rsop_type_t rsop_type Screen-over process type.
vdp2_scrn_coeff_params_t coeff_params Coefficient table parameters.
const vdp2_scrn_rp_table_t * rp_table Pointer to rotation parameter.
vdp2_vram_t rp_table_base Rotation parameter table base address.

◆ vdp2_scrn_rp_table.matrix

union vdp2_scrn_rp_table.matrix

Rotation matrix.

\begin{bmatrix} A & B & C\\ D & E & F\\ G & H & I \end{bmatrix}

Data Fields
uint32_t raw[2][3] Not yet tested.
struct vdp2_scrn_rp_table.matrix.param param
uint32_t params[6] Parameters \(A\), \(B\), \(C\), \(D\), \(E\), and \(F\).

◆ vdp2_scrn_rp_table.matrix.param

struct vdp2_scrn_rp_table.matrix.param
Data Fields
uint32_t a Parameter \(A\).
uint32_t b Parameter \(B\).
uint32_t c Parameter \(C\).
uint32_t d Parameter \(D\).
uint32_t e Parameter \(E\).
uint32_t f Parameter \(F\).

Enumeration Type Documentation

◆ vdp2_scrn_rp_mode

Not yet documented.

Enumerator
VDP2_SCRN_RP_MODE_0 

Rotation Parameter A.

VDP2_SCRN_RP_MODE_1 

Rotation Parameter B.

VDP2_SCRN_RP_MODE_2 

Swap coefficient data read.

VDP2_SCRN_RP_MODE_3 

Swap via rotation parameter window.

◆ vdp2_scrn_rsop_type

Not yet documented.

Enumerator
VDP2_SCRN_RSOP_TYPE_REPEAT 

Not yet documented.

VDP2_SCRN_RSOP_TYPE_CELL_REPEAT 

Not yet documented.

VDP2_SCRN_RSOP_TYPE_DISPLAY_TRANSPARENT 

Not yet documented.

VDP2_SCRN_RSOP_TYPE_TRANSPARENT 

Not yet documented.

◆ vdp2_scrn_coeff_usage

Not yet documented.

Enumerator
VDP2_SCRN_COEFF_USAGE_KX_KY 

Not yet documented.

VDP2_SCRN_COEFF_USAGE_KX 

Not yet documented.

VDP2_SCRN_COEFF_USAGE_KY 

Not yet documented.

VDP2_SCRN_COEFF_USAGE_XP_CONVERSION 

Not yet documented.

◆ vdp2_scrn_coeff_word_size

Not yet documented.

Enumerator
VDP2_SCRN_COEFF_WORD_SIZE_1 

Not yet documented.

VDP2_SCRN_COEFF_WORD_SIZE_2 

Not yet documented.

Function Documentation

◆ vdp2_scrn_rotation_sop_set()

void vdp2_scrn_rotation_sop_set ( const vdp2_scrn_rotation_params_t rotation_params)

Not yet documented.

Parameters
[in]rotation_params

◆ vdp2_scrn_rotation_rp_mode_set()

void vdp2_scrn_rotation_rp_mode_set ( const vdp2_scrn_rotation_params_t rotation_params)

Not yet documented.

Parameters
[in]rotation_params

◆ vdp2_scrn_rotation_rp_table_set()

void vdp2_scrn_rotation_rp_table_set ( const vdp2_scrn_rotation_params_t rotation_params)

Not yet documented.

Parameters
[in]rotation_params

◆ vdp2_scrn_rotation_rp_read_set()

void vdp2_scrn_rotation_rp_read_set ( const vdp2_scrn_rotation_params_t rotation_params)

Not yet documented.

Parameters
[in]rotation_params

◆ vdp2_scrn_rotation_coeff_params_set()

void vdp2_scrn_rotation_coeff_params_set ( const vdp2_scrn_rotation_params_t rotation_params)

Not yet documented.

Parameters
[in]rotation_params

◆ vdp2_scrn_rotation_coeff_table_set()

void vdp2_scrn_rotation_coeff_table_set ( const vdp2_scrn_rotation_params_t rotation_params)

Not yet documented.

Parameters
[in]rotation_params