🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Pexec cookbook! (w/ Lattice C)

#27998
From: Jim Kaubisch
Date: Fri, 21 Aug 1987 00:15
35 lines
2267 bytes
 [ discussion about memory allocation ]
> 
>    Does anybody know exactly how I do this using Lattice C?  The documentation
> (for version 3.04) is less than clear on this point, and everything I've
> tried hasn't worked.  I have never really *needed* to give the extra 700K
> or so of memory back, but the sheer wastefulness of it annoys me (:-), and
> someday I may want to use that memory.  I'd appreciate any pointers on the
> subject.

I've been trying to figure this out for some time. I'm trying to get the
Lattice compiler and programs it generates to run under the Beckemeyer
MT-C shell. Because of Lattice's "taking all memory" approach, all Lattice
progs crash the shell. I haven't been able to get around it. My current
efforts are in the area of trying to build an alternate STARTUP.BIN.
My fall-back position is to throw away Lattice C.

>    And while I'm asking advice on Lattice C, is there any special startup
> module needed to link a program used as a desk accessory, as there
> (apparently) is with other C's?

You do need a special startup module. The latest version of Lattice 
supposedly includes one.

----------------
Jim Kaubisch,		   ----=----  ACSnet: whk@ausmelb.oz
Austec International Ltd,  ---===---  UUCP: ...!munnari!ausmelb.oz!whk	
344 St Kilda Rd,	   --== ==--  ARPA: whk%ausmelb.oz.au
Melbourne 3004 AUSTRALIA   -=== ===-  Phone: +61 3 699 4511	
-- 
Jim Kaubisch,		   ----=----  ACSnet: whk@ausmelb.oz
Austec International Ltd,  ---===---  UUCP: ...!munnari!ausmelb.oz!whk	
344 St Kilda Rd,	   --== ==--  ARPA: whk%ausmelb.oz.au
Melbourne 3004 AUSTRALIA   -=== ===-  Phone: +61 3 699 4511	
D
Technical Details
Message-ID: <404@ausmelb.oz.au>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!munnari!mulga!ausmelb!whk
References: <816@atari.UUCP> <1792@uwmacc.UUCP>

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!uunet!munnari!mulga!ausmelb!whk
From: whk@ausmelb.oz.au (Jim Kaubisch)
Newsgroups: comp.sys.atari.st
Subject: Re: Pexec cookbook! (w/ Lattice C)
Message-ID: <404@ausmelb.oz.au>
Date: Thu, 20-Aug-87 20:15:12 EDT
Article-I.D.: ausmelb.404
Posted: Thu Aug 20 20:15:12 1987
Date-Received: Sat, 22-Aug-87 20:00:48 EDT
References: <816@atari.UUCP> <1792@uwmacc.UUCP>
Organization: Austec International Ltd, Melbourne, Australia
Lines: 34
Keywords: Lattice, Metacomco
Summary: why you might want to recover the memory