★ HARDWARE Manual ★ VDP1 User's Manual
▲ Back | Forward ▼
VDP1 User's Manual / Chapter 6 Command Table
■ 6.3 CMDP MOD (drawing mode word)
- CMDPMOD is a word that controls clipping enable / disable, mesh processing, transparency code specification, color mode specification, color calculation, and shade processing. It is located in 2 bytes (16 bits) from the start address + 04H of the command table, and the bit configuration is as follows. Set 0 for unused bits.
| bit | 15 | 14 | 13 | 12 | 11 | Ten | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CMDPMOD + 04H | MON | 0 | 0 | HSS | Pclp | Clip | Cmod | Mesh | ECD | SPD | Color mode | Color operation bit |
- MSB on bit: MSB on (MON), bit 15
- VDP2 has the ability to look at the MSB of sprite data and perform shadowing and windowing. Specify this bit when using that feature. For details, refer to the VDP2 manual " Chapter 9 Sprite Data " and " Chapter 14 Shadow Function ".
- High speed shrink: high speed shrink (HSS), bit 12
- When drawing a rectangular sprite or a deformed sprite in a reduced size, select whether to prioritize speed or accuracy.
- Pre-clipping invalid: Preclipping Disable (Pclp), bit 11
- Specifies whether to disable the coordinate calculation process that determines if clipping is required.
- User clipping enable bit (Clip), bit 10
- When drawing a part, specify whether to draw the part according to the user clipping coordinates that have already been set.
- Clipping mode bit: clipping mode bit (Cmod), bit 9
- When user clipping is enabled (Clip = 1), select whether to draw inside or outside the user clipping coordinates.
- Mesh enable bit: mesh enable bit (Mesh), bit 8
- Specifies whether to perform mesh processing when drawing commands for parts.
- End code invalid bit: end-code disable (ECD), bit 7
- Specifies whether to disable the character pattern end code.
- Transparent pixel disable bits: see-through pixel disable (SPD), bit 6
- Specifies whether to disable transparent pixels in the character pattern.
- Color mode bit: color mode bit, bits 5-3
- Specifies the number of colors and the representation method of the color to draw the sprite.
- Color calculation bit: color calculation bit, bits 2 to 0
- Specifies Gouraud shading, shadow, semi-brightness, and translucent color operations.
▲ Back | Forward ▼
★ HARDWARE Manual ★ VDP1 User's Manual
Copyright SEGA ENTERPRISES, LTD., 1997