🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #1887

Writing trivial device drivers - documentation? help?????

#1887
From: Mike Thompson
Date: Fri, 13 Nov 1992 00:20
24 lines
1712 bytes
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?

Second request: Does anyone have an example device driver (in masm) fully
functional they would make available to me.  I need examples of DevHlp calls
to get mapping of physical memory.  Any help most greatly appreciated.

------------------------
  ____ ___   ___    ___        Michael O. Thompson
   /  /  / / / /  / / / \ /    Materials Science & Engineering
  /  /__/ / / /  / / /  /      329 Bard Hall -- Cornell University
                               Ithaca, NY  14853
tommy@msc.cornell.edu          Ph: (607) 255-4714

OS/2:  For the few, the proud, the devoted!
Technical Details
Message-ID: <1992Nov13.002029.1824@msc.cornell.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!know!cass.ma02.bull.com!mips2!news.bbn.com!usc!zaphod.mps.ohio-state.edu!rpi!batcomputer!lynx@msc.cornell.edu!tommy

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!know!cass.ma02.bull.com!mips2!news.bbn.com!usc!zaphod.mps.ohio-state.edu!rpi!batcomputer!lynx@msc.cornell.edu!tommy
From: tommy@msc.cornell.edu (Mike Thompson)
Newsgroups: comp.os.os2.programmer
Subject: Writing trivial device drivers - documentation? help?????
Message-ID: <1992Nov13.002029.1824@msc.cornell.edu>
Date: 13 Nov 92 00:20:29 GMT
Sender: news@msc.cornell.edu
Organization: Cornell-Materials-Science-Center
Lines: 24