utilities for the Merlin 8/16+ assembler
Go to file
Kelvin Sherlock 6409ae9365 wasn't generating some SUPER records. 2019-12-14 19:00:22 -05:00
afp@b440a35d29 WIP 2019-12-09 13:02:15 -05:00
.gitignore ignore 2019-12-08 13:55:49 -05:00
.gitmodules WIP 2019-12-09 13:02:15 -05:00
.travis.yml travis - add re2c dependency 2019-12-13 23:48:01 -05:00
Makefile script support (wip) 2019-12-12 23:50:43 -05:00
README.md Create README.md 2019-12-11 10:07:12 -05:00
link.cpp import support. 2019-12-14 18:39:09 -05:00
link.h support (?) for multiple segments (linker.xl) 2019-12-13 23:49:10 -05:00
main.cpp defer gs.out default name until later. 2019-12-14 16:17:16 -05:00
mapped_file.cpp initial WIP 2019-12-08 13:55:33 -05:00
mapped_file.h initial WIP 2019-12-08 13:55:33 -05:00
omf.cpp wasn't generating some SUPER records. 2019-12-14 19:00:22 -05:00
omf.h initial WIP 2019-12-08 13:55:33 -05:00
ops.h add SEG command (does nothing, yet) 2019-12-14 16:16:05 -05:00
rel.h initial WIP 2019-12-08 13:55:33 -05:00
script.h defer operand parsing to eval. also adds symbol table lookup. 2019-12-14 12:43:12 -05:00
script.re2c add SEG command (does nothing, yet) 2019-12-14 16:16:05 -05:00
set_file_type.cpp it compiles... 2019-12-09 19:45:45 -05:00
unique_resource.h initial WIP 2019-12-08 13:55:33 -05:00

README.md

merlin-utils

utilities for the Merlin 8/16+ assembler

An OMF linker for Merlin 8/16+ REL files. Why? ummm....

merlin-link [-D key=value] [-X] [-C] [-o outfile] files....

  • -X: inhibit expressload segment
  • -C: inhibit super relocation records
  • -D: define an absolute label. value can use $, 0x, or % prefix.
  • -o: specify output file. default is gs.out

Building

git submodule init
git submodule update
make

Requires a c++17 compiler. (ie, ubuntu bionic or OS X 10.13). Also assumes a little-endian environment :/