wesw@ozvax.WV.TEK.COM (Wes Whitnah) (06/30/89)
Would someone please tell me of a way that an application can _reliably_ tell if GDOS is resident (without killing the program!)? I want to determine if my application can use the GDOS/GEM printer support or whether it must use more direct means. Any help is greatly appreciated. Thanks. Wes Whitnah wesw@ozvax.WV.TEK.COM
kbad@atari.UUCP (Ken Badertscher) (07/04/89)
wesw@ozvax.WV.TEK.COM (Wes Whitnah) writes: | Would someone please tell me of a way that an application can | _reliably_ tell if GDOS is resident (without killing the program!)? Do a trap #2 with d0 set to -2. If the trap call returns to you with d0 still equal to -2, GDOS is not there. -- ||| Ken Badertscher (ames!atari!kbad) ||| Atari R&D System Software Engine / | \ #include <disclaimer>