🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: GEM multi-tasking interface (please!!)

#3777
From: Allan Pratt
Date: Thu, 07 Sep 1989 18:53
16 lines
1248 bytes
larserio@IFI.UIO.NO (LarsErikOsterud) writes:
>BIOS, XBIOS and GEMDOS can be called from within themselves !!
>I do this in many of my TSR program (even call GEMDOS inside BIOS !!!!)

This statement both incomplete and partly false.  There are
restrictions on re-entering BIOS and XBIOS, and YOU CAN NOT REENTER
GEMDOS.  You can *enter* GEMDOS (from BIOS, for instance) but if GEMDOS
calls BIOS and your handler calls GEMDOS you will be in BIG TROUBLE.

I can go into gruesome detail about why this is true, but face it: it
only takes one non-stack-type access to bestow non-reentrancy, and
there are a LOT of them when you're entering and exiting GEMDOS.

============================================
Opinions expressed above do not necessarily	-- Allan Pratt, Atari Corp.
reflect those of Atari Corp. or anyone else.	  ...ames!atari!apratt
Technical Details
Message-ID: <1684@atari.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!sun-barr!newstop!sun!imagen!atari!apratt
References: <CMM.0.88.621125609.larserio@kyrre.uio.no>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!sun-barr!newstop!sun!imagen!atari!apratt
From: apratt@atari.UUCP (Allan Pratt)
Newsgroups: comp.sys.atari.st
Subject: Re: GEM multi-tasking interface (please!!)
Message-ID: <1684@atari.UUCP>
Date: 7 Sep 89 18:53:27 GMT
References: <CMM.0.88.621125609.larserio@kyrre.uio.no>
Organization: Atari Corp., Sunnyvale CA
Lines: 16