Return to previous page Return to menu Go to next page

  Title  
Function specifications
  Function  
Line color screen data set
Function Name
SCL_SetLncl
No
23

  format  void SCL_SetLncl (Uint32 address, Unit16 tbsize, Uint16 * palNumTb)
 Input  address: Specify where to place the line color table on VRAM.
:  tbsize: Specify the size of the table.
  palNumTb: Specify the data for each line with the pallet number.
  16 colors 0-15
  256 colors 0-255
  2048 colors 0-2047
 Output  None
 Function value  None
 Function  Sets the line color screen data.
 Remarks  Color palette data in advance using SCL_AllocColRam () and SCL_SetColRam ()
Please execute it after setting it to  RAM  RAM. 

  Title  
Function specifications
  Function  
Set of back screen data
Function Name
SCL_SetBack
No
24

  format  void SCL_SetBack (Uint32 address, Uint16 dataSize, Uint16 * dataTb)
 Input  address: Specify where to place the line color table on VRAM.
  dataSize: Specify the number of data tables.
:  dataTb: Specify data for each line in 5bitRGB.
 Output  None
 Function value  None
 Function  Set the data and address for the back screen.
 Example  Set the address of the back screen to the top of the VRAM and make the color black.
 void  void sample (void)
  {
  Uint16 DataTB; 

: DataTB = 0x0000; / * Black * / : SCL_SetBack (SCL_VDP2_VRAM, 1, & DataTB); }


Return to previous page Return to menu Go to next page