🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #2200

Re: Is GDOS home?

#2200
From: Ken Badertscher
Date: Tue, 04 Jul 1989 04:03
13 lines
857 bytes
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>
Technical Details
Message-ID: <1589@atari.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!portal!atari!kbad
References: <1786@ozvax.WV.TEK.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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