home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / msdos / programm / 9312 < prev    next >
Encoding:
Text File  |  1992-09-12  |  1.0 KB  |  28 lines

  1. Path: sparky!uunet!cis.ohio-state.edu!rutgers!ub!dsinc!pitt.edu!pitt!rozin
  2. From: rozin@cs.pitt.edu (Roman Rozin)
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: IBM 8516 Touch Screen Device Driver
  5. Message-ID: <16449@pitt.UUCP>
  6. Date: 12 Sep 92 23:41:42 GMT
  7. Sender: news@cs.pitt.edu
  8. Organization: Univ. of Pittsburgh Computer Science
  9. Lines: 17
  10.  
  11.  
  12. I am writing a program in which I need to set user-defined subroutine
  13. (function 14) of the device driver.  
  14.  
  15. The array of device driver function pointers I declared as:
  16.     int (__far __pascal *(*touch_func)[])(int far *, int far *);
  17.  
  18. I obtain the address of the array (ax = 0xabcd, bx = 0, int 0x7f), and
  19. all other functions seem to be working right except 14..
  20.  
  21. I set the call flag to 0x20, and the call to
  22.     (*touch_func)[14](...)  returns 0 (ok status), but my
  23. subroutine does not get called when the screen is touched.  Anyone have
  24. any ideas on what I could be doing wrong, or if I'm missing something?
  25. Thanks in advance (I hope it's the right newsgoup for the question).
  26.  
  27. Roman Rozin
  28.