home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / pascal / 4533 < prev    next >
Encoding:
Internet Message Format  |  1992-07-23  |  1.7 KB

  1. Path: sparky!uunet!darwin.sura.net!wupost!gumby!destroyer!sol.ctr.columbia.edu!usc!noiro.acs.uci.edu!nntpsrv
  2. From: handbook@orion.oac.uci.edu (Handbook)
  3. Subject: Help with CD-ROM stuff
  4. Nntp-Posting-Host: orion.oac.uci.edu
  5. Message-ID: <2A6F6540.26341@noiro.acs.uci.edu>
  6. Newsgroups: comp.lang.pascal
  7. Organization: University of California, Irvine
  8. Lines: 48
  9. Date: 24 Jul 92 02:04:48 GMT
  10.  
  11. Hi,
  12.  
  13. You people are always so helpful, I have another one for you: 
  14.  
  15. I'm looking through Ralf Brown's list of PC Interrupts and there is one
  16. that I'm interested in which deals with CD-ROMS.  Explicitly, it is used 
  17. to "Determine the name of the file in the CD-ROM's volume table of contents
  18. which contains the abstract describing the disk".
  19.  
  20. This interrupt is 2Fh AX= 1503h
  21.  
  22. In the book, it states the following:
  23.  
  24.    Registers at call:
  25.    AX = 1503h
  26.    ES:BX -> 38 byte buffer for name of abstract file
  27.    CX = drive number (0 = A)
  28.  
  29.    Return Registers
  30.    CF set if drive is not a CDROM drive
  31.       AX=15 (invalid drive)
  32.    CF clear if successful
  33.  
  34. My question then is,  what does "ES:BX" mean, and how do I write that in TP 6?
  35. In other words, how do I incorporate it into the following?
  36.  
  37. begin
  38.    Regs.AX := $1503;
  39.    Regs.CX := 3;    { I presume CX := 3, since the CD drive is D }
  40.    MORE STUFF HERE ON REGISTERS AT CALL
  41.    Intr($2F, Regs);
  42.    AND THEN INFO ON REGISTERS RETURNED
  43. end;
  44.  
  45. Also, how is the abstract file name returned?  Is it returned in these
  46. ES:BX registers?  How do I access the returned information?
  47.  
  48. On the subject of CD-ROMs, does anyone know how to unistall MSCDEX?
  49. Is it possible through some interrupt, or by doing something with some
  50. memory locations to yank MSCDEX?    
  51.  
  52.  
  53. Thanks a whole lot,
  54.  
  55. Tony
  56.  
  57. Anthony Toyofuku
  58. University of California,
  59.