Return to previous page Return to menu Go to next page

  Title  
Data specifications
  Data  
VDP2 register buffer 3
Data Name
SclNorscl
No

typedef struct SclNorscl{
                                 / * Address Contents * /
     Fixed32 n0_move_x; / * 180070H Horizontal screen scroll value (NBG0) * /
     Fixed32 n0_move_y; / * 180074H Vertical screen scroll value (NBG0) * /
     Fixed32 n0_delta_x; / * 180078H Horizontal coordinate increment (NBG0) * /
     Fixed32 n0_delta_y; / * 18007CH Vertical coordinate increment (NBG0) * /
     Fixed32 n1_move_x; / * 180080H Horizontal screen scroll value (NBG1) * /
     Fixed32 n1_move_y; / * 180084H Vertical screen scroll value (NBG1) * /
     Fixed32 n1_delta_x; / * 180088H Horizontal coordinate increment (NBG1) * /
     Fixed32 n1_delta_y; / * 18008CH Vertical coordinate increment (NBG1) * /
     Uint16 n2_move_x; / * 180090H Horizontal screen scroll value (NBG2) * /
     Uint16 n2_move_y; / * 180092H Vertical screen scroll value (NBG2) * /
     Uint16 n3_move_x; / * 180094H Horizontal screen scroll value (NBG3) * /
     Uint16 n3_move_y; / * 180096H Vertical screen scroll value (NBG3) * /
     Uint16 zoomenbl; / * 180098H Zoom enable * /
     Uint16 linecontrl; / * 18009AH Line & vertical cell scroll control (NBG0, NBG1) * /
     Uint32 celladdr; / * 18009CH Vertical cell scroll table address (NBG0, NBG1) * /
     Uint32 lineaddr [2]; / * 1800A0H line scroll table address * /
     Uint32 linecolmode; / * 1800A8H line color screen table address * /
     Uint32 backcolmode; / * 1800ACH back screen table address * /
} SclNorscl;

Symbols are registered in this library as follows. If 1 is written to the global variable “SclProcess” after writing to this symbol, it will be reflected in the register at the next V-Blank.

     SclNorscl Scl_n_reg;

  Title  
Data specifications
  Data  
VDP2 register buffer 4
Data Name
SclRotscl
No

typedef struct SclRotscl{
                                   / * Address content * / * /
     Uint16 paramode; / * 1800B0H Rotation parameter mode * /
     Uint16 paramcontrl; / * 1800B2H Rotation parameter read control * /
     Uint16 k_contrl; / * 1800B4H coefficient table control * /
     Uint16 k_offset; / * 1800B6H coefficient table address offset * /
     Uint16 mapover [2]; / * 1800B8H Screen over pattern name * /
     Uint32 paramaddr; / * 1800BAH rotation parameter table address * /
} SclRotscl;

Symbols are registered in this library as follows. If 1 is written to the global variable “SclProcess” after writing to this symbol, it will be reflected in the register at the next V-Blank.

     SclRotscl Scl_r_reg;


Return to previous page Return to menu Go to next page