QMAC

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

QMAC

Postby XorA » Fri Jan 14, 2022 1:48 pm

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: 2275
Joined: Sun Feb 13, 2011 10:53 pm
Location: SW Germany

Re: QMAC

Postby tofro » Fri Jan 14, 2022 2:04 pm

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
Aurora
Posts: 983
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: QMAC

Postby XorA » Fri Jan 14, 2022 2:06 pm

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


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

Re: QMAC

Postby mk79 » Fri Jan 14, 2022 2:16 pm

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
Aurora
Posts: 983
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: QMAC

Postby XorA » Fri Jan 14, 2022 2:18 pm

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: 2649
Joined: Mon Dec 20, 2010 11:40 am
Location: Runcorn, Cheshire, UK

Re: QMAC

Postby Derek_Stewart » Fri Jan 14, 2022 2:45 pm

Hi

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


Regards,

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

Re: QMAC

Postby XorA » Fri Jan 14, 2022 2:48 pm

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: 2649
Joined: Mon Dec 20, 2010 11:40 am
Location: Runcorn, Cheshire, UK

Re: QMAC

Postby Derek_Stewart » Fri Jan 14, 2022 3:10 pm

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: 1859
Joined: Tue Dec 14, 2010 9:04 am
Location: Leeds, West Yorkshire, UK
Contact:

Re: QMAC

Postby NormanDunbar » Fri Jan 14, 2022 3:30 pm

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 - https://www.amazon.co.uk/Arduino-Softwa ... 1484257898, https://www.apress.com/gb/book/9781484257890
User avatar
XorA
Aurora
Posts: 983
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: QMAC

Postby XorA » Fri Jan 14, 2022 10:12 pm

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



Who is online

Users browsing this forum: No registered users and 5 guests