N64® Functions Menu

al - Audio Library Functions
etc - String Manipulation Functions
gDP - DP GBI Macros
gdSP - General GBI Macros
gSP - SP GBI Macros
gt - Turbo Microcode RDP
gu - Graphics Utilities
Math - Math Functions
nuSys - NuSystem
os - N64 Operating System
sp - Sprite Library Functions
uh - Host to Target IO
64DD - N64 Disk Drive

Nintendo® Confidential

## LeoDrive Exist

Syntax

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

Explanation
This function checks whether or not a 64DD drive is connected to the N64 Control Deck. If the drive is connected, the returned value is 1. If the drive is not attached, the returned value is 0.

The connection check is performed by verifying the existence of DDROM. Therefore, 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.

Nintendo® Confidential Warning: all information in this document is confidential and covered by a non-disclosure agreement. You are responsible for keeping this information confidential and protected. Nintendo will vigorously enforce this responsibility.
Copyright © 1998
Nintendo of America Inc. All rights reserved
Nintendo and N64 are registered trademarks of Nintendo
Last Updated April, 1999