★ HARDWARE Manual ★ VDP2 User's Manual ★ Chapter 6 Rotating scroll screen| Rotation parameters | Justice | |
|---|---|---|
| Screen screen start coordinates | Xst | X coordinate of the upper left corner (or left edge *) of the screen screen |
| Yst | Y coordinate of the upper left corner (or left edge *) of the screen screen | |
| Zst | Screen screen Z coordinate | |
| Screen screen vertical coordinate increment | △ Xst | X coordinate increment per line of screen screen coordinates |
| △ Yst | Y coordinate increment for each line of screen screen coordinates | |
| Screen screen horizontal coordinate increment | △ X | X coordinate increment for each dot in screen screen coordinates |
| △ Y | Y coordinate increment for each dot in screen screen coordinates | |
| Rotation matrix parameters | A | 3x3 rotation matrix ABC DEF GHI 6 matrix parameters from A to F |
| B | ||
| C | ||
| D | ||
| E | ||
| F | ||
| Viewpoint coordinates | Px | X coordinate of viewpoint |
| Py | Y coordinate of viewpoint | |
| Pz | Z coordinate of viewpoint | |
| Center coordinates | Cx | X coordinate of center point |
| Cy | Y coordinate of center point | |
| Cz | Z coordinate of the center point | |
| Translation amount | Mx | Screen The amount of translation of the screen, viewpoint, and center point in the X direction |
| My | Screen The amount of translation of the screen, viewpoint, and center point in the Y direction | |
| Scale factor | kx | Enlargement / reduction coefficient in the X direction of the display screen |
| ky | Enlargement / reduction coefficient in the Y direction of the display screen | |
| Coefficient table start address | KAst | Table start address when using a coefficient table |
| Coefficient table vertical address increment | △ KAst | Address increment per line when using coefficient table |
| Coefficient table horizontal address increment | △ KAx | Address increment per dot when using coefficient table |
(Screen screen X coordinates)
= Xst + △ Xst × (V counter value) + △ X × (H counter value)
(Screen screen Y coordinate)
= Yst + △ Yst × (V counter value) + △ Y × (H counter value)
(Coefficient table address)
= KAst + △ KAst × (V counter value) + △ KAx × (H counter value)
(Screen screen X coordinates)
= Xst
+ △ Xst × {(V counter value)-(V counter value when Xst is read)}
+ △ X × (H counter value)
(Screen screen Y coordinate)
= Yst
+ △ Yst × {(V counter value)-(V counter value when Yst is read)}
+ △ Y × (H counter value)
(Coefficient table address)
= KAst
+ △ KAst × {(V counter value) − (V counter value when KAst is read)}
+ △ KAx × (H counter value)
| +0 | 15 | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Code | Integer part 12 bits | |||||||||||||||
| +2 | 15 | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Decimal part 10 bits | ||||||||||||||||
| +0 | 15 | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Code | Integer part | |||||||||||||||
| +2 | 15 | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Decimal part 10 bits | ||||||||||||||||
| +0 | 15 | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Code | Integer part | |||||||||||||||
| +2 | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
15 | |||||||||||||||
| Decimal part 10 bits | |||||||||||||||
| +0 | 15 | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Code | Integer part | |||||||||||||||
| +2 | 15 | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Decimal part 10 bits | ||||||||||||||||
| +0 | 15 | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Code | Integer part 13 bits | |||||||||||||||
| +0 | 15 | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Code | Integer part 13 bits | |||||||||||||||
| +0 | 15 | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Code | Integer part 13 bits | |||||||||||||||
| +2 | 15 | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Decimal part 10 bits | ||||||||||||||||
| +0 | 15 | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Code | Integer part 7 bits | |||||||||||||||
| +2 | 15 | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Decimal part 16 bits | ||||||||||||||||
| +0 | 15 | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Integer part 16 bits | ||||||||||||||||
| +2 | 15 | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Decimal part 10 bits | ||||||||||||||||
| +0 | 15 | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Code | Integer part 9 bits | |||||||||||||||
| +2 | 15 | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Decimal part 10 bits | ||||||||||||||||
| +0 | 15 | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Code | Integer part 9 bits | |||||||||||||||
| +2 | 15 | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Decimal part 10 bits | ||||||||||||||||
| + 00H + 02H | Screen screen Start coordinates Xst (integer part) (Decimal part) |
| + 04H + 06H | Screen screen Start coordinates Yst (integer part) (Decimal part) |
| + 08H + 0AH | Screen screen Start coordinates Zst (integer part) (Decimal part) |
| + 0CH + 0EH | Screen screen Vertical increment ΔXst (integer part) (Decimal part) |
| + 10H + 12H | Screen screen Vertical increment ΔYst (integer part) (Decimal part) |
| + 14H + 16H | Screen screen Horizontal increment ΔX (integer part) (Decimal part) |
| + 18H + 1AH | Screen screen Horizontal increment ΔY (integer part) (Decimal part) |
| + 1CH + 1EH | Rotation matrix parameter A (integer part) (Decimal part) |
| + 20H + 22H | Rotation matrix parameter B (integer part) (Decimal part) |
| + 24H + 26H | Rotation matrix parameter C (integer part) (Decimal part) |
| + 28H + 2AH | Rotation matrix parameter D (integer part) (Decimal part) |
| + 2CH + 2EH | Rotation matrix parameter E (integer part) (Decimal part) |
| + 30H + 22H | Rotation matrix parameter F (integer part) (Decimal part) |
| + 34H | Viewpoint coordinates Px (integer part) |
| + 36H | Viewpoint coordinates Py (integer part) |
| + 38H | Viewpoint coordinates Pz (integer part) |
| + 3AH | This data will be ignored |
|---|---|
| + 3CH | Center coordinates Cx (integer part) |
| + 3EH | Center coordinates Cy (integer part) |
| + 40H | Center coordinates Cz (integer part) |
| + 42H | This data will be ignored |
| + 44H + 46H | Translation amount Mx (integer part) (Decimal part) |
| + 48H + 4AH | Translation amount My (integer part) (Decimal part) |
| + 4CH + 4EH | Scale factor kx (integer part) (Decimal part) |
| + 50H + 52H | Scale factor ky (integer part) (Decimal part) |
| + 54H + 56H | Coefficient table Start address KAst (integer part) (Decimal part) |
| + 58H + 5AH | Coefficient table Vertical address increment ΔKAst (integer part) (Decimal part) |
| + 5CH + 5EH | Coefficient table Horizontal address increment ΔKAx (integer part) (Decimal part) |
Start address of rotation parameter table │ └── → + 00H ┏━━━━━━━━━━━━━━━━┓ ┃ ┃ ┃ ┃ ┃ ┃ ┃ Rotation parameter A table ┃ ┃ ┃ ┃ ┃ + 5EH ┃ ┃ + 60H ┣━━━━━━━━━━━━━━━━┫ │ The data in this area is the rotation parameter │ Not used as + 7EH││ + 80H ┣━━━━━━━━━━━━━━━━┫ ┃ ┃ ┃ ┃ ┃ ┃ ┃ Rotation parameter B table ┃ ┃ ┃ ┃ ┃ + DEH ┃ ┃ + E0H┣━━━━━━━━━━━━━━━━┫ ┃ ┃
★ HARDWARE Manual VDP2 User's Manual ★ Chapter 6 Rotating scroll screen