home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / ibm / pc / hardware / 34416 < prev    next >
Encoding:
Internet Message Format  |  1992-12-29  |  2.7 KB

  1. Xref: sparky comp.sys.ibm.pc.hardware:34416 comp.sys.ibm.pc.misc:16203 comp.sys.ibm.pc.programmer:702
  2. 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
  3. From: mmigdol@ccwf.cc.utexas.edu (michael a migdol)
  4. Newsgroups: comp.sys.ibm.pc.hardware,comp.sys.ibm.pc.misc,comp.sys.ibm.pc.programmer
  5. Subject: Looking for TP 6.0-compatable Koala pad driver
  6. Message-ID: <85929@ut-emx.uucp>
  7. Date: 30 Dec 92 01:24:26 GMT
  8. Sender: news@ut-emx.uucp
  9. Reply-To: mmigdol@ccwf.cc.utexas.edu (michael a migdol)
  10. Followup-To: comp.sys.ibm.pc.hardware
  11. Organization: The University of Texas at Austin, Austin TX
  12. Lines: 38
  13. Originator: mmigdol@grumpy.cc.utexas.edu
  14.  
  15.  
  16.      Believe it or not, my boss is still using a Koala pad for her 
  17. psychoacoustic experiments. (A lot of her subjects are elderly, and find the
  18. Koala pad easier to use than a mouse; in addition, we can use the Koala AND
  19. a mouse at the same time...)  Having said that, it's probably not too 
  20. suprising that she's only recently upgraded to Turbo Pascal 6.0 (from *3.0*!!!)
  21. We haven't had much trouble converting most of the drivers we use to 
  22. 6.0, but the Koala driver that we've got uses a binary file for some of its
  23. internal routines, and I'm having trouble interfacing it correctly in Turbo
  24. 6.0. The binary consists of a small jump table, 5 procedures/functions, and
  25. apparently some utility code at the end. My original try was to 
  26. 1: Disassemble the binary file
  27. 2: Place everything but the jump table in an asm statement in a procedure
  28.    with the header:
  29.    PROCEDURE Internal_Koala(which : Integer);
  30. 3: Whenever one of the 5 procedures/functions is called in the driver, replace
  31.    with a call to Internal_Koala and the approiate function/procedure number.
  32. 4: At the start of the Internal_Koala routine, put a CASE statement of which
  33.    to GOTO to the appropriate part of the assembly code.  
  34.  
  35. This failed. I'm thinking it's because the assembly code is finding more on
  36. the stack than it expected (from the call to Internal Koala.) I tried prefacing
  37. each GOTO in the CASE statement with : asm POP AX; POP AX; end;  to get
  38. rid of which and one address off the stack. But that didn't work either...
  39.  
  40. I suspect I've lost just about everyone out there by now....to get to the main
  41. point :
  42.    1) Does anyone out there have a Koala pad driver compatable with TP 6.0?
  43.       Or know of where we can get one? (Koala has lone since gone out of 
  44.       business, and Touch Technology, who acquired the rights, hasn't been
  45.       able to help me)
  46.     2) If you followed the above gibberish, what am I doing wrong? If you 
  47.        kind of understand, let me know and I'll try to explain it a little
  48.        better.
  49.  
  50. Thanks in advance! Please reply by mail if possible.
  51. - Michael
  52.  
  53.