Return to previous page Return to menu Go to next page

VDP2 library

1.Guide

1.1 Purpose

1.2 Description

VDP2 only allows access to registers and color RAM during the V-BLANK period. Many registers are not readable. ∙ The VDP2 library has a register buffer in the library, and writing / reading to a normal register is performed on this register buffer and copied to the register during the next V-BLANK period. (Refer to the reference for register buffer details) This library is roughly divided into the following function groups. I will explain each.

[Initialization function]

Must be executed first when using the VDP2 library.

[Table creation & data set function]

Set various parameters with reference to the VDP2 user's manual and reference.

[Operations related to the display screen]

You can move, enlarge / reduce, and rotate the scroll screen.

[Line screen setting function]

Set the line screen and back screen data.

[Window setting function]

Set the window.

[VDP1-related functions]

This function must be set to display the contents of the frame buffer of VDP1 (Sprite).

[Color RAM related functions]

Set pallet or rewrite palette.


Return to previous page Return to menu Go to next page