Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!amdahl!pacbell!ptsfa!res From: res@ptsfa.PacBell.COM (stockwell-1140galaxy-Bob Stockwell) Newsgroups: comp.sys.ibm.pc Subject: Turbo C and Microsoft Mouse problems Message-ID: <4630@ptsfa.PacBell.COM> Date: 31 Dec 88 20:05:02 GMT Organization: Pacific * Bell, San Ramon, CA Lines: 30 I recently purchased Turbo C 2.0, and I thought I would try my hand at Mouse programming. But I ran into a brick wall, and I wonder if anyone can help. My problem is that I can't keep up with the mouse motion. I want to plot some points on the screen, but I can't track the mouse fast enough to plot them. I first tried doing Mouse (Microsoft) function 3 (Get Status), in a polling fashion. That was far too slow. Then I resorted to function 12 (Set Subroutine). Figuring that I would keep up with the mouse, but probably slow it down at worse. Instead I experienced the same problem. I don't understand why I can't plot a single point, in the same time that the mouse driver is able to replot the whole cursor. It seems that my subroutine is not being called consistently. I would like to avoid writing an assembler subroutine, partly because I'm not real adept at assembler, but mostly I don't believe that Turbo C is making all that much difference. I tested it's graphics capabilities and it was able to plot 10,000 points in about 2 seconds. Does anyone have any experience with Turbo C and Microsoft Mouse (and EGA). Working code would be nice :-) Thanks, Bob Stockwell pacbell!ptsfa!res