Author Topic: JWasm continuation (our try) on GitHub  (Read 17255 times)

bugthis

  • Regular Member
  • *
  • Posts: 22
Re: JWasm continuation (our try) on GitHub
« Reply #30 on: October 27, 2022, 08:06:13 AM »

OS/2 Museum (with a nice description of the two passes, unfortunately not quite correct)

Thanks for the link. That was an interesting reading.

bugthis

  • Regular Member
  • *
  • Posts: 22
Re: JWasm continuation (our try) on GitHub
« Reply #31 on: October 27, 2022, 08:29:29 AM »
Hello bugthis,

I'm the author of jwasm.
Thank you for your work on jwasm. I use it on FreeDOS 1.3 inside a QEMU Virtual Machine environment.
FreeDOS 1.3 ships with jwasm on the FreeDOS Bonus CD.
Only jwlink is missing. I use Open Watcom's wlink instead, which also comes with FreeDOS on the Bonus CD.

https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.3/official/report.html
https://www.freedos.org/

Quote
If you don't want a github account, you can post in this forum, but I'd suggest to use the "DOS 16-bit" sub-forum then. I'm perhaps not visiting here on a daily basis, but if I do, I check the DOS forum then.
Thanks for the hint. That is good to know.

Quote
Generally, jwasm is based on the Masm v6 assembly language style. For programs written in Masm v1⁻v5, it's better to use Masm directly ( for example, jwasm hasn't implemented the "option oldmacros" ).
Ok, I'll just try to adapt the book's code to MASM v6.

Quote
I have to agree with jj, though: your code snippets are not full programs - that makes it unnecessarily cumbersome to reproduce your issues.

Why aren't they a full program? Could you explain that.
From my point of view, each of the two code snippet represents a file and the filename is given before the code tag. All that is required is, they only have to be saved under the appropriate name and assembled with MASM <= Version 5 and integrated with link.exe in the last step.

Should i have added the files inside a ZIP archive or ship them with the executable or what do you mean by "your code snippets are not full programs"?



Quote
         IF (Reg EQ AL) OR (Reg EQ AH)                                         

I checked that syntax: it's indeed accepted by Masm v5.1 ( although you apparently cannot use any 8-bit register as macro argument!? ).
Thank you for agreeing on that and good to know about the latter.
Quote
However, it's not accepted by Masm v6, no matter if the -Zm cmdline option is used or not. So jwasm also isn't supposed to support that syntax.
I will try to make the code MASM v6 compatible.