On Sat, Apr 11, 2026 at 3:37 AM B 9 <[email protected]> wrote: > P.S. One of the ways I've been learning about how the Rx hook works is by > reading the code for HTERM. Is the gen_reloc.pl program supposed to work > as-is? I ended up redoing the Makefile so it works with the `asmx` > assembler — the hterm.asm file and supporting files actually didn't need > any changes, only the Makefile was having trouble. Let me know if you're > interested in the changes and I'll share them back with you. > > Does gen_reloc.pl work as-is... haven't used it in a while but I assume I had it working and I guess the big dependency is TASM. If you want to use some other assembler you'd have to deal with whatever its output file formats are.
And the makefile is doing some work in setting ORG and assembling the same file at 0 and 1 the gen_reloc.pl can detect all the address differences. But you may not need a relocating loader, you may be better off working around it. -- John.
