Return to previous page Return to menu Go to next page

  Title  
Function specifications
  Function  
Set of lookup tables
Function Name
SPR_2SetLookupTbl
No
7

  format  void SPR_2SetLookupTbl (Uint16 lookupTblNo, SprLookupTbl * lookupTbl)
 Input  lookupTblNo: Lookup table number
 LookupTbl: Lookup table
 Output  None
 Function value  None
 Function  The contents of the specified lookup table are copied to the lookup table area in VRAM.
  

  Title  
Function specifications
  Function  
Set of characters
Function Name
SPR_2SetChar
No
8

  format  void SPR_2SetChar (Uint16 charNo, Uint16 colorMode, Uint16 color,
 Ut16 width, Uint16 height, Uint8 * char Image)
 Input  charNo: Character number
:  colorMode: Color mode (b5-b3: Same as drawing mode word)
 Color  color: Color data
:  Lookup table number when color mode = 1
 Color  Color bank code when color mode = 0, 2, 3, 4
 Ignore when color mode = 5 

width: X size height height: Y size char charImage: Character data pointer If = 0, only the character area will be acquired. Output None Function value None Function Designated charNo character is not assigned or has already been assigned Although is , the size of the acquired area is smaller than the character size to be set In case of , calculate the character storage size and obtain the necessary blocks from the block pool. Copy to copy the character data. : Character data is copied to the same area if overwriting is possible.

  Title  
Function specifications
  Function  
Release character area
Function Name
SPR_2ClrChar
No
9

  format  void SPR_2ClrChar (Uint16 charNo)
 Input  charNo: Character number
 Output  None
 Function value  None
 Function  Releases the VRAM block used by the character with the specified character number. 


Return to previous page Return to menu Go to next page