Return to previous page Return to menu Go to next page

2.3 Data flow

2.4 Function specification

  Title  
Function specifications
  Function  
Initialize backup library
Function Name
BUP_Init
No
1

 format  void BUP_Init (Uint32 * libaddr, Uint32 * workbuff, BupConfig conf [3])
 Input  libaddr: Specify the address to load the library
  The size of the library is 16K bytes.
:  workbuff: Library work area pointer
  The size of the work area must be 8192 bytes.
  Longword access may be used, so be sure to use Uint32.
 Output  conf: Get information about the connected storage device.
 Function  Loads the backup library into the specified memory area and performs preprocessing for use.
 . You can get information about the attached storage device.
.  Each of the three tables corresponds to the following device number. 

  Remarks  Be sure to prepare three storage device connection information tables.
 Example  #define BUP_START_ADDR 0x6 ??????
  #include “sega_bup.h”
  Uint32 workmemory [2048]; 

void void sample () { BupConfig conf [3];

BUP_Init (BUP_START_ADDR, workmemory, conf); ...... }



Return to previous page Return to menu Go to next page