Xref: utzoo comp.windows.ms.programmer:1979 comp.lang.pascal:6257 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!mips!news.cs.indiana.edu!ux1.cso.uiuc.edu!usenet From: mcdonald@aries.scs.uiuc.edu (Doug McDonald) Newsgroups: comp.windows.ms.programmer,comp.lang.pascal Subject: connecting Win30 (386 enh) programs to devices Message-ID: <1991Apr19.195538.23441@ux1.cso.uiuc.edu> Date: 19 Apr 91 19:55:38 GMT Sender: usenet@ux1.cso.uiuc.edu (News) Organization: University of Illinois at Urbana Lines: 18 I want to use Windows 3.0 (386 enhanced mode) to talk to a device (an ADC convertor) that requires interrupts. I got this to work just fine by writing a DOS character device driver .sys file, and sending commands to it with ordinary DOS writes and getting data with ordinary DOS reads. But this appears to only transfer ONE byte at a time. Its inefficient. So I tried using the DOS IOCTL calls - which can transfer several bytes per call. I used the MSC 5.1 intdos call. Works fine in real mode - bombs in standard and 386 mode. How does one do this? Tools I have: MSC5.1, the Windows 2.11 SDK, and assembler. I also run Qemm386. Doug McDonald (mcdonald@aries.scs.uiuc.edu)