VRAM memory map setting.
More...
VRAM memory map setting.
◆ vdp_set_image_table()
MSX
Set VRAM address of the pattern name table.
- Parameters
-
table | VRAM address of the pattern name table. |
- Note
- Pattern name table is almost the same as what is called a frame buffer in modern computer systems.
-
Especially in the bitmap graphics mode (GRAPHIC 4 to 7), the pattern name table serves as a frame buffer for 2bpp, 4bpp, or 8bpp graphics images.
-
In any other screen mode, it serves as a frame buffer for tile pattern matrix.
◆ vdp_set_pattern_table()
void vdp_set_pattern_table |
( |
vmemptr_t |
table | ) |
|
MSX
Set VRAM address of the pattern generator table.
- Parameters
-
table | VRAM address of the pattern generator table. |
- Note
- In bitmap graphic mode (GRAPHIC 4 to 7), this function need not be called.
◆ vdp_set_color_table()
MSX
Set VRAM address of the color table.
- Parameters
-
table | VRAM address of the color table. |
- Note
- In bitmap graphic mode (GRAPHIC 4 to 7), this function need not be called.
-
In TEXT 1 mode, this function need not be called.
-
In TEXT 2 mode, this function is used to set the blink table.
◆ vdp_set_sprite_pattern_table()
void vdp_set_sprite_pattern_table |
( |
vmemptr_t |
table | ) |
|
MSX
Set VRAM address of the sprite pattern generator table.
- Parameters
-
table | VRAM address of the sprite pattern generator table. |
- Note
- In text mode (TEXT 1 or TEXT 2), this function need not be called.
◆ vdp_set_sprite_attribute_table()
void vdp_set_sprite_attribute_table |
( |
vmemptr_t |
table | ) |
|
MSX
Set VRAM address of the sprite attribute table.
- Parameters
-
table | VRAM address of the sprite attribute table. |
- Note
- In sprite mode 2, there is one more table called "sprite color table".
-
The sprite color table is (implicitlly) placed at
SAT - 0x0200
; where SAT
is the base address of sprite attribute table.
-
In text mode (TEXT 1 or TEXT 2), this function need not be called.