home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / os2 / programm / 7315 < prev    next >
Encoding:
Text File  |  1993-01-04  |  975 b   |  26 lines

  1. Newsgroups: comp.os.os2.programmer
  2. Path: sparky!uunet!usc!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!mimbres.cs.unm.edu!unmvax!intvax!ceschel
  3. From: ceschel@isrc.sandia.gov (Chad E. Schell)
  4. Subject: Flushing I/O buffers in OS/2 2.0
  5. Message-ID: <1993Jan4.223227.3334@isrc.sandia.gov>
  6. Organization: Sandia National Labs, Org. 1600, Albq., NM
  7. Date: Mon, 4 Jan 1993 22:32:27 GMT
  8. Lines: 16
  9.  
  10. I am writing a device driver under OS/2 to talk to a motion 
  11. control board, and I need to be able to flush its input
  12. and output buffers (hardwired memory on the board) on demand.
  13.  
  14. I can write the routines for strategy calls 7H (flush input) and
  15. BH (flush output), but I don't know what commands my C program
  16. has to issue to get the operating system to issue commands
  17. 7H and BH.
  18.  
  19. If anyone knows what commands to send, or where a list that matches
  20. control program calls to device driver strategy calls can be found
  21. please email me this information.
  22.  
  23. Thanks,
  24. Chad Schell
  25. ceschel@cs.sandia.gov
  26.