flat assembler
Message board for the users of flat assembler.

Index > Non-x86 architectures > 6502 includes for fasm 1.71.64 on linux?

Author
Thread Post new topic Reply to topic
ginere



Joined: 15 Oct 2017
Posts: 13
ginere 15 Oct 2017, 23:59
using slackware linux x64...
i see 6502 includes for fasmg, but they dont work in fasm 1.71.
are there any 6502.inc for x64 linux?

is there a x64 linux version of fasmg?
Post 15 Oct 2017, 23:59
View user's profile Send private message Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8357
Location: Kraków, Poland
Tomasz Grysztar 16 Oct 2017, 10:41
The macros written for fasmg are not going to work with fasm 1, fasmg is a new engine with many new or altered features.

As for the x64 versions, neither fasm or fasmg really have one, the "x64" version of fasm 1 is obtained through a trick that allows it to run in long mode while still being basically 32-bit. This variant was made for the rare cases when a Linux system would not be able to execute standard 32-bit executables, but this should be a rare occurrence, normally you should be able to run classic 32-bit executables on x64 system anyway.

The same trick that was used to run fasm 1 in long mode cannot be easily applied to fasmg, because fasmg needs a 32-bit "malloc" API. You need a "multilib" option in order to run it on x64 Linux.
Post 16 Oct 2017, 10:41
View user's profile Send private message Visit poster's website 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


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.