C (216/274)

From:Paul Qureshi
Date:30 Sep 2000 at 23:03:40
Subject:Re: Graphics pen software and smoothmouse

Hi.

>> My other question is to do with killing of mouse movement events
>> completely. I want to write a program that makes the mouse pointer
>> smoother on RTG screens. To do this I sample the mouse, move it and
>> then

> This sounds like a good idea - the only problem will be with the PC
> mouse adapters, (Punchinello-II, EZMouse) which multiplex certain
> lines on the mouse port for wheel support, tied to the vblank
> interrupt. Perhaps a better solution would be find some way of
> convincing the RTG software to leave the AGA chips idling at a higher
> frequency (much like they already do horizontally for higher audio
> sample rates).

I think only normal Amiga mice will be supported with this hack. I did
think of trying to alter the AGA system but there are two problems with
doing it. Firstly, if you have a 100Hz RTG screen there is zero chance
that AGA will be able to produce 100 vertical blanks per second. The
other problem is that there is no reliable way of finding out the screen
refresh rate, at least with P96, I'll check CGX.

> The biggest problems will be with the buttons, so if you leave the
> buttons to gameport/input.device and just do the movements yourself,
> the worst that should happen is an occasional jitter.

Yeah, buttons will be left, only the movements will be fiddled. In
theory it should be as good as the input.device as that is simply a task
taking signals from an interupt at a high priority. Once a higher
priority task takes all the CPU time your mouse stops.

Paul



.-------------------------------------.----------------.
| Ami3D....www.mc68k.btinternet.co.uk | Asm..C..Blitz2 |
| email...paul.qureshi@btinternet.com | Intel..Outside |
`-------------------------------------^----------------'
Village Tronic Petition: www.mc68k.btinternet.co.uk/vt