Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.apple2.programmer > #275

Re: "LINKER", a program found on Asimov's "EDASM.DSK"

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date Fri, 13 Apr 2012 15:57:51 -0500
Date Fri, 13 Apr 2012 16:57:51 -0400
From Steven Hirsch <snhirsch@gmail.com>
User-Agent Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.28) Gecko/20120313 Thunderbird/3.1.20
MIME-Version 1.0
Newsgroups comp.sys.apple2.programmer
Subject Re: "LINKER", a program found on Asimov's "EDASM.DSK"
References <3d9c2b3a-8d6a-4f59-add5-5bc3314f4cbc@i18g2000vbx.googlegroups.com> <7d9425ef-1115-4819-987f-d8cecd7b62d4@lf20g2000pbb.googlegroups.com> <55ccb74c-dae2-4418-b7a9-cf91384adab2@d4g2000vbn.googlegroups.com> <80a11a15-259d-4e50-94af-19755234e0c1@r9g2000yqd.googlegroups.com> <3f8904a4-759b-4853-aba1-31e9e4f75d11@dc2g2000vbb.googlegroups.com> <10552127.469.1334263793942.JavaMail.geo-discussion-forums@pbig5>
In-Reply-To <10552127.469.1334263793942.JavaMail.geo-discussion-forums@pbig5>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Message-ID <tNKdnVQ_Io7SDhXSnZ2dnUVZ_judnZ2d@giganews.com> (permalink)
Lines 22
X-Usenet-Provider http://www.giganews.com
X-Trace sv3-LiZ4BNreiH6uoqTPCIJizSnfk/OzaEoW2FWRClnqOmNxSPjyYTMsgE/Dv3/JyENnGZtbFLy7YFVIkiT!2GR/+GfVae5eE/woHrr6tfnsbMqkkBSPsrxYvpwiqCoZfFCkzbdT57KUoShtZ5LxBprt9u/4z9Qq
X-Complaints-To abuse@giganews.com
X-DMCA-Notifications http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info Otherwise we will be unable to process your complaint properly
X-Postfilter 1.3.40
X-Original-Bytes 2814
Xref csiph.com comp.sys.apple2.programmer:275

Show key headers only | View raw


On 04/12/2012 04:49 PM, David Schmenk wrote:

> As for using multiple ORG statements, that is probably causing confusion
> with the REL directive.  Even though you are assembling a REL file, it
> still requires an ORG statement to set a base address for the assembly.
> The ORG value is saved in the AUX field of the file, much like a BIN file,
> and used when calculating the relocation offset.  (Note: Virtual ][ has a
> bug where it forgets the AUX value between runs when mounting a directory
> as a ProDOS volume)  I think having an ORG directive is pointless when
> generating a REL file, but that's how it works.  I discovered that placing
> multiple ORG directives in the ASM source will generate multiple object
> files, one for each ORG.  Wanting to build a single binary that would
> relocate certain sections to different addresses required an additional
> tool to reconnect the separate object files back into one.  I had to build
> using the SYS objective in order to get everything assembled at the address
> I wanted it.

Yes.  If .PHASE was implemented properly you wouldn't need to go to all that 
trouble.

Willi, if you ever disassemble the assembler please consider adding this?

Back to comp.sys.apple2.programmer | Previous | NextPrevious in thread | Find similar


Thread

"LINKER", a program found on Asimov's "EDASM.DSK" A2CPM <a2@wilserv.com> - 2012-04-08 21:51 -0700
  Re: "LINKER", a program found on Asimov's "EDASM.DSK" MarkLim <markpmlim@yahoo.com.sg> - 2012-04-09 06:18 -0700
    Re: "LINKER", a program found on Asimov's "EDASM.DSK" A2CPM <a2@wilserv.com> - 2012-04-10 11:44 -0700
      Re: "LINKER", a program found on Asimov's "EDASM.DSK" MarkLim <markpmlim@yahoo.com.sg> - 2012-04-10 14:23 -0700
        Re: "LINKER", a program found on Asimov's "EDASM.DSK" A2CPM <a2@wilserv.com> - 2012-04-12 12:05 -0700
          Re: "LINKER", a program found on Asimov's "EDASM.DSK" Steven Hirsch <snhirsch@gmail.com> - 2012-04-12 15:37 -0400
          Re: "LINKER", a program found on Asimov's "EDASM.DSK" David Schmenk <dschmenk@gmail.com> - 2012-04-12 13:49 -0700
            Re: "LINKER", a program found on Asimov's "EDASM.DSK" A2CPM <a2@wilserv.com> - 2012-04-12 17:52 -0700
            Re: "LINKER", a program found on Asimov's "EDASM.DSK" Steven Hirsch <snhirsch@gmail.com> - 2012-04-13 16:57 -0400

csiph-web