home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.ibm.pc.hardware:34416 comp.sys.ibm.pc.misc:16203 comp.sys.ibm.pc.programmer:702
- Path: sparky!uunet!gatech!darwin.sura.net!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!sun-barr!cs.utexas.edu!ut-emx!ccwf.cc.utexas.edu!mmigdol
- From: mmigdol@ccwf.cc.utexas.edu (michael a migdol)
- Newsgroups: comp.sys.ibm.pc.hardware,comp.sys.ibm.pc.misc,comp.sys.ibm.pc.programmer
- Subject: Looking for TP 6.0-compatable Koala pad driver
- Message-ID: <85929@ut-emx.uucp>
- Date: 30 Dec 92 01:24:26 GMT
- Sender: news@ut-emx.uucp
- Reply-To: mmigdol@ccwf.cc.utexas.edu (michael a migdol)
- Followup-To: comp.sys.ibm.pc.hardware
- Organization: The University of Texas at Austin, Austin TX
- Lines: 38
- Originator: mmigdol@grumpy.cc.utexas.edu
-
-
- Believe it or not, my boss is still using a Koala pad for her
- psychoacoustic experiments. (A lot of her subjects are elderly, and find the
- Koala pad easier to use than a mouse; in addition, we can use the Koala AND
- a mouse at the same time...) Having said that, it's probably not too
- suprising that she's only recently upgraded to Turbo Pascal 6.0 (from *3.0*!!!)
- We haven't had much trouble converting most of the drivers we use to
- 6.0, but the Koala driver that we've got uses a binary file for some of its
- internal routines, and I'm having trouble interfacing it correctly in Turbo
- 6.0. The binary consists of a small jump table, 5 procedures/functions, and
- apparently some utility code at the end. My original try was to
- 1: Disassemble the binary file
- 2: Place everything but the jump table in an asm statement in a procedure
- with the header:
- PROCEDURE Internal_Koala(which : Integer);
- 3: Whenever one of the 5 procedures/functions is called in the driver, replace
- with a call to Internal_Koala and the approiate function/procedure number.
- 4: At the start of the Internal_Koala routine, put a CASE statement of which
- to GOTO to the appropriate part of the assembly code.
-
- This failed. I'm thinking it's because the assembly code is finding more on
- the stack than it expected (from the call to Internal Koala.) I tried prefacing
- each GOTO in the CASE statement with : asm POP AX; POP AX; end; to get
- rid of which and one address off the stack. But that didn't work either...
-
- I suspect I've lost just about everyone out there by now....to get to the main
- point :
- 1) Does anyone out there have a Koala pad driver compatable with TP 6.0?
- Or know of where we can get one? (Koala has lone since gone out of
- business, and Touch Technology, who acquired the rights, hasn't been
- able to help me)
- 2) If you followed the above gibberish, what am I doing wrong? If you
- kind of understand, let me know and I'll try to explain it a little
- better.
-
- Thanks in advance! Please reply by mail if possible.
- - Michael
-
-