[comp.os.os2.misc] OS/2 2.0 and Windows emulation: Windows drivers?

rafetmad@oxy.edu (David Ronald Giller) (05/27/91)

Can anyone tell me how the Binary Compatibility layer will be implemented?
Will it be an addition of USER.DLL, GDI.DLL, and KERNEL.DLL modules that map
Windows calls to their OS/2 equivalents?

More specifically, what will be done about drivers?  Under Windows, these are
separate modules.  Will they be emulated within the BCL?  Or will they, too
be modules running through the BCL interface?

The application that I am concerned about is a replacement sound driver that
runs under Windows.  It provides support for Adlib/Soundblaster music cards,
through the Windows API.  Assuming the driver makes no calls directly to DOS,
no BIOS use, and only the documented Windows interfaces (and only those that
work :->), will this driver be able to run under OS/2?	One other problem.
Due to the nature of the beast, this driver must directly program the timer.
I know this is emulated under the DOS boxes; will this service be available to
Windows drivers (assuming all the previous conditions are met)?

Failing all of this, does anyone know the relative ease of porting a Windows
device driver to OS/2? (ouch....)

Thanks in advance.

-Dave

David Giller ----- (rafetmad@oxy.edu) or (dgiller@oxy.edu) ------------ Box 134
							       1600 Campus Road
"Some of us wake up -- others roll over."		     Occidental College
"It's easy to deceive a child." -- John Lydon		  Los Angeles, CA 90041