Return to previous page Return to menu Go to next page

  Title  
Function specifications
  Function  
Acquire VRAM block area (static)
Function Name
SPR_2AllocBlock
No
27

  format  SprVaddraddr = SPR_2AllocBlock (Uint16 size)
 Input  size: Block size (32 bytes is a unit)
 Output  None
 Function value  addr: Returns the acquired block area position as a relative address in VRAM / 8.
 Function  Acquires a block of the specified size from the block pool area in VRAM. this
 Routine  is not released to the outside, but it is helpful when adding functions to this library.
The specifications have been added so that  is . 

  Title  
Function specifications
  Function  
Release VRAM block area (static)
Function Name
SPR_2FreeBlock
No
28

  format  void SPR_2FreeBlock (SprVaddr addr, Uint16 size)
 Input  addr: The release block area position is returned as a relative address in VRAM / 8.
:  size: Block size (32 bytes is one unit)
 Output  None
 Function value  None
 Function  This routine for releasing the specified block area in the VRAM block pool is solved externally.
 has not been released , but the specifications are to be helpful when adding functions to this library.
 Added . 


Return to previous page Return to menu Go to next page