##### Shinobi Library - Memory Card Function

# buIsReady

Returns the connection status of a memory card

### FORMAT

`

  Sint32 buIsReady( drive )
  Sint32 drive

`

### PARAMETER

  `drive` | Extension socket number

### RETURN

  TRUE | Memory card is connected and ready for access |
  FALSE | Memory card is not connected |

### DESCRIPTION

  Returns the connection status of a memory card for a specified extension socket.

  The following values can be designated for the argument `drive` that specifies operand extension sockets.

  BUD_DRIVE_A1 | Extension socket 1 on board A
  BUD_DRIVE_A2 | Extension socket 2 on board A
  BUD_DRIVE_B1 | Extension socket 1 on board B
  BUD_DRIVE_B2 | Extension socket 2 on board B
  BUD_DRIVE_C1 | Extension socket 1 on board C
  BUD_DRIVE_C2 | Extension socket 2 on board C
  BUD_DRIVE_D1 | Extension socket 1 on board D
  BUD_DRIVE_D2 | Extension socket 2 on board D

### EXAMPLE

      if (buIsReady(BUD_DRIVE_A1)) {
      	/* Memory card is connected */
      }

buIsReady

COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999