home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ukma!wupost!usc!zaphod.mps.ohio-state.edu!caen!kuhub.cc.ukans.edu!2ftobelly
- From: 2ftobelly@kuhub.cc.ukans.edu
- Newsgroups: comp.os.msdos.programmer
- Subject: problem with FCB-findfirst
- Message-ID: <1992Nov14.234210.44794@kuhub.cc.ukans.edu>
- Date: 14 Nov 92 23:42:09 CST
- Organization: University of Kansas Academic Computing Services
- Lines: 28
-
- Hi!
-
- I am exploring how DOS works, and especially the file-functions. The
- problem is that my reference ("The programmer's PC source book" by
- Thom Hogan) seems to contain an error, but I am not sure about this.
-
- When I use interrupt 21h fn 11h (find first file with fcb - I know
- that fcb's are outdated, but eg. DIR still uses fcbs) the book sais
- that the DTA is filled with the drive # and a DIRENTRY structure.
-
- This doesn't seem to be the case, because the first byte of the DTA
- after calling fn 11h is 0ffh, which could mean that the DTA is filled
- with an extended fcb-structure (opened or unopened?). But I am not sure
- about this, also because you also have to supply an unopened fcb (with
- ds:dx pointing to it) to this function.
-
- Does anybody know what the DTA is filled with after a call to int 21h
- function 11h?
-
- Thanks in advance for any reply.
-
- Wimjan Jansen van de Laak
- (2ftobelly@kuhub.cc.ukans.edu)
-
- ----------------------------------------------------------------------
- If our brain was so simple that we could understand it, we would be so
- simple that we couldn't.
- ----------------------------------------------------------------------
-