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