home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware 1 2 the Maxx
/
sw_1.zip
/
sw_1
/
PROGRAM
/
DJLSR106.ZIP
/
LIBSRC
/
C
/
DOS
/
FINDFIRS.S
< prev
next >
Wrap
Text File
|
1992-03-02
|
318b
|
19 lines
.globl _findfirst /* path, ffblk, attrib */
_findfirst:
pushl %ebx
pushl %esi
pushl %edi
movl 20(%esp),%edx
movb $0x1a,%ah
int $0x21 /* set DTA */
movl 16(%esp),%edx
movl 24(%esp),%ecx
movb $0x4e,%ah
int $0x21 /* find first match */
popl %edi
popl %esi
popl %ebx
jmp syscall_check