|
|
|
|
|
|
|
||
|
||
|
|
||
May 1999 |
Revision 1.00 |
|
Persistor Instruments Inc. |
© 1998 All rights reserved. |
|
![]()
#define BSD_MAX_DEVS 8
enum
{
bsdErrorStart = BSD_ERRORS
, bsdSectorRangeError // read/write requested sector out of range
, bsdIdOfRange // invalid ID requested
, bsdNotRegistered // no BSD registered to this ID
};
Description
|
Prototype: |
short BSDValidate(ushort bsdid); |
|
Definition: |
#include <cf1pico.h> |
|
Inputs: |
bsdid XXXXX |
|
Returns: |
XXXXX |
|
Notes: |
XXXXX |
|
Timing: |
TBD |
Description
|
Prototype: |
void BSDReset(void); |
|
Definition: |
#include <cf1pico.h> |
|
Inputs: |
none |
|
Returns: |
XXXXX |
|
Notes: |
XXXXX |
|
Timing: |
TBD |
|
Prototype: |
short BSDRegisterDevice(ushort ssdid, ushort prtn,ulong firstSect, ulong lastSect); |
|
Definition: |
#include <cf1pico.h> |
|
Inputs: |
ssdid XXXXX |
|
Returns: |
XXXXX |
|
Notes: |
XXXXX |
|
Timing: |
TBD |
Description
|
Prototype: |
short BSDReadSectors(ushort bsdid, ulong sector, void *buffer, short count); |
|
Definition: |
#include <cf1pico.h> |
|
Inputs: |
bsdid XXXXX |
|
Returns: |
XXXXX |
|
Notes: |
XXXXX |
|
Timing: |
TBD |
Description
|
Prototype: |
short BSDWriteSectors(ushort bsdid, ulong sector, void *buffer, short count); |
|
Definition: |
#include <cf1pico.h> |
|
Inputs: |
bsdid XXXXX |
|
Returns: |
XXXXX |
|
Notes: |
XXXXX |
|
Timing: |
TBD |
Description
|
Prototype: |
tttt BSDCapacity(ushort bsdid, ulong *sectors,ushort *spt, ushort *heads, struct ATADriveID **info); |
|
Definition: |
#include <cf1pico.h> |
|
Inputs: |
bsdid XXXXX |
|
Returns: |
XXXXX |
|
Notes: |
XXXXX |
|
Timing: |
TBD |
Description
|
Prototype: |
ulong BSDHiddenSectors(ushort bsdid); |
|
Definition: |
#include <cf1pico.h> |
|
Inputs: |
bsdid XXXXX |
|
Returns: |
XXXXX |
|
Notes: |
XXXXX |
|
Timing: |
TBD |
Description
|
Prototype: |
bool BSDMediaCheck(ushort bsdid); |
|
Definition: |
#include <cf1pico.h> |
|
Inputs: |
bsdid XXXXX |
|
Returns: |
XXXXX |
|
Notes: |
XXXXX |
|
Timing: |
TBD |
Description
|
Prototype: |
short BSDGetPartition (ushort bsdid); |
|
Definition: |
#include <cf1pico.h> |
|
Inputs: |
bsdid XXXXX |
|
Returns: |
XXXXX |
|
Notes: |
XXXXX |
|
Timing: |
TBD |
Description
|
Prototype: |
short BSDGetSSD (ushort bsdid); |
|
Definition: |
#include <cf1pico.h> |
|
Inputs: |
bsdid XXXXX |
|
Returns: |
XXXXX |
|
Notes: |
XXXXX |
|
Timing: |
TBD |
|
|
|
|
|
|
Tel: 508-759-6434 |
|
Fax: 508-759-6436 |
|
|
||