Return to previous page Return to menu Go to next page

1.3 Basic library usage

The basic usage of the VDP2 library conforms to “VDP2 User's Manual, Chapter 15. How to Use VDP2 15.1 Operation Flow”. Use the appropriate library accordingly.
This section explains VRAM mapping, which is particularly important for using this library, and how to set the cycle pattern with a high degree of freedom of setting and complicated settings, and the coding method using a sample program.

VRAM mapping


Figure 1 Comparison of VRAM and data size

∙ In order to use VDP2 effectively, it is important how to place data on VRAM. For example, when displaying 16.77 million bitmap images, all VRAM is used and other pictures cannot be displayed.
Next, we will explain each with an example of VRAM mapping. Bitmap is used as an example of image data. This is because the data size is fixed, so this figure can be used as a reference for direct mapping. In the cell format, the data size changes depending on how the data is stored, and if there are many common parts, the memory efficiency will be better than the bitmap.


Return to previous page Return to menu Go to next page