|
| #define | VDP2_SCRN_PND_CONFIG_0(cram_mode, cpd_addr, pal_addr, vf, hf) |
| | Not yet documented.
|
| |
| #define | VDP2_SCRN_PND_CONFIG_1(cram_mode, cpd_addr, pal_addr) |
| | Not yet documented.
|
| |
| #define | VDP2_SCRN_PND_CONFIG_2(cram_mode, cpd_addr, pal_addr, vf, hf) |
| | Not yet documented.
|
| |
| #define | VDP2_SCRN_PND_CONFIG_3(cram_mode, cpd_addr, pal_addr) |
| | Not yet documented.
|
| |
| #define | VDP2_SCRN_PND_CONFIG_4(cram_mode, cpd_addr, pal_addr, vf, hf) |
| | Not yet documented.
|
| |
| #define | VDP2_SCRN_PND_CONFIG_5(cram_mode, cpd_addr, pal_addr) |
| | Not yet documented.
|
| |
| #define | VDP2_SCRN_PND_CONFIG_6(cram_mode, cpd_addr, pal_addr, vf, hf) |
| | Not yet documented.
|
| |
| #define | VDP2_SCRN_PND_CONFIG_7(cram_mode, cpd_addr, pal_addr, vf, hf) |
| | Not yet documented.
|
| |
| #define | VDP2_SCRN_PND_CONFIG_8(cram_mode, cpd_addr, pal_addr, vf, hf, pr, cc) |
| | Not yet documented.
|
| |
Configuration table mapping. Depending on how the normal/rotational background is set up, choose a config:
| Config | PND | Cell | Auxiliary mode | Page size | Palette banks | Color count |
| 0 | 1-word | 1x1 | 0 | 0x400 | 128 | 16 |
| 1 | 1-word | 1x1 | 1 | 0x1000 | 128 | 16 |
| 2 | 1-word | 2x2 | 0 | 0x400 | 128 | 16 |
| 3 | 1-word | 2x2 | 1 | 0x1000 | 128 | 16 |
| 4 | 1-word | 1x1 | 0 | 0x200 | 8 | 16, 256, 2048 |
| 5 | 1-word | 1x1 | 1 | 0x800 | 8 | 16, 256, 2048 |
| 6 | 1-word | 2x2 | 0 | 0x200 | 8 | 16, 256, 2048 |
| 7 | 1-word | 2x2 | 1 | 0x0800 | 8 | 16, 256, 2048 |
| 8 | 2-word | | | 0x8000 | 8/128 | 16, 256, 2048 |
◆ VDP2_SCRN_PND_CONFIG_0
| #define VDP2_SCRN_PND_CONFIG_0 |
( |
|
cram_mode, |
|
|
|
cpd_addr, |
|
|
|
pal_addr, |
|
|
|
vf, |
|
|
|
hf |
|
) |
| |
Value:
(((vf) & 0x01) << 11) | \
(((hf) & 0x01) << 10) | \
Not yet documented.
- Parameters
-
| cram_mode | |
| cpd_addr | |
| pal_addr | |
| vf | |
| hf | |
- Deprecated:
- May be replaced with a
struct.
◆ VDP2_SCRN_PND_CONFIG_1
| #define VDP2_SCRN_PND_CONFIG_1 |
( |
|
cram_mode, |
|
|
|
cpd_addr, |
|
|
|
pal_addr |
|
) |
| |
Value:
Not yet documented.
- Parameters
-
| cram_mode | |
| cpd_addr | |
| pal_addr | |
- Deprecated:
- May be replaced with a
struct.
◆ VDP2_SCRN_PND_CONFIG_2
| #define VDP2_SCRN_PND_CONFIG_2 |
( |
|
cram_mode, |
|
|
|
cpd_addr, |
|
|
|
pal_addr, |
|
|
|
vf, |
|
|
|
hf |
|
) |
| |
Value:
(((vf) & 0x01) << 11) | \
(((hf) & 0x01) << 10) | \
Not yet documented.
- Parameters
-
| cram_mode | |
| cpd_addr | |
| pal_addr | |
| vf | |
| hf | |
- Deprecated:
- May be replaced with a
struct.
◆ VDP2_SCRN_PND_CONFIG_3
| #define VDP2_SCRN_PND_CONFIG_3 |
( |
|
cram_mode, |
|
|
|
cpd_addr, |
|
|
|
pal_addr |
|
) |
| |
Value:
Not yet documented.
- Parameters
-
| cram_mode | |
| cpd_addr | |
| pal_addr | |
- Deprecated:
- May be replaced with a
struct.
◆ VDP2_SCRN_PND_CONFIG_4
| #define VDP2_SCRN_PND_CONFIG_4 |
( |
|
cram_mode, |
|
|
|
cpd_addr, |
|
|
|
pal_addr, |
|
|
|
vf, |
|
|
|
hf |
|
) |
| |
Value:
(((vf) & 0x01) << 11) | \
(((hf) & 0x01) << 10) | \
Not yet documented.
- Parameters
-
| cram_mode | |
| cpd_addr | |
| pal_addr | |
| vf | |
| hf | |
- Deprecated:
- May be replaced with a
struct.
◆ VDP2_SCRN_PND_CONFIG_5
| #define VDP2_SCRN_PND_CONFIG_5 |
( |
|
cram_mode, |
|
|
|
cpd_addr, |
|
|
|
pal_addr |
|
) |
| |
Value:
Not yet documented.
- Parameters
-
| cram_mode | |
| cpd_addr | |
| pal_addr | |
- Deprecated:
- May be replaced with a
struct.
◆ VDP2_SCRN_PND_CONFIG_6
| #define VDP2_SCRN_PND_CONFIG_6 |
( |
|
cram_mode, |
|
|
|
cpd_addr, |
|
|
|
pal_addr, |
|
|
|
vf, |
|
|
|
hf |
|
) |
| |
Value:
(((vf) & 0x01) << 11) | \
(((hf) & 0x01) << 10) | \
Not yet documented.
- Parameters
-
| cram_mode | |
| cpd_addr | |
| pal_addr | |
| vf | |
| hf | |
- Deprecated:
- May be replaced with a
struct.
◆ VDP2_SCRN_PND_CONFIG_7
| #define VDP2_SCRN_PND_CONFIG_7 |
( |
|
cram_mode, |
|
|
|
cpd_addr, |
|
|
|
pal_addr, |
|
|
|
vf, |
|
|
|
hf |
|
) |
| |
Value:
Not yet documented.
- Parameters
-
| cram_mode | |
| cpd_addr | |
| pal_addr | |
| vf | |
| hf | |
- Deprecated:
- May be replaced with a
struct.
◆ VDP2_SCRN_PND_CONFIG_8
| #define VDP2_SCRN_PND_CONFIG_8 |
( |
|
cram_mode, |
|
|
|
cpd_addr, |
|
|
|
pal_addr, |
|
|
|
vf, |
|
|
|
hf, |
|
|
|
pr, |
|
|
|
cc |
|
) |
| |
Value: ((((vf) & 0x01) << 31) | \
(((hf) & 0x01) << 30) | \
(((pr) & 0x01) << 29) | \
(((cc) & 0x01) << 28) | \
Not yet documented.
- Parameters
-
| cram_mode | |
| cpd_addr | |
| pal_addr | |
| vf | |
| hf | |
| pr | |
| cc | |
- Deprecated:
- May be replaced with a
struct.