QMAC

Anything QL Software or Programming Related.
User avatar
XorA
Site Admin
Posts: 1358
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

QMAC

Post 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?


User avatar
tofro
Font of All Knowledge
Posts: 2685
Joined: Sun Feb 13, 2011 10:53 pm
Location: SW Germany

Re: QMAC

Post 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.


ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
User avatar
XorA
Site Admin
Posts: 1358
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: QMAC

Post by XorA »

There is, and also gas from qdos-gcc but that means unmangling the macros.


User avatar
mk79
QL Wafer Drive
Posts: 1349
Joined: Sun Feb 02, 2014 10:54 am
Location: Esslingen/Germany
Contact:

Re: QMAC

Post 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 ;)


User avatar
XorA
Site Admin
Posts: 1358
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: QMAC

Post 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)


Derek_Stewart
Font of All Knowledge
Posts: 3929
Joined: Mon Dec 20, 2010 11:40 am
Location: Sunny Runcorn, Cheshire, UK

Re: QMAC

Post by Derek_Stewart »

Hi

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


Regards,

Derek
User avatar
XorA
Site Admin
Posts: 1358
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: QMAC

Post 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!


Derek_Stewart
Font of All Knowledge
Posts: 3929
Joined: Mon Dec 20, 2010 11:40 am
Location: Sunny Runcorn, Cheshire, UK

Re: QMAC

Post 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.


Regards,

Derek
User avatar
NormanDunbar
Forum Moderator
Posts: 2251
Joined: Tue Dec 14, 2010 9:04 am
Location: Leeds, West Yorkshire, UK
Contact:

Re: QMAC

Post 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.


Why do they put lightning conductors on churches?
Author of Arduino Software Internals
Author of Arduino Interrupts

No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
User avatar
XorA
Site Admin
Posts: 1358
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: QMAC

Post 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


Post Reply