flat assembler
Message board for the users of flat assembler.

Index > IDE Development > Globals macro library for Fresh.

Author
Thread Post new topic Reply to topic
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 14 Oct 2003, 07:07
Hi all.
Here is the first version of macro library for handling global variables. I think it is relatively simple and useful. Please test and give some opinion. If you like it, I will make next version of Fresh with it.

Regards.

[edit] Buggy file updated. Smile [/edit]


Description: Macro library for automatic handling of global variables.
Download
Filename: globals.rar
Filesize: 1.58 KB
Downloaded: 648 Time(s)



Last edited by JohnFound on 14 Oct 2003, 17:48; edited 1 time in total
Post 14 Oct 2003, 07:07
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
pelaillo
Missing in inaction


Joined: 19 Jun 2003
Posts: 878
Location: Colombia
pelaillo 14 Oct 2003, 10:39
Hi JohnFound,
I'm a bit confused about the inclusion of macros in Fresh license, because macros makes syntax for the *common fasm language*.
In other words, it could cause a mix of similar macroses spread arround in different fasm projects.
The general purpose macros are nicer if they were shared among projects.

I know that Fresh license is artistic freeware and very permissive and I like it, but is however a license. Look for example the resource.inc and its history...
Post 14 Oct 2003, 10:39
View user's profile Send private message Yahoo Messenger Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 14 Oct 2003, 12:36
Hi pellailo.
Well, I am generaly agree with you, but with some notes:

1. De facto, the only way for some macroses to become standard for FASM is to be included in standard package of FASM/FASMW by Privalov.
2. There are tons of macroses about this or that and everyone choice for him what to use and what not to use.
3. This library is made for Fresh, because of some project reasons. Of course everyone can use it for everything he wants. The Fresh license is very free on that point.

So, I don't see any problems with reusing this (or any other Fresh library) for any other project, at least the most of Fresh libraries will be used for projects created with Fresh.

Regards.
Post 14 Oct 2003, 12:36
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
pelaillo
Missing in inaction


Joined: 19 Jun 2003
Posts: 878
Location: Colombia
pelaillo 14 Oct 2003, 13:38
Thanks, JohnFound.

I wish to keep my sources syncronized with code written by fasm community in order to ease readability and interchangeability. And I don't want to be concerned about licenses.

For example, I am converting my sources to reflect your idea of proc ... endp macros also if there are not (still) in the *official* package.
Post 14 Oct 2003, 13:38
View user's profile Send private message Yahoo Messenger Reply with quote
Tommy



Joined: 17 Jun 2003
Posts: 489
Location: Norway
Tommy 14 Oct 2003, 13:43
Okey, I know, this is far away from the topic actually to be discussed, but I have to ask! Smile I just started to thinking about this when I read John's post:
Quote:
...Of course everyone can use it for everything he wants...
I've underlined "he", because that's my question: Is there any girls programmiong in FASM?? Do any of you know about any? Cool

Well, just a little digression... Back to the discussion: at first glance, I find your macros very nice, John! Wink

G2G! So long!

Tommy
Post 14 Oct 2003, 13:43
View user's profile Send private message Visit poster's website Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 14 Oct 2003, 13:59
Hi Tommy.
About girls: I know that some (very small part) of the members (here and on win32asmcommunity board) are girls, but usually they prefere not to show off their gender. So I am using common male gender, maybe because in bulgarian language, when we talk about undefined person we use male gender. I don't know exactly how this is in english, but I am too lazy to write "(s)he" every time. Smile

Regards.
Post 14 Oct 2003, 13:59
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
scientica
Retired moderator


Joined: 16 Jun 2003
Posts: 689
Location: Linköping, Sweden
scientica 14 Oct 2003, 14:05
regarding "he", in many languages a male work is used when speaking of a group of people (which can be of either sex, male or female).
In swedish for instance one can say
"man kan göra på detta viset eller ett annat"
meanning: "one can do it this way or another"
"man" is the word which translated to "one", but it alos means man (as in male).
An easy workaround in english is to write "(s)he".

My guess is (don't have any "statistically safe" data to rely on) that approx 98-99% of the programmers are male, it's a bit sad (perhaps I should not be putting a joke here - that might scare them away ; ), I've tried (and failed Sad) to pesuade a few girls to begin programming (assembly) - don't know if it's me (Rolling Eyes Wink). (If you count learning java and VisualBasic as programming then there are 3 (=all the girls in my class, sad but true, only 3 girls in a class of 26 :/, there were 4 the first year, but one of them changed class/course) that does program)

(at least there is one more female programmer, on the other forum, -- don't rember her nick-name)

[EDIT]yieks, slow posting to I am today -- JohnFound's post wasn't there when i began posting[/EDIT]

_________________
... a professor saying: "use this proprietary software to learn computer science" is the same as English professor handing you a copy of Shakespeare and saying: "use this book to learn Shakespeare without opening the book itself.
- Bradley Kuhn
Post 14 Oct 2003, 14:05
View user's profile Send private message Visit poster's website Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 14 Oct 2003, 17:49
There was a bug in the above lib. Please download again. Now the file is updated.

Regards.
Post 14 Oct 2003, 17:49
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Tommy



Joined: 17 Jun 2003
Posts: 489
Location: Norway
Tommy 14 Oct 2003, 19:34
Hehe... Yes, scientica, I know about all that... You know, I'm from Norway Wink... Well, though I'm not a prof in English, I would use "they" instead of "he" in this case... Smile (BTW John: I understand what you mean... I'm learning French and there you have the same thing...)...Doesn't matter... Anyhow, I got my question answered... hehe... Wink

G2G! So long!

Tommy
Post 14 Oct 2003, 19:34
View user's profile Send private message Visit poster's website Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 14 Oct 2003, 19:51
BTW: I tryed to convert Fresh to use this library and everything looks great. Now every module can define global variables that it needs. And executable size decrease with approximately 10kbytes. So, I think the 1.0.0d will be with this library.

NOTE: that for compilation of this version you will need last bug fixed version 1.49.9 of FASM from here:
http://board.flatassembler.net/download.php?id=186

This is console version. If you use FASMW (like me) replace in last version of FASMW files with compilator from 1.49.9 and recompile.

Standard version of FASMW can't compile ` operator. Not updated 1.49.9 can't compile globals.asm

Regards
Post 14 Oct 2003, 19:51
View user's profile Send private message Visit poster's website 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.