flat assembler
Message board for the users of flat assembler.

Index > IDE Development > Assemble without starting IDE ??

Author
Thread Post new topic Reply to topic
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo 11 Oct 2010, 20:07
Dumb question, but would it be a horrible idea to support cmdline assembling from the IDE .EXE without actually bringing up the editor? (for batch non-interactive work) I guess you'd need yet another cmdline opt, though.

fasmd -c blah.asm blah.exe

Just curious if that's reasonable or not.
Post 11 Oct 2010, 20:07
View user's profile Send private message Visit poster's website Reply with quote
ishkabible



Joined: 13 Sep 2010
Posts: 54
ishkabible 11 Oct 2010, 20:45
why not just use FASM?
$fasm foo.asm
that should make a file called foo.exe, no?
Post 11 Oct 2010, 20:45
View user's profile Send private message Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo 11 Oct 2010, 20:51
"Why not just use FASM?"

Well, I'm just curious why FASM's IDEs can't also support both interactive assembling as well as via cmdline. I'm not opposed to the current way of having separate .EXEs, just think it would be maybe nice to have the IDE support both ways. (And yes, I know it's probably trivial to hack up myself, maybe I'll do that.)
Post 11 Oct 2010, 20:51
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: 20298
Location: In your JS exploiting you and your system
revolution 12 Oct 2010, 00:58
In Windows I thought that a dual command/GUI file was not possible to have in a nice way.

A console file format opened from an explorer shortcut will always open a new console window. The console window can be closed when the GUI is started but it is annoying to have the console flicker into existence and then disappear.

A GUI file format opened from a console window cannot output messages to the existing console, it has to open a new console window to output text into. And then hold that window open until the user has acknowledged to have read the messages.

In DOS there is no GUI or console file format (just exe format) so this can be done without too much problem. But since there is no real GUI anyway (just a TUI) then the point is moot.
Post 12 Oct 2010, 00:58
View user's profile Send private message Visit poster's website Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4330
Location: Now
edfed 12 Oct 2010, 12:06
use the command line version of fasm.

the ide is just an editor, with a sub called fasm inside.
this subroutine acts exactlly as the comand line version.
Post 12 Oct 2010, 12:06
View user's profile Send private message Visit poster's website Reply with quote
baldr



Joined: 19 Mar 2008
Posts: 1651
baldr 12 Oct 2010, 18:19
revolution,

GUI process can probably attach to the console of parent process. Just a hypothesis.
Post 12 Oct 2010, 18:19
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 12 Oct 2010, 20:14
Post 12 Oct 2010, 20:14
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number 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.