[comp.sys.amiga.tech] Which timers are free?

lee@sed170.HAC.COM (John Lee ) (12/24/88)

I have an application that must send a pulse to mouse port 2 and must be
synched to the VBLANK interrupt, but must occur a fixed time after the
interrupt.  I have several options, including using the copper to actually do
the output via the user copper list, but I wonder what would happen if the
screen is dragged down or subtended (put behind other screens.)  This code
must be multitasking/OS/Intuition/Workbench friendly.

The idea I have would be to:
	1) Establish a VBLANK interrupt handler.  This would start the timer
		on each VBLANK.
	2) Establish a timer interrupt handler.  This would send the pulse
		to mouse port 2.

Creating and establishing the two handlers are easy.  So, what's my problem?
I need to know which timer is free to allocate for my use and if there is a
better way to go about it.  I just read the article by Robert "Kodiak" Burns
in reply to a different question which said that the two timers in CIAB are
free, but I wish to confirm this (I also seem to recall that that only one
timer generates a hardware interrupt.)

I'd appreciate any help, questions, critiques, and donations.  Thank you!

					John Lee

-------------------------------------------------------------------------------
Raining CATS and DOGS?  Join the RATS: Remote Amiga Teleconferencing System
	+--------+			John Lee
	| HUGHES |
	+--------+			ARPAnet: jhlee@hac2arpa.hac.com	
	Hughes Aircraft Company
The above opinions are those of the user and not of those of this machine.

me128-aw@kepler.Berkeley.EDU (me128 student) (01/02/89)

In article <272@sed170.HAC.COM> lee@sed170.UUCP (John Lee (ird)) writes:
>
 [Substance removed]
>
>I'd appreciate any help, questions, critiques, and donations.  Thank you!
                                                    ^^^^^^^^^
                                                    Yeah, right.

>
>					John Lee

-Vince Lee (Yeah, we're related)