Return to previous page Return to menu Go to next page

  Title  
Function specifications
  Function  
Initialize VRAM configuration table
Function Name
SCL_InitVramConfigTb
No
3

  format  void SCL_InitVramConfigTb (SclVramConfig * tp)
 Input  tp: VRAM configuration table
 Output  None
 Function value  None
 Function  Writes the default value to the VRAM configuration data table. 

  Title  
Function specifications
  Function  
Scroll configuration data
Initialize table
Function Name
SCL_InitConfigTb
No
4

  format  void SCL_InitConfigTb (SclConfig * scfg)
 Input  scfg: Scroll configuration data
 Output  None
 Function value  None
 Function  Initializes the scroll configuration data table. 

  Title  
Function specifications
  Function  
Set VRAM usage for VDP2
Function Name
SCL_SetVramConfig
No
5

  format  void SCL_SetVramConfig (SclVramConfig * tp)
 Input  tp: VRAM configuration table
 Output  None
 Function value  None
 Function  Set the VDP2 VRAM usage.
 Example  VRAM B is divided and RBG0 characters and patterns are divided into the divided banks.
 Specify the name data . 

sample sample () { SclVramConfig tp;

SCL_InitVramConfigTb (& tp); tp.vramModeB = ON / * Divide VRAM B * / tp.vramB0 = SCL_RBG0_CHAR; / * Put RBG0 character data * / tp.vramB1 = SCL_RBG0_PN; / * Put pattern name data of RBG0 * / SCL_SetVramConfig (& tp); }


Return to previous page Return to menu Go to next page