[comp.sys.atari.st] Detecting whether GEM has finished loading yet

dmb@wam.umd.edu (David M. Baggett) (04/12/90)

   Is there any reliable, documented way to tell whether or not GEM is
fully loaded?  I want to run a program from an AUTO folder that replaces
the GEM process termination vector at $408.  If I set the vector in the
AUTO folder, GEM just clobbers it when it comes up.

   Currently, I install a VBI which waits for a fixed amount of time,
and then sets the vector.   This works, but is (obviously) not guaranteed
to work in the future.

   Is there an Atari-sanctioned way to pull this off?  I notice from the
Headstart documentation that Johnson & Eidsvoog do something involving the
line F trap.  I don't see why one has to resort to such tactics.

Ideas?

Dave Baggett
dmb@cscwam.umd.edu