Heath-style cross assembler

48 views
Skip to first unread message

B 9

unread,
Dec 21, 2025, 10:02:35 PM12/21/25
to se...@googlegroups.com

Hello kindly folks,

I heard a tip to use Mark Garlanger’s modified asmx for a classic HDOS assembler mode on my GNU/Linux box. Unfortunately, it isn’t working for me. For example, when assembling Dwight Elvey’s H89LDR2.ASM, I do this:

 asmx -b2329H -l -e -w -C8080 H89LDR2.ASM

When I use db-delectronic’s version of asmx, the output binary exactly matches Dwight’s preassembled H89LDR2.BIN. But using the HDOS enhanced version of asmx, the binary output is incorrect whether or not I use the -h flag. Looking at the differences, I can see that every label has the wrong address. The .LST file shows the problem:

2338                    ALGNR1:
... 233E CA 9C11 JZ ALGNR1 ; This should be CA 3823 ... ALGNR1 119C

What should I be doing differently? Thanks!

—b9

Jeff Tranter

unread,
Dec 22, 2025, 9:35:13 AM12/22/25
to se...@googlegroups.com
I can confirm that I see this issue with the code. It looks like an assembler bug.
I can look further into it.


--
You received this message because you are subscribed to the Google Groups "SEBHC" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sebhc+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/sebhc/CAG1tPesUKP%3D3EK0%3DFrPA7Prsjq9iEpeaVeQDvyhuj_-dZ998xw%40mail.gmail.com.

Jeff Tranter

unread,
Dec 22, 2025, 9:45:56 AM12/22/25
to se...@googlegroups.com

It looks like the original asmx assembler at http://xi6.com/projects/asmx/ does not have this issue, so it must have been introduced by the changes for HDOS support.
I'll look into it further.

Jeff Tranter

unread,
Dec 22, 2025, 8:32:31 PM12/22/25
to se...@googlegroups.com
I haven't determined the cause, but I logged an issue here:
https://github.com/mgarlanger/asmx/issues/6

glenn.f...@gmail.com

unread,
Dec 22, 2025, 9:06:14 PM12/22/25
to se...@googlegroups.com

Mark is active on this list (he’s actually the list owner) so I’m sure he’ll weigh in when he gets the chance…

 

  • Glenn

Mark Garlanger

unread,
Dec 22, 2025, 11:01:33 PM12/22/25
to se...@googlegroups.com
Sorry, I didn't have a chance to investigate this, but just took a quick look at db-delectronic's version and saw it mentioned that they have incorporated fixes from retrotechnology.com. My guess is something there fixed the issue that was present in the original asmx 2.0b5. 

Mark

B9

unread,
Dec 23, 2025, 12:34:54 AM12/23/25
to se...@googlegroups.com
How long ago did you fork asmx? If they are incorporating patches, maybe they'd be open to adding Heath support, too? That way any future fixes to the main code base would be included automatically.

Side question: Is it possible to compile a headerless binary using asmx without having to explicitly specify the ORG address (as in '-b 2938H')?

--b9

dwight

unread,
Dec 23, 2025, 2:35:02 PM12/23/25
to se...@googlegroups.com
Your indication was there is more than one error. Is there the same offset on all errors?
Dwight


From: se...@googlegroups.com <se...@googlegroups.com> on behalf of Jeff Tranter <tra...@gmail.com>
Sent: Monday, December 22, 2025 5:31 PM
To: se...@googlegroups.com <se...@googlegroups.com>

Subject: Re: [sebhc] Heath-style cross assembler

Mark Garlanger

unread,
Dec 23, 2025, 3:46:09 PM12/23/25
to se...@googlegroups.com
Github shows it's been about 10 years since I created the repo, but it wasn't forked, Bruce Tomlin just had the 2.0b5 version of the source available in a zip file on his site. It looks like db-delectronic created their repo about 8 years ago.

I think you will need to specify the ORG address, I'm not aware of a way to do it without it.

Reply all
Reply to author
Forward
0 new messages