home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 8
/
CDASC08.ISO
/
NEWS
/
677
/
TSRTOOLS
/
GETCURDI.C
< prev
next >
Wrap
Text File
|
1993-10-07
|
330b
|
24 lines
/*
getcurdi.C
Copyright (C) 1993, Geoff Friesen B.Sc.
All rights reserved.
*/
#define INCL_GETCURDIR
int getcurdir (int drive, char *directory)
{
asm mov ah, 0x47
asm mov dl, drive
asm mov si, directory
asm int 21h
asm mov ax, 0
asm jnc getcurdir1
asm mov ax, -1
getcurdir1:
}