Return to previous page Return to menu Go to next page

  Title  
Function specifications
  Function  
Set of scroll configurations
Function Name
SCL_SetConfig
No
6

  format  void SCL_SetConfig (Uint16 sclnum, SclConfig * scfg)
 Input  sclnum: Scroll surface number
 S  SCL_NBG0, SCL_NBG1, SCL_NBG2, SCL_NBG3, SCL_RBG0,
 Select from 6 faces of SCL_RBG1 
  scfg: Scroll configuration data pointer
 Output  None
 Function value  None
 Function  Set scroll configuration.
 Remarks  When setting the rotation plane data, you must execute SCL_IntRotateTable () in advance.
 Must be . 

  Title  
Function specifications
  Function  
VRAM cycle pattern table set
Function Name
SCL_SetCycleTable
No
7

  format  void SCL_SetCycleTable (Uint16 * tp)
 Input  tp: Cycle pattern table
 Output  None
 Function value  None
 Function  Sets the cycle pattern table.
 Remarks  If the cycle pattern table is not set correctly, the normal scroll screen will be displayed.
 Not . VDP2 User's Manual Chapter 3 RAM “3.4 VRAM access during display period
It is necessary to understand " Access method ".
 Example 1  Image: NBG0 256 colors (with 1/2 reduced display)
:  VRAM A: NBG0 character pattern data is placed
:  VRAM B: NBG0 pattern name table is placed
  Uint16 cycle [] = {/ * Cycle pattern table * /
  0x4444, 0xffff, / * VRAM A (A0) * /
:  0xffff, 0xffff, / * VRAM A1 unused * /
  0x00ff, 0xffff, / * VRAM B (B0) * /
:  0xffff, 0xffff, / * VRAM B1 not used * /
 }
 sample  sample ()
  {
  SCL_SetCycleTable (& cycle);
 } 


Return to previous page Return to menu Go to next page