[comp.sys.amiga] Input Handler Question

bmacintyre@watsol.waterloo.edu (Blair MacIntyre) (10/26/88)

[ posted by Blair ... for Jan at the Science Centre - his news t'aint workin'
  well! ]

Howdy.

I was wondering about using my own input handler...

Now before you jump down my throat telling me to read manuals,
I've successfully done it... essentially a:
	OpenDevice on the input.device
and do an IND_ADDHANDLER command iorequest

BUT I have a question relating to doing this under 
Manx (V3.6a) small-data model.

Does such an input handler need to do a geta4() and save registers D2/D3
at the beginning of the input-handling-routine,
or will a4 be OK??
My Manx manuals say that subtasks and INTERRUPT SERVICE ROUTINES must do
a geta4() if using small data model.
Does my input handler really qualify as such an interrupt service routine?

In my small tests it seems to work fine without geta4() nor saving D2/D3
but is this really kosher??

Thanks,
Jan Sven.
----------------------------------------------------------------
Mind like parachute  -  function only when open!
Happiness is being smart enough to know what not to worry about.

Jan  (Jan, from Amsterdam) no-hyphen Sven  Trabandt
...!{lsuc,utgpu,utzoo}!oscvax!jan
(416) 429-4100 x228 work, (416) 223-3590 home


--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
= Blair MacIntyre (bmacintyre@watsol.waterloo.edu)  The Guy in Green ...      =
= "Don't be mean ... remember, no matter where you go, there you are." BBanzai=
= "Don't wurry, be habby ..."                                                 =