Return to previous page Return to menu Go to next page

  Title  
Data specifications
  Data  
VDP2 register buffer 5
Data Name
SclWinscl
No

typedef struct SclWinscl{
                                   / * Address content * / * /
     Uint16 win0_start [2]; / * 1800C0H Window position (W0, start point XY) * /
     Uint16 win0_end [2]; / * 1800C4H window position (W0, end point XY) * /
     Uint16 win1_start [2]; / * 1800C8H Window position (W1, start point XY) * /
     Uint16 win1_end [2]; / * 1800CCH window position (W1, end point XY) * /
     Uint16 wincontrl [4]; / ​​* 1800D0H Window control * /
     Uint32 linewin0_addr; / * 1800D8H Line window table address (W0) * /
     Uint32 linewin1_addr; / * 1800DCH line window table address (W0) * /
} SclWinscl;

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

     SclWinscl Scl_w_reg;

  Title  
Data specifications
  Data  
XY size of screen used in library
Data Name
SclDisplayX,SclDisplayY
No

This is a 2-byte global variable. You can see the vertical and horizontal size of the screen by referring to this variable. It is automatically reflected when setting the screen mode etc. using the library. It is defined in the library as follows.

     Uint16 SclDisplayX;
     Uint16 SclDisplayY;


Return to previous page Return to menu Go to next page