Return to previous page Return to menu Go to next page

4.3 Function specification

  Title  
Function specifications
  Function  
VDP1 basic processing library initialization processing
Function Name
SSPR_Initial
No
1

  format  void SPR_Initial (Uint8 ** vram)
 Input  vram: VRAM address return area pointer
 Output  None
 Function value  None
 Function  The following values ​​are set as default values.
    • Erase data = 0x8000 (black)
    • Ease area = (0, 0)-(319, 223)
    • TV mode is normal and resolution is 320 x 224
  Title  
Function specifications
  Function  
TV mode set
Function Name
SPR_SetTvMode
No
2

  format  void Spr_SetTvMode (Uint16 mode, Uint16 screenSize,
                                                       Unit16 doubleInterlace)
 Input  mode: The following TV mode definition values ​​can be set.
  SPR_TV_NORMAL = normal mode
  SPR_TV_HIREZO = High resolution mode
  SPR_TV_ROT16 = Rotation 16 mode
  SPR_TV_ROT8 = Rotation 8 mode
  SPR_TV_HDTV = HDTV mode
:  screenSize: Select and set the screen resolution corresponding to the TV mode from the following definition values.
 .
  Refer to the VDP1 hardware manual for detailed combinations
 Please .
  SPR_TV_320X224 = 320 × 224
  SPR_TV_320X240 = 320 x 240
  SPR_TV_352X224 = 352 × 224
  SPR_TV_352X240 = 352 × 240
  SPR_TV_640X224 = 640 x 224
  SPR_TV_640X240 = 640 x 240
  SPR_TV_704X224 = 704 x 224
  SPR_TV_704X240 = 704 x 240
:  doubleInterlace: Sets the double interlace usage mode.
:  ON = Use double-dense interlace mode
:  OFF = Do not use double-dense interlace mode
 Output  None
 Function value  None
 Function  Sets the TV mode. 


Return to previous page Return to menu Go to next page