Return to previous page Return to menu Go to next page

Rotation parameter table address bit : Rotation parameters table address bit (RPTA18 to RPTA1)
Specify the start address of the rotation parameter table.

RPTA18 to RPTA16 1800BCH bits 2 to 0 <
RPTA15 to RPTA1 1800BEH Bits 15 to 1

RP6 bit is ignored even if data is written. It is fixed to 0 for rotation parameter A and 1 for rotation parameter B.

The actual start address of the rotation parameter table is calculated using the following formula. When the VRAM capacity is 4M bits, the most significant bit of the address is ignored.

 (Start address of rotation parameter A)
= (Rotation parameter table address register value upper 12 bits) x 100H
+ (Rotation parameter table address register lower 5 bits) x 4H 

(Start address of rotation parameter B) = (Rotation parameter table address register value upper 12 bits) x 100H + (Rotation parameter table address register value lower 5 bits) × 4H + 80H

For example, if you specify 00170H or 00130H, the start address of rotation parameter A will be 00260H, and the start address of rotation parameter B will be 002E0H.

■ Frame buffer rotation readout

Frame buffer rotation readout uses rotation parameter A screen screen start coordinate (Xst, Yst), screen screen vertical coordinate increment (DXst, DYst), screen screen horizontal coordinate increment (DX, DY) Do. If the image specified by the rotation parameter A is displayed on the rotation scroll screen, the entire sprite and the rotation scroll screen can be rotated in the same way. If the image specified by the rotation parameter B is displayed on the rotation scroll screen, the entire sprite and the rotation scroll screen can be rotated separately.
The display coordinate value of the frame buffer is calculated from the display coordinate at the left end of the line calculated for each line from the screen screen start coordinate and the screen screen vertical coordinate increment, and the horizontal coordinate increment of that line. At this time, from the coordinate range of the frame buffer, the display coordinate value at the left end of the line is 20 bits (sign + integer part 10 bits + decimal part 9 bits), horizontal coordinate increment is sign + integer part 2 bits + decimal part 9 bits It is calculated by rounding down the bits to 12 bits.
* To perform frame buffer rotation reading using rotation parameter A, the TV mode of VDP1 must be set to rotation 16 or rotation 8. For details, see


Return to previous page Return to menu Go to next page