[net.micro.amiga] help with Multi-tasking,Interrupts,Gurus needed

chicken@deepthot.UUCP (Rob Mowat) (08/01/86)

   Hi, it's me again in the Psychology lab in London, Ontario.

 I wonder if anyone knows if the multi-tasking on the amiga
can be disabled . I need to install an interrupt driven
reaction timer in my graphics program and the accuracy is very
important. The program is based on Rob Peck's double buffer
and bobs example program and has objects moving around the screen
in random motion. (vision testing, don'tcha know).
 The reason why I would like to disable Multi-tasking is that I beleive
that with all the tasks floating around the Amiga, some may delay MY
timer interrupt. (Hmmm, is this vague, I don't know?)

  Question 2: the program as it stands uses a timer which polls
 the 2Nd mouse port for reaction key-press. I am using the 8520
 A timer chip's timers which the Hardware Manual says are used for 
  timer A - serial port communication
  timer B - QBSBLIT
  neither of which are in process while it polls the mouseport.
  Curiously enough the 2nd disk drive light goes on (most of the
  time ) when the program is in the polling stage.
   As well, any disk activity, and SHAZAM, a guru.

  So does the disk drive use timer A at all ?
   Which leads me to Question 3. How can I use the "guru's" to help
 me in my debugging. As it stands right now, they are just hex numbers
 to me. What do they mean? (I am sure this question must have been
 answered time and again but I only have been at the amiga for three months
 so I missed it)
                               Thanks for your help

jkb@ukma.UUCP (Keith Burton) (08/07/86)

In article <792@deepthot.UUCP> chicken@deepthot.UUCP (Rob Mowat) writes:
> I wonder if anyone knows if the multi-tasking on the amiga
>can be disabled . I need to install an interrupt driven
>reaction timer in my graphics program and the accuracy is very
>important. 

I read that the 'SuperState' and 'UserState' function calls will prevent
your task from being suspended.  I don't know what it will do to your
interrupt though.  It might disable them.

			Keith Burton  (VM rules...unix is just a fad)