Article View: comp.os.os2.programmer
Article #1180Writing Device Drivers for OS/2 2.0
From: Malathi Ramdas
Date: Fri, 21 Aug 1992 15:18
Date: Fri, 21 Aug 1992 15:18
14 lines
1461 bytes
1461 bytes
I am in the process of writing an instrument control character based devcie
driver for OS/2 2.0. The device driver architecture under OS/2 2.0 is still
16-bit. Does that mean that I need to generate 16-bit device driver code. (ie:
generate code using a 16-bit compiler and 16-bit linker). Also, what would
be the address format of the data address in an IOCTL request packet passed by
the kernel on behalf of an application making a DosDevIOCtl API call to my
device driver? Would it be in a 16:16 (selector:offset) form or a 0:32
address form (flat address)? Would it depend on whether the application is
16-bit or 32-bit? From what I read all 16-bit processes get tiled
into a flat virtual address space. I hope to hear that all virtual addresses
that gets passed to my driver is in a 0:32 bit form.
Is there a 32-bit assembler that goes out with OS/2 2.0. I still have the
masm assembler that is 16-bit. I have not received anything along with toolkit
Technical Details
Message-ID:
<1992Aug21.151852.8673@natinst.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!europa.asd.contel.com!darwin.sura.net!mips!sdd.hp.com!cs.utexas.edu!natinst.com!ramdasShow Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer,comp.os.os2.apps Path: arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!europa.asd.contel.com!darwin.sura.net!mips!sdd.hp.com!cs.utexas.edu!natinst.com!ramdas From: ramdas@natinst.com (Malathi Ramdas) Subject: Writing Device Drivers for OS/2 2.0 Message-ID: <1992Aug21.151852.8673@natinst.com> Sender: news@natinst.com Nntp-Posting-Host: eagle.natinst.com Organization: National Instruments, Austin, TX Date: Fri, 21 Aug 1992 15:18:52 GMT Lines: 17