I grabbed the link11 source from the unix archive, mentioned earlier in this thread, and got them to compile. They don't work well, but they do compile. I added '-Wall' to the compile, and cleaned that up, but still doesn't work right. It seems to only read in one block of data, then gets lost. I haven't had a whole lot of time to play with it, but if anyone wants to look at what I have, it lies within this stuff https://github.com/khandy21yo/emutools under link11. Did.t make a new git for this by itself, since I didn't know if it was what it sounded like it was.
On Sat, Mar 7, 2020 at 10:56 AM Don North <[email protected]> wrote: > On 2020-03-06 07:48 PM, Robert Armstrong wrote: > > Thanks, Olaf, for the updates. macro11 is working pretty well now. > > > > 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? > > > > Did someone say that there’s link11 as well? Or a task builder? > > > > Thanks, > > Bob Armstrong > > > > 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. > > So I built this: https://github.com/AK6DN/obj2bin > > And use it like this in my Makefile (under cygwin on windows): > > *# makefile for pdp11 bin code* > > *.PRECIOUS: %.obj* > > *MACOPT ?= -d md -d me -e bex -yus -rt11* > *OBJOPT ?= --debug --verbose* > > *%.obj : %.mac* > * macro11 $< $(MACOPT) -l $*.lst -o $@* > > *%.bin : %.obj* > * obj2bin.pl <http://obj2bin.pl> $(OBJOPT) --binary --log > $(@:.bin=.log) --out $@ $+* > > *# all the files to be made* > *BIN=memx.bin echo1.bin echo2.bin dl11.bin* > > *all : $(BIN)* > > Besides linking multiple .obj into a single .bin, it can also generate > M9312 compatible boot and console PROM hex image files. > > Don > > > > _______________________________________________ > Simh mailing list > [email protected] > http://mailman.trailing-edge.com/mailman/listinfo/simh
_______________________________________________ Simh mailing list [email protected] http://mailman.trailing-edge.com/mailman/listinfo/simh
