Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!elroy.jpl.nasa.gov!lll-winken!uunet!overload!dillon From: dillon@overload.Berkeley.CA.US (Matthew Dillon) Newsgroups: comp.sys.amiga.programmer Subject: Re: Mouse blanking Message-ID: Date: 11 May 91 23:47:59 GMT References: <9107@crash.cts.com> Organization: Not an Organization Lines: 53 In article mykes@amiga0.SF-Bay.ORG (Mike Schwartz) writes: >In article dillon@overload.Berkeley.CA.US (Matthew Dillon) writes: >> Yes, I know. Too bad. There is no other way to do it. You can always >> turn the feature off (without effecting other features). Call it a >> design decision if you will, but the majority of people who use DMouse >> these days use it for the mouse blanking. The mouse acceleration also >> generally used on 1.3 systems, but not as much under 2.0. >> >> -Matt >> > >Why not check to see if you are running under 2.0 and work as a commodity? Because I wrote DMouse years ago and have no intention of upgrading it any time soon (that is, I don't have the time :-)). My opinion of *Mouse type programs is that they come a dime a dozen.. I originally wrote DMouse because I didn't like Mach at the time, and encourage other people who don't like current *mouse enhancers to write their own! re: clearing the DMA registers before turning off sprite DMA. This will not work because sprite DMA may write to the registers after I clear them but before I turn off DMA. re: using WaitTOF()/Forbid(). It isn't a good idea to depend on this for mouse blanking, even in an interrupt (i.e. using VBLANK), because it makes too many assumptions on how and when system sprite DMA occurs, as well as adds a needless Forbid()/Permit() call and the overhead associated with the interrupt processing. Of course, it could also be argued that the overhead of processing input events is already so great that everything else is in the noise :-) -Matt >>-- >> >> Matthew Dillon dillon@Overload.Berkeley.CA.US >> 891 Regal Rd. uunet.uu.net!overload!dillon >> Berkeley, Ca. 94708 >> USA > >-- >**************************************************** >* I want games that look like Shadow of the Beast * >* but play like Leisure Suit Larry. * >**************************************************** -- Matthew Dillon dillon@Overload.Berkeley.CA.US 891 Regal Rd. uunet.uu.net!overload!dillon Berkeley, Ca. 94708 USA