flat assembler
Message board for the users of flat assembler.
 Home   FAQ   Search   Register 
 Profile   Log in to check your private messages   Log in 
flat assembler > Unix > Please put mach-O format support in fasm

Author
Thread Post new topic Reply to topic
tthsqe



Joined: 20 May 2009
Posts: 701

Please put mach-O format support in fasm

Subject says it all.
Post 08 Aug 2016, 19:58
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 15323
Location: Bigweld Industries

Moving this to "Unix" so it can play with all the other Mach-O threads.

BTW: Check out the sticky-ed thread in this forum to find some working code.


Last edited by revolution on 09 Aug 2016, 13:42; edited 1 time in total
Post 09 Aug 2016, 03:11
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar
Assembly Artist


Joined: 16 Jun 2003
Posts: 6685
Location: Kraków, Poland

Actually, it seems now that I may sooner write a Mach-O formatting macros for fasmg than the formatter for fasm. Looking at the ELF formatting macros that I already have, I think that doing the same for other similar object formats should be really easy. Though I still don't have any place where I could test Mach-O files (I guess these machines are not as popular in my country).
Post 09 Aug 2016, 13:41
View user's profile Send private message Visit poster's website Reply with quote
tthsqe



Joined: 20 May 2009
Posts: 701

If I have a large macro-laden project written for the original fasm, will it assemble without issue in fasmg?
Post 09 Aug 2016, 17:47
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 15323
Location: Bigweld Industries


tthsqe wrote:
If I have a large macro-laden project written for the original fasm, will it assemble without issue in fasmg?

No. You will have to edit the macros. fasmg is very different from fasm.
Post 09 Aug 2016, 18:09
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar
Assembly Artist


Joined: 16 Jun 2003
Posts: 6685
Location: Kraków, Poland


revolution wrote:

tthsqe wrote:
If I have a large macro-laden project written for the original fasm, will it assemble without issue in fasmg?

No. You will have to edit the macros. fasmg is very different from fasm.

Still, I was able to make HeavyThing project assemble with fasmg after relatively little changes. In some aspects it even got improved, since fasmg allowed the "globals" macro to respect "if used" blocks.
Post 09 Aug 2016, 18:47
View user's profile Send private message Visit poster's website Reply with quote
redsock



Joined: 09 Oct 2009
Posts: 265
Location: Australia


Tomasz Grysztar wrote:
Though I still don't have any place where I could test Mach-O files (I guess these machines are not as popular in my country).

If you are seriously interested, I could probably get an OS X virtual machine running next to the board for a while if you needed. (After of course I finish my current todolist)

_________________
2 Ton Digital - https://2ton.com.au/
Post 09 Aug 2016, 20:53
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >

Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2005 phpBB Group.

Main index   Download   Documentation   Examples   Message board
Copyright © 2004-2017, Tomasz Grysztar.