<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">On 2020-03-06 07:48 PM, Robert
      Armstrong wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:009d01d5f433$4e96e900$ebc4bb00$@com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Generator" content="Microsoft Word 12 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <div>
          <blockquote style="border:none;border-left:solid #CCCCCC
            1.0pt;padding:0in 0in 0in
            6.0pt;margin-left:4.8pt;margin-right:0in">
            <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Thanks,
                Olaf, for the updates.  macro11 is working pretty well
                now.<o:p></o:p></span></p>
            <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
            <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Is
                there a a path from macro11 .obj files to absolute
                memory images, preferably in -11 absolute loader paper
                tape image format, that I can transfer to a real -11? <o:p></o:p></span></p>
            <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
            <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Did
                someone say that there’s link11 as well?  Or a task
                builder?<o:p></o:p></span></p>
            <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
            <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Thanks,<o:p></o:p></span></p>
            <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Bob
                Armstrong<o:p></o:p></span></p>
            <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
          </blockquote>
        </div>
      </div>
    </blockquote>
    <p>A while back I was looking to do the same thing (assemble macro11
      files into .bin images loadable into, for example, simh) but never
      found a solution like the sources for a linker outside of a DEC
      O/S.</p>
    <p>So I built this:  <a class="moz-txt-link-freetext" href="https://github.com/AK6DN/obj2bin">https://github.com/AK6DN/obj2bin</a></p>
    <p>And use it like this in my Makefile (under cygwin on windows):</p>
    <blockquote>
      <p><b><tt># makefile for pdp11 bin code</tt></b><b><tt><br>
          </tt></b><b><tt><br>
          </tt></b><b><tt>.PRECIOUS: %.obj</tt></b><b><tt><br>
          </tt></b><b><tt><br>
          </tt></b><b><tt>MACOPT ?= -d md -d me -e bex -yus -rt11</tt></b><b><tt><br>
          </tt></b><b><tt>OBJOPT ?= --debug --verbose</tt></b><b><tt><br>
          </tt></b><b><tt><br>
          </tt></b><b><tt>%.obj : %.mac</tt></b><b><tt><br>
          </tt></b><b><tt>    macro11 $< $(MACOPT) -l $*.lst -o $@</tt></b><b><tt><br>
          </tt></b><b><tt><br>
          </tt></b><b><tt>%.bin : %.obj</tt></b><b><tt><br>
          </tt></b><b><tt>    obj2bin.pl $(OBJOPT) --binary --log
            $(@:.bin=.log) --out $@ $+</tt></b><b><tt><br>
          </tt></b><b><tt><br>
          </tt></b><b><tt># all the files to be made</tt></b><b><tt><br>
          </tt></b><b><tt>BIN=memx.bin echo1.bin echo2.bin dl11.bin</tt></b><b><tt><br>
          </tt></b><b><tt><br>
          </tt></b><b><tt>all : $(BIN)</tt></b><b><tt><br>
          </tt></b></p>
    </blockquote>
    <p>Besides linking multiple .obj into a single .bin, it can also
      generate M9312 compatible boot and console PROM hex image files.</p>
    <p>Don<br>
    </p>
    <blockquote>
      <p><br>
      </p>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>