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"

Date 2012-04-13 16:57 -0400
From Steven Hirsch <snhirsch@gmail.com>
Newsgroups comp.sys.apple2.programmer
Subject Re: "LINKER", a program found on Asimov's "EDASM.DSK"
References (1 earlier) <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>
Message-ID <tNKdnVQ_Io7SDhXSnZ2dnUVZ_judnZ2d@giganews.com> (permalink)

Show all headers | 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