Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!portal!atari!kbad From: kbad@atari.UUCP (Ken Badertscher) Newsgroups: comp.sys.atari.st Subject: Re: Is GDOS home? Summary: moveq #-2,d0 / trap #2 / cmp #-2,d0 / beq nogdos Keywords: GDOS Message-ID: <1589@atari.UUCP> Date: 4 Jul 89 04:03:31 GMT References: <1786@ozvax.WV.TEK.COM> Organization: Atari Corp., Sunnyvale, CA Lines: 13 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