flat assembler
Message board for the users of flat assembler.

Index > Main > flat assembler 1.67.24

Goto page Previous  1, 2
Author
Thread Post new topic Reply to topic
FrozenKnight



Joined: 24 Jun 2005
Posts: 128
FrozenKnight 07 Dec 2007, 20:28
the only immediate use for -d that i can think of so far is for debug builds where you don't really want people messing with it anyway.
Post 07 Dec 2007, 20:28
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 07 Dec 2007, 20:51
Quote:
the only immediate use for -d that i can think of so far is for debug builds where you don't really want people messing with it anyway.

Did you think about "standard" way, where you build each file separately to .obj, and at the end link them together? Yes, config file works, but it is worse solution because you have to mess with path to config file.

Now imagine you want to build these files into two slightly different versions (like FASMLIB, one with "fasmlib.init" names, other with "_fasmlib_init@0" names). Doing this with config file requires lot of trickery: you have to generate it with script anyway.

And did you think about mixed project? part of project in C, part of Asm? Using config files for asm there is real insanity.

As long as you only build to single executable file, and all sources are in FASM, do not use -d
Post 07 Dec 2007, 20:51
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
MichaelH



Joined: 03 May 2005
Posts: 402
MichaelH 07 Dec 2007, 22:14
I agree with revolution about adding to the command line. If people want things added to fasm it should only be considered as a directive that can be added to the programmers code. Tomasz please considered not listening to vid in the future.
Post 07 Dec 2007, 22:14
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20302
Location: In your JS exploiting you and your system
revolution 08 Dec 2007, 08:42
MichaelH wrote:
I agree with revolution about adding to the command line. If people want things added to fasm it should only be considered as a directive that can be added to the programmers code. Tomasz please considered not listening to vid in the future.
I do hope you are not attributing all of your comments as agreeing with me, because I did not say those things. I was only trying to ask for restraint from people to think more critically before using such things. I am sure some others have perfectly valid uses for it and in that case there should be no impediment towards using it.
Post 08 Dec 2007, 08:42
View user's profile Send private message Visit poster's website Reply with quote
Mac2004



Joined: 15 Dec 2003
Posts: 314
Mac2004 08 Dec 2007, 10:15
@Tomasz: Here's an example code that makesWinME to crash while using fasm 1.67.24.
I have included the error message (jpg) as well. I hope this helps to some extent.

regards,
Mac2004


Description:
Download
Filename: example.zip
Filesize: 86.34 KB
Downloaded: 879 Time(s)

Post 08 Dec 2007, 10:15
View user's profile Send private message Reply with quote
Picnic



Joined: 05 May 2007
Posts: 1389
Location: Piraeus, Greece
Picnic 08 Dec 2007, 11:16
I got the new version, yeap.
Mac2004 i'll try it on Windows 98, maybe later today and post if see something abnorman.

Now about the second change, I use fasm from the command line often, i think -d is a nice new feautre.
On the other hand one reason for me to love fasm is the total lack of command line arguments Smile

_________________
Hobby BASIC Interpreter
Post 08 Dec 2007, 11:16
View user's profile Send private message Visit poster's website Reply with quote
MichaelH



Joined: 03 May 2005
Posts: 402
MichaelH 08 Dec 2007, 11:18
revolution wrote:

I was only trying to ask for restraint from people to think more critically before using such things.


and I agree with you.

I guess since Tomasz did not show restraint, there will be plenty of code in future that will not assemble because of some missing command line directives Sad
Post 08 Dec 2007, 11:18
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 08 Dec 2007, 13:27
MichaelH wrote:

revolution wrote:
I was only trying to ask for restraint from people to think more critically before using such things.

I guess since Tomasz did not show restraint, ...

Tomasz DID show restrainst that revolution was talking about. He didn't use the -d switch: FASM sources still assemble without it.

He did not show restraint to provide this switch for those (few) who need it, but that is different restraint than revolution was talking about.

Quote:
here will be plenty of code in future that will not assemble because of some missing command line directives

I believe there will be *some* code that will overuse -d switch, but i doubt many FASMers will adopt it. As long as SSSO is enough for you (most cases), you 'd be stupid to complicate things with -d switch. And I don't think many FASMers are stupid Wink
Post 08 Dec 2007, 13:27
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8351
Location: Kraków, Poland
Tomasz Grysztar 08 Dec 2007, 18:04
[joke mode]
Why I decided I don't like SSSO anymore? See the first definition at http://acronyms.thefreedictionary.com/SSSO Very Happy
[/joke mode]
But, in fact, I still want this principle to be valid with fasm, and this means there will never be such switches like format selection and others that would directly affect they way fasm compiles the source.
The -d switch is a half-product in this aspect. It allows you to 'adjust' the source a little while assembling it, but I really don't want to encourage using it as an emulation of the 'forbidden' things, even though you may write programs in a way, that they will assemble with output format selected with the proper -d definition (but you still may be able to 'override' it and put the right "define" just in the beginning of "real sources"). I've added this feature, as in some multi-language environment cases it allows things that wouldn't be really possible otherwise (what vid showed to me). It gives you the power, it can be misused - but I just trust fasm's users are wise enough not to put it into the wrong use, conflicting with the fasm's ways of doing things.
Post 08 Dec 2007, 18:04
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: 20302
Location: In your JS exploiting you and your system
revolution 08 Dec 2007, 18:34
I'm still scratching head trying to visualise where -d is really needed. I clearly missed the thread, can someone be kind enough to point me to it. Thanks.
Post 08 Dec 2007, 18:34
View user's profile Send private message Visit poster's website Reply with quote
Mac2004



Joined: 15 Dec 2003
Posts: 314
Mac2004 08 Dec 2007, 19:01
thimis wrote:
I got the new version, yeap.
Mac2004 i'll try it on Windows 98, maybe later today and post if see something abnorman.


Thanxs! I tested the example on WinXP and it seemed to work just fine...


Regards,
Mac2004
Post 08 Dec 2007, 19:01
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 08 Dec 2007, 20:23
revolution: it wasn't thread, it was private talk. I'll give example it later, gotta run now.
Post 08 Dec 2007, 20:23
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
MichaelH



Joined: 03 May 2005
Posts: 402
MichaelH 09 Dec 2007, 04:27
Quote:

joke mode


Still don't want to take the risk huh Smile


Quote:

Why I decided I don't like SSSO anymore? See the first definition at


I think vid still secretly likes it though Smile
Post 09 Dec 2007, 04:27
View user's profile Send private message Reply with quote
ChrisLeslie



Joined: 04 Jun 2006
Posts: 50
Location: Australia
ChrisLeslie 09 Dec 2007, 07:00
Tomasz

Some time ago I think I remember you talking about incorporating some macros in core fasm. Am I correct, and if so, is this still part of your plan for beyond 1.67 and what features would you incorporate?

Regards Wink

Chris
Post 09 Dec 2007, 07:00
View user's profile Send private message Reply with quote
rCX



Joined: 29 Jul 2007
Posts: 172
Location: Maryland, USA
rCX 15 Dec 2007, 23:06
Thanks Tomasz! It makes finding errors alot easier.
Post 15 Dec 2007, 23:06
View user's profile Send private message Reply with quote
Picnic



Joined: 05 May 2007
Posts: 1389
Location: Piraeus, Greece
Picnic 09 Jan 2008, 20:17
I saw version 1.67.25 is out Exclamation

_________________
Hobby BASIC Interpreter
Post 09 Jan 2008, 20:17
View user's profile Send private message Visit poster's website Reply with quote
DOS386



Joined: 08 Dec 2006
Posts: 1900
DOS386 09 Jan 2008, 20:45
thimis wrote:

> I saw version 1.67.25 is out

12 days ago Laughing

Suggestion (To Tomasz or LocoDelAssembly):

Create a "Global Sticky Locked Announcement" holding the latest FASM version number, date, and recent (from cca 3 versions) history.

_________________
Bug Nr.: 12345

Title: Hello World program compiles to 100 KB !!!

Status: Closed: NOT a Bug
Post 09 Jan 2008, 20:45
View user's profile Send private message Reply with quote
Picnic



Joined: 05 May 2007
Posts: 1389
Location: Piraeus, Greece
Picnic 09 Jan 2008, 21:18
Good suggestion, i was thinking something like this.
I've download most of the latest versions with some delay. Laughing

_________________
Hobby BASIC Interpreter
Post 09 Jan 2008, 21:18
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8351
Location: Kraków, Poland
Tomasz Grysztar 09 Jan 2008, 21:24
There used to be such announcement thread, but when sometimes it was hanging there too long I decided to make those announcement as a regular threads, so that they would stay on top only when something is actually going on.
Post 09 Jan 2008, 21:24
View user's profile Send private message Visit poster's website Reply with quote
Picnic



Joined: 05 May 2007
Posts: 1389
Location: Piraeus, Greece
Picnic 09 Jan 2008, 21:48
Ok Tomasz, i missed the thread about version 1.67.25 Razz

Further discussion here: t=9634 split by DOS386 2008-12-30
Post 09 Jan 2008, 21:48
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:  
Goto page Previous  1, 2

< 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.