🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: May I overwrite basepage

#37923
From: Leo de Wit
Date: Tue, 11 Apr 1989 10:39
17 lines
1410 bytes
In article <1430@atari.UUCP> apratt@atari.UUCP (Allan Pratt) writes:
|You'd better not go INTO your basepage, at least not past your command
|line (which starts at offset $80 in your basepage).  GEMDOS needs to use
|the basepage (not surprisingly), so you can't make any GEMDOS calls
|after you clobber your basepage.  The GEMDOS call Ptermres, which you
|obviously are using, definitely needs stuff in your basepage, like your
|parent's basepage address so it can restart your parent.  You can
|clobber your own command line area and the part of the TPA beyond that,
|but leave the rest of your basepage alone. 

And if you plan to use GEMDOS functions like Fsfirst/Fsnext (that use a
DTA: disk transfer address) without setting up your own DTA (Fsetdta if
I'm correct), you'd probably not want to clobber the command line area
either. Last time I looked the default value for the DTA (a pointer in
the basepage) was set up to point to just this area.

    Leo.
Technical Details
Message-ID: <1000@philmds.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!mcvax!hp4nl!philmds!leo
References: <766@stag.UUCP> <1430@atari.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!mcvax!hp4nl!philmds!leo
From: leo@philmds.UUCP (Leo de Wit)
Newsgroups: comp.sys.atari.st
Subject: Re: May I overwrite basepage
Message-ID: <1000@philmds.UUCP>
Date: 11 Apr 89 10:39:00 GMT
References: <766@stag.UUCP> <1430@atari.UUCP>
Reply-To: leo@philmds.UUCP (Leo de Wit)
Organization: Philips I&E DTS Eindhoven
Lines: 17