Article View: comp.os.os2.programmer
Article #2945RE: WRITING TRIVIAL DEVIC
From: John Navas
Date: Sun, 15 Nov 1992 12:14
Date: Sun, 15 Nov 1992 12:14
34 lines
2150 bytes
2150 bytes
tommy@msc.cornell.edu (Mike Thompson) writes:
> Okay, I've finally learned that OS/2 is not quite the perfect OS
> for lab environments. Maybe I long for a bit of the control of DOS
> days. Anyway, I have to write my own device driver to access
> memory mapped controllers on a digital to analog (No - of course
> the manufacturer has no intention of creating DD in the forseeable
> future).
> I need help. I've got the development kits for OS/2 1.2 and 2.0.
> They include some minimal examples of device drivers, but no real
> documentation. Can someone tell me where to get adequate
> documentation to write a trivial device driver (it will be really
> stupid). Book suggestions? Pay for more software from IBM?
As for a book, I highly recommend "Writing OS/2 Device Drivers" by
Raymond Westwater (this is from memory, but the author's last name is
definitely correct) -- it's 1.3 vintage, but works fine with 2.0.
I do not recommend "Writing OS/2 2.0 Device Drivers in C" by Steve
Mastriani, because it's not much use without the author's rather
expensive library. (The code disk for the book is freely available on
CompuServe OS2DF1 -- a good place for OS/2 device driver help -- but
it doesn't include the library.)
Of course you'll want the IBM "Physical Device Driver Reference". The
best way to get it (and a whole lot more besides) is to sign up for
the free IBM WorldWide Developers Assistance Program on CompuServe (GO
OS2DAP), and then order the $15 Professional Developers Kit CD-ROM.
Best regards,
John
p.s. You'll need MASM to assemble your driver.
Technical Details
Message-ID:
<2665.18.uupcb@uttsbbs.uucp>Path:
arc1-ca.pugleaf.net!sparky!uunet!know!cass.ma02.bull.com!think.com!ames!data.nas.nasa.gov!taligent!apple!netcomsv!boo!uttsbbs!john.navasShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!know!cass.ma02.bull.com!think.com!ames!data.nas.nasa.gov!taligent!apple!netcomsv!boo!uttsbbs!john.navas From: john.navas@uttsbbs.uucp (John Navas) Newsgroups: comp.os.os2.programmer Subject: RE: WRITING TRIVIAL DEVIC Message-ID: <2665.18.uupcb@uttsbbs.uucp> Date: 15 Nov 92 12:14:00 GMT Reply-To: john.navas@uttsbbs.uucp (John Navas) Organization: The Transfer Station BBS, Danville, CA - 510-837-4610/837-5591 Lines: 34