LeoDriveExist LeoDriveExist (function)

Checks whether 64DD is connected


#include <PR/leo.h>     /* leo.h */
u32 LeoDriveExist(void);


This function checks whether or not a 64DD drive is connected to the control deck. The returned value is 1 if the drive is attached. The returned value is 0 is if it is not.

The connection check is performed by checking for the existence of DDROM. Accordingly, if you use this function with the development-use drive when no IPLROM pak is connected, you will get an incorrect reading that the drive is not connected. Please take note of this.

Revision History

04/30/1999 Changed Format