Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!news.funet.fi!kannel!cale From: cale@lut.fi (Antti Kirmanen) Newsgroups: comp.os.os2.programmer Subject: OS/2 device drivers Message-ID: <1991Apr09.151935.19325@lut.fi> Date: 9 Apr 91 15:19:35 GMT Organization: Lappeenranta University of Technology, Finland Lines: 18 I'm currently trying to write a device driver for OS/2. My problem is, that I should use inp and outp functions to communicate with a port. OS/2 programmers reference manual says, that I should use DosPortAccess() function call but then ... Program crashes allways in the first outp() or inp() call. I'm using Microsoft C 6.0 with OS/2 1.1 Can anyone help me. A simple example would be great. Thanks in advance.... Please e-mail: cale@kannel.lut.fi -- __________________________________________________ : Antti Kirmanen internet: cale@kannel.lut.fi : : Laserkatu 2 E 7 53850 LPR tel 953-20079 : --------------------------------------------------