Page 1 of 3

QMAC

Posted: Fri Jan 14, 2022 1:48 pm
by XorA
So for a lot of cross compile development the thing we are missing on the host side is a qmac compatible assembler.

I am assuming this was written in assembler and we don't have high level source code for it?

Re: QMAC

Posted: Fri Jan 14, 2022 2:04 pm
by tofro
XorA wrote:So for a lot of cross compile development the thing we are missing on the host side is a qmac compatible assembler.

I am assuming this was written in assembler and we don't have high level source code for it?
Quanta must have had the sources at one point in time, as they were able to develop some useful extensions.

There is a cross assembler that can produce QDOS reloctable _rel files as part of the XTC68 cross-compiler, I think.

Re: QMAC

Posted: Fri Jan 14, 2022 2:06 pm
by XorA
There is, and also gas from qdos-gcc but that means unmangling the macros.

Re: QMAC

Posted: Fri Jan 14, 2022 2:16 pm
by mk79
XorA wrote:So for a lot of cross compile development the thing we are missing on the host side is a qmac compatible assembler.

I am assuming this was written in assembler and we don't have high level source code for it?
I'd be happy if there was at least the assembler code ;)

Re: QMAC

Posted: Fri Jan 14, 2022 2:18 pm
by XorA
mk79 wrote:
XorA wrote:So for a lot of cross compile development the thing we are missing on the host side is a qmac compatible assembler.

I am assuming this was written in assembler and we don't have high level source code for it?
I'd be happy if there was at least the assembler code ;)
Yeah but assembler seems to be your primary language :-D

(although I could work with it, Im just really out of practice)

Re: QMAC

Posted: Fri Jan 14, 2022 2:45 pm
by Derek_Stewart
Hi

What about: vasm and vlink, they have source available.

Re: QMAC

Posted: Fri Jan 14, 2022 2:48 pm
by XorA
Derek_Stewart wrote:Hi

What about: vasm and vlink, they have source available.
I think you are missing the point, getting AN assembler isnt hard, one that understands QMAC macros is harder!

Re: QMAC

Posted: Fri Jan 14, 2022 3:10 pm
by Derek_Stewart
Sorry.

But I doubt you will get a Qmac comptiable assembler.

My point was there maube a C/C++ based 68K sssembler with macro facities, so is just a matter of writing the Qmac Macros.

Re: QMAC

Posted: Fri Jan 14, 2022 3:30 pm
by NormanDunbar
XorA wrote:There is, and also gas from qdos-gcc but that means unmangling the macros.
Never having used macros in QMAC or otherwise, I'm wondering if George Gwilt's GWASS (for 68020) or GWASL (for 68008) assemblers are any use? George's downloads page (http://gwiltprogs.info/page2.htm) mentions that both are macro assemblers and the source code is available. They are both coded in assembler. (Although I don't know at which point George had a good enough assembler to be able to assemble itself!)

With all due respect to George, he does write quite cryptic code as he uses the shortest label names possible! ;) :( :o

GWASL: http://gwiltprogs.info/gwasls08.zip

GWASS: http://gwiltprogs.info/gwasss22.zip

Cheers,
Norm.

Re: QMAC

Posted: Fri Jan 14, 2022 10:12 pm
by XorA
If people were wondering what i was playing at.

https://github.com/xXorAa/minerva

But it turns out I don't actually need to cross compile, make on QDOS is actually pretty nice.

Now its as simple to build as

Code: Select all

ex make