🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #8472

Re: Possible BLINK bug????

#8472
From: Doug Walker
Date: Mon, 11 Apr 1988 20:38
25 lines
1965 bytes
In article <8804100045.AA12398@jade.berkeley.edu> SLMYQ@USU.BITNET writes:
>I see.  However, what I *really* want is just to have all data of the same type
>put into big data hunks - that will make the object size smaller, won't it?

OK, POOF, you've got it.  BLINK already does that.  BLINK merges all hunks
that have the same type and the same name.  If you don't go to extra effort,
Lattice always names the hunks it produces __MERGED, meaning they will always
be merged.

In article <364@jc3b21.UUCP> fgd3@jc3b21.UUCP (Fabbian G. Dufoe) writes:
>In article <8804060603.AA13042@jade.berkeley.edu>, SLMYQ@USU.BITNET writes:
>     I've had a problem with Lattice 4.0 that might be related to this.
>Nothing I do will prevent the compiler from naming data sections "_MERGED".
>That's a special name that causes Blink to merge all data hunks with that
>name.  It doesn't even matter if you are using SMALLDATA with Blink.  

You can use the -s option in Lattice 4.0 to choose your own name for each
data hunk.  BLINK merges all like-named hunks, not just __MERGED hunks.
However, I don't think this is really a problem - why do you care if BLINK
merges your data hunks?

Note that if you use the -b option to get 16-bit data addressing,
your data hunks MUST be merged for the reasons I listed before - the data
must be in the same 64K chunk of memory.  This means that if you use -b and
have any data compiled to CHIP memory, ALL your data must go to CHIP memory.
Technical Details
Message-ID: <452@sas.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!bellcore!tness7!petro!swrinde!ut-sally!im4u!tut.cis.ohio-state.edu!bloom-beacon!gatech!mcnc!rti!sas!walker
References: <8804060603.AA13042@jade.berkeley.edu> <364@jc3b21.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!bellcore!tness7!petro!swrinde!ut-sally!im4u!tut.cis.ohio-state.edu!bloom-beacon!gatech!mcnc!rti!sas!walker
From: walker@sas.UUCP (Doug Walker)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Possible BLINK bug????
Message-ID: <452@sas.UUCP>
Date: 11 Apr 88 20:38:13 GMT
References: <8804060603.AA13042@jade.berkeley.edu> <364@jc3b21.UUCP>
Reply-To: walker@sas.UUCP (Doug Walker)
Organization: SAS Institute Inc, Cary NC
Lines: 25