Article View: comp.os.msdos.programmer
Article #1470IBM 8516 Touch Screen Device Driver
From: Roman Rozin
Date: Sat, 12 Sep 1992 23:41
Date: Sat, 12 Sep 1992 23:41
17 lines
1058 bytes
1058 bytes
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
Technical Details
Message-ID:
<16449@pitt.UUCP>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!rutgers!ub!dsinc!pitt.edu!pitt!rozinShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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