🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Basepages in Megamax C

#25430
From: Dave Allum
Date: Thu, 05 Mar 1987 09:56
16 lines
1503 bytes
Megamax stores the basepage address in a variable called _base which is
declared in the runtime startup routine (as char *_base).  If you have
the library source disk then the routine to look at is init.c. If you
are going to call Ptermres remember that the runtime code will already
have returned unused memory to TOS during startup and to add the stack
size in use to the program size given on the Ptermres call. The stack 
size reserved is normally 8K and, I think, 2K if you link in the
desk accessory library.

  ~    ----------------------------------------------------------
 O^O   Dave Allum, SWURCC, University of Bath, BATH BA2 7AY, U.K.
  V
 / \   USENET ..!mcvax!ukc!bath63!sc_dra        ISD +44 225 60371
/\_/\  JANET  dave@uk.ac.swurcc.gecdv           STD    0225 60371
_| |_  __________________________________________________________
Technical Details
Message-ID: <828@bath63.ux63.bath.ac.uk>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!mcvax!ukc!dcl-cs!bath63!sc_dra
References: <8702280631.AA04672@ucbvax.Berkeley.EDU>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!mcvax!ukc!dcl-cs!bath63!sc_dra
From: sc_dra@bath63.ux63.bath.ac.uk (Dave Allum)
Newsgroups: comp.sys.atari.st
Subject: Re: Basepages in Megamax C
Message-ID: <828@bath63.ux63.bath.ac.uk>
Date: Thu, 5-Mar-87 04:56:55 EST
Article-I.D.: bath63.828
Posted: Thu Mar  5 04:56:55 1987
Date-Received: Sun, 8-Mar-87 06:48:41 EST
References: <8702280631.AA04672@ucbvax.Berkeley.EDU>
Reply-To: sc_dra@ux63.bath.ac.uk (Dave Allum)
Distribution: world
Organization: SWURCC, University of Bath, UK
Lines: 16
Summary: _base and be careful with Ptermres