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