home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / msdos / programm / 10640 next >
Encoding:
Internet Message Format  |  1992-11-15  |  1.5 KB

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