Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!husc6!mit-eddie!ll-xn!ames!ptsfa!varian!kinetics!zehntel!donw
From: donw@zehntel.UUCP (Don White)
Newsgroups: comp.sys.amiga
Subject: HELP! (ummm, help?)
Message-ID: <549@zehntel.UUCP>
Date: Wed, 2-Dec-87 16:16:15 EST
Article-I.D.: zehntel.549
Posted: Wed Dec  2 16:16:15 1987
Date-Received: Sun, 13-Dec-87 09:27:45 EST
Organization: Zehntel, Inc., Walnut Creek, CA
Lines: 28
Keywords: bitpad, serial device, dpaint


     Hello fellow amigamaniacs,

          I have been given a bitpad (i.e. digitizing tablet) and I have
     written a program which reads bitpad data from the amiga serial
     device and converts the data to raw mouse events and inserts the
     mouse data into the input.device input stream.  I multitask this
     program by 'run'ning it from a CLI.  It works, but something is
     not right.
          I can use the bitpad to operate workbench, but when I try to 
     start Dpaint it barfs intensely. The cursor slows way down for a 
     while, then it speeds up and starts zipping all over the screen.
     Nice art, but not what I had in mind. If I try using the mouse
     after using the bit pad, the cursor keeps going crazy for a few
     moments, then starts working normally.
          I don't know where to find the problem. I've tried twiddling
     the task priorities, but it doesn't make any difference. Is DoIO()
     too slow? Is Dpaint doing some busy waits?  Is my whole approach 
     intrinsically stupid? Whazahuh?

          Any ideas? (At all?)
                                                 Thanks,
                                                     Don White
     zehntel|donw (in california)
     PO BOX 271177
     Concord, CA.
     94527-1177