Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: D Finnigan Newsgroups: comp.sys.apple2.programmer Subject: Re: Comments on using Merlin Pro relocatable =?UTF-8?B?bGlua2VyPw==?= Date: Sat, 21 Feb 2015 20:00:04 +0000 (UTC) Organization: Mac GUI Lines: 58 Message-ID: References: <1940449860446078235.571153mjmahon-aol.com@news.giganews.com> <1664368681446081436.264912mjmahon-aol.com@news.giganews.com> <315384735446236752.879288mjmahon-aol.com@news.giganews.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Sat, 21 Feb 2015 20:00:04 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="ac9e0e4d7dd3957fb97803ee6801bab8"; logging-data="14142"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/HBr6yOA62wEouuvpPG3xO" User-Agent: Mac GUI Usenet In-Reply-To: <315384735446236752.879288mjmahon-aol.com@news.giganews.com> Cancel-Lock: sha1:ppzmSBdoVdKzNIjbbQG6milXOYg= Xref: csiph.com comp.sys.apple2.programmer:1517 Michael J. Mahon wrote: > D Finnigan wrote: >> Michael J. Mahon wrote: >>> D Finnigan wrote: >>>> Michael J. Mahon wrote: >>>>> >>>>> An alternative to linking when source files grow is to split your >>>>> source >>>>> into multiple (hopefully logically related) files and pare your actual >>>>> assembly file down to a "use" for macro definitions and a series of >>>>> "put"s >>>>> for the rest of the code segments. >>>> >>>> Does PUT require the target file to be saved with the W command? Just >>>> from >>>> simple testing, I couldn't get PUT to accept a Merlin .S source file. >>>> >>>> >>>>> This way, the "put" segments only occupy space one at a time. >>>>> >>>>> The ProDOS version is a win, too, and worth the changeover. >>>>> >>>> >>>> Point taken. I just need to dig out my ProDOS User's disk with its >>>> Convert >>>> utility. >>> >>> >>> Put without the .s suffix. >> >> Thanks. >> >> Also, but suggesting that I use PUT, are you also implying that I should >> stay away from using the REL linker? > > No, but since your only problem is size, PUT deals with it in a very > simple > way without the additional complications of linking. And it keeps your > listing whole. OK, thanks for the clarification. Also, I've discovered why my experiment with PUT failed: the DOS 3.3 version of Merlin Pro *requires* the target file to be a text file saved with the W command, whereas under ProDOS Merlin Pro, all files are text files. But this isn't the first time that the Merlin Pro manual has been unclear or vague about a particular function of the program. :-( Needless to say, I'm going to be switching over to ProDOS Merlin Pro ASAP. -- ]DF$ Apple II Book: http://macgui.com/newa2guide/ Usenet: http://macgui.com/usenet/ <-- get posts by email! Apple II Web & Blog hosting: http://a2hq.com/