Title |
Function |
Function Name |
No |
format void SCL_Vdp2Init (void) Input None Output None Function value None Function Initializes the library. Run once the first time before using the library is required.
Title |
Function |
Function Name |
No |
format void SCL_SetDisplayMode (Uint8 interlace, Uint8 vertical, Uint8 horizontal) Input interlace: Interlace mode setting S SCL_NON_INTER: Non-interlace : SCL_SINGLE_INTER: Single dense interlace : SCL_DOUBLE_INTER: Double dense interlace vertical: vertical resolution bit SCL_224LINE: 224 lines S SCL_240LINE: 240 lines : SCL_256LINE: 256 lines horizontal: Horizontal resolution bit S SCL_NORMAL_A: 320 pixels : : Normal graphic A S SCL_NORMAL_B: 352 pixels : : Normal graphic B : SCL_HIRESO_A: 640 pixels : : High res graphic A : SCL_HIRESO_B: 704 pixels : : High res graphic B S SCL_NORMAL_AE: 320 pixels : : Dedicated normal graphic A S SCL_NORMAL_BE: 352 pixels : : Dedicated normal graphic B : SCL_HIRESO_AE: 640 pixels : : Exclusive high-resolution graphic A : SCL_HIRESO_BE: 704 pixels : : Exclusive high-resolution graphic B Output None Function value None Function Sets the screen mode. Remarks When changing the horizontal resolution from A to B, the SH2 clock switches from 76 to 78 . (Example: SCL_NORMAL_A → SCL_NORMAL_B) Please note that the settings of VDP1, VDP2, etc. will be reset at that time.