flat assembler
Message board for the users of flat assembler.

Index > Main > 64-bit version of the IDE?

Author
Thread Post new topic Reply to topic
nicebyte



Joined: 03 Jun 2022
Posts: 4
nicebyte 14 Jan 2026, 07:31
Hi, apologies if this has been discussed before

I quite like the FASMW.exe editor and would like to run it under Wine.

However this presents a hassle on x64 machines as the 32-bit version of Wine is not always easily available given a particular linux distro. The standalone FASM compiler program is also 32-bit only.

Two questions:

1. It seems like the only 64-bit incarnation of FASM is the linux version of fasmg, is that correct?
2. Is there an intention to ever port the editor to native 64 bit?
Post 14 Jan 2026, 07:31
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20841
Location: In your JS exploiting you and your system
revolution 14 Jan 2026, 07:58
There is also a fasm.x64 64-bit CLI version of fasm.

There are two IDEs available, both 32-bit: fasmw.exe (Windows) and fasmd.exe (DOS).
Post 14 Jan 2026, 07:58
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8501
Location: Kraków, Poland
Tomasz Grysztar 14 Jan 2026, 09:30
revolution wrote:
There are two IDEs available, both 32-bit: fasmw.exe (Windows) and fasmd.exe (DOS).
Years ago I also planned some kind of Linux version, but I after relatively unsuccessful experiments with X11 I abandoned the idea, and Linux being able to drop support for 32-bit programs was a nail in the coffin, since this meant that I would need to make two versions at once. And making a 64-bit version of a 32-bit assembly program is tricky.

One thing I might praise Microsoft for is the effort they put into maintaining compatibility. Yeah, they dropped support for 16-bit with 64-bit systems, but that was mostly because the CPUs were designed this way (with long mode having a 32-bit compatibility sub-mode, what was impossible for 16-bit). Although seeing how Windows on ARM is able to seamlessly emulate x86 code, even the support for 16-bit layers would likely still be possible if only there was enough incentive for it (but there isn't). Still, fasmw (and by extension, fasmgw too) runs on all versions of Windows starting from Win95 and NT 4.0, up to Windows 11 on ARM64 (I'm running it right now). Sadly, it doesn't run on Win32s, because it uses some of the graphical elements that were only introduced with "Chicago" GUI - but Windows 3.x can run fasmd instead.

As for the Linux, my main argument has been that Linux users tend to have a favourite editor already, that's why the "fasmx" project never felt like an important one to me.
Post 14 Jan 2026, 09:30
View user's profile Send private message Visit poster's website Reply with quote
AsmGuru62



Joined: 28 Jan 2004
Posts: 1762
Location: Toronto, Canada
AsmGuru62 14 Jan 2026, 16:31
So, if a simple x64 version of FASM IDE existed on Windows -- it may run on Wine?
Are there any limitations on Wine?
Like, what Windows API should not be used?
Post 14 Jan 2026, 16:31
View user's profile Send private message Send e-mail Reply with quote
Mаt Quаsar



Joined: 09 Jan 2026
Posts: 16
Mаt Quаsar 14 Jan 2026, 17:13
Wine 32-bit can run Windows 32-bit EXE. Tested on Debian.


Last edited by Mаt Quаsar on 19 Jan 2026, 07:24; edited 2 times in total
Post 14 Jan 2026, 17:13
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20841
Location: In your JS exploiting you and your system
revolution 14 Jan 2026, 17:24
WINE does a good job of running many Windows exe files, but it isn't perfect. Depending upon the window DWM used, here are two problems I have noticed:

The window hierarchy isn't always preserved, meaning multi layered pop-ups often don't focus back to the parent when closed, and instead choose another window, like the grandparent.

Handling the ALT key can be troublesome, especially when switching focus with ALT-Tab, the ALT key gets registered as pressed when it isn't, making menus appear unexpectedly.

Both of those aren't caused by using a poorly implemented API thunk, they are problems with the window management differences between X11 and Windows. Applications will expect certain behaviours from Windows, that X11 does differently, and it either can't be fixed due to some fundamental incompatibility, or the WINE devs haven't got around to fixing it.
Post 14 Jan 2026, 17:24
View user's profile Send private message Visit poster's website Reply with quote
AsmGuru62



Joined: 28 Jan 2004
Posts: 1762
Location: Toronto, Canada
AsmGuru62 14 Jan 2026, 21:20
All good points, thanks.
I suppose, a standard frame with tabs and a menu bar will be fine on Wine.
Post 14 Jan 2026, 21:20
View user's profile Send private message Send e-mail Reply with quote
Greg_M



Joined: 07 Jun 2025
Posts: 56
Greg_M 17 Jan 2026, 12:04
Only starting, but I like the fasmgw GUI (thank you!) so I'm starting with that. Do the FASM author and others generally use it? E.g. if author uses it then I know it's well-supported as opposed to an example/secondary utility.

RE 64-bit: fasmgw.exe is 32-bit? Is the fasmgw source code available? I didn't see it at the fasm github area.
Post 17 Jan 2026, 12:04
View user's profile Send private message Reply with quote
AsmGuru62



Joined: 28 Jan 2004
Posts: 1762
Location: Toronto, Canada
AsmGuru62 17 Jan 2026, 18:54
I never seen fasmgw GUI.
Also, the way to test if WINE will run any Windows program is to have a Linux PC with WINE on it.
Hmmm... sadly, I do not have this --- all my PCs are Windows.
However, I have a Proton Drive, and I can put the EXE file there, will anyone be able to try it?
Post 17 Jan 2026, 18:54
View user's profile Send private message Send e-mail Reply with quote
Greg_M



Joined: 07 Jun 2025
Posts: 56
Greg_M 17 Jan 2026, 19:19
fasmgw.exe is an Editor/IDE included with the FASM2 download, i.e. fasm2.zip

I found the source code in the \source\ide\windows directory and it includes win32ax.inc, so it is apparently a 32-bit program. (Perhaps by using win46ax and making any other necessary changes, it could be a 64-bit app.)


Last edited by Greg_M on 18 Jan 2026, 16:54; edited 1 time in total
Post 17 Jan 2026, 19:19
View user's profile Send private message Reply with quote
Mаt Quаsar



Joined: 09 Jan 2026
Posts: 16
Mаt Quаsar 18 Jan 2026, 06:28
AsmGuru62 wrote:

Also, the way to test if WINE will run any Windows program is to have a Linux PC with WINE on it.
Hmmm... sadly, I do not have this --- all my PCs are Windows.


Can use virtualization software like VirtualBox, so that you can run Linux on Windows.


Last edited by Mаt Quаsar on 19 Jan 2026, 07:23; edited 3 times in total
Post 18 Jan 2026, 06:28
View user's profile Send private message Reply with quote
AsmGuru62



Joined: 28 Jan 2004
Posts: 1762
Location: Toronto, Canada
AsmGuru62 18 Jan 2026, 18:00
So, I have seen FASMGW IDE --- not bad, very simple.
I have only a few notes:

- tabs on the bottom? weird. Makes the eyes dart up and down to switch documents.
- no toolbar, it is Okay, I guess. I will add a toolbar, it is more fancy this way.
- and where are the line numbers? I recall, 'someone' was very irate about it.
- any color schemes or it is just white?
Post 18 Jan 2026, 18:00
View user's profile Send private message Send e-mail 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-2026, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.