home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / os2 / programm / 4320 < prev    next >
Encoding:
Text File  |  1992-08-18  |  1.5 KB  |  35 lines

  1. Newsgroups: comp.os.os2.programmer
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!jvnc.net!nuscc!phbeh
  3. From: phbeh%Solomon.Technet.sg (Beh Pang Han)
  4. Subject: Request info for CD-ROM driver interface
  5. Message-ID: <1992Aug19.034635.5244@nuscc.nus.sg>
  6. Sender: usenet@nuscc.nus.sg
  7. Organization: National University of Singapore
  8. X-Newsreader: Tin 1.1 PL5
  9. Date: Wed, 19 Aug 1992 03:46:35 GMT
  10. Lines: 23
  11.  
  12.  
  13. I'm writing a CD-ROM OS/2 device driver, and I'm stuck! The current driver is
  14. able to accept call from DosOpen, DosClose and DosDevIOCtl commands, but is
  15. not working in Dos box which uses VCDROM.SYS and CDFS.FS to emulate MSCDEX
  16. API. I've found that during the startup of Dos box session, the following
  17. calls are called (in the order of listing).
  18.  
  19.    device open      function 0x0d
  20.    Generic IOCtl  Category 0x05  function 0x48 - Set active font
  21.    Generic IOCtl  Category 0x05  function 0x48 - Set active font
  22.    Generic IOCtl  Category 0x82  function 0x60 - Return drive letter info
  23.  
  24. When the above are done, any call to MSCDEX will not activate the driver,
  25. instead it will return error 'Drive not ready'.
  26.  
  27. It is not documented how the VCDROM.SYS establish the connection to the
  28. physical device driver (PDD). Could it be using the device name specified
  29. in the driver header? In this case, I'm using name 'CD-ROM2$' that I've found
  30. in the CDROM.SYS of OS/2 which is also not documented in the OS/2 technical
  31. library.
  32.  
  33. If you have any comment regarding the above, please response.
  34.  
  35.