flat assembler
Message board for the users of flat assembler.

flat assembler > IDE Development > Fresh Standard Macro Library

Author
Thread Post new topic Reply to topic
decard



Joined: 11 Sep 2003
Posts: 1095
Location: Poland
Hi John,
When writing Fresh Guide, I realised that we don't need DispHex and DispDec macros, we could use display macro from here: http://board.flatassembler.net/topic.php?t=86. What do you think? I can make all necessary changes in the source.

And could you think about converting cdecl.inc file to Fresh proc style? I can't do it myself, I don't know so much about the macros Confused This file is important, at least for those who want to use MSVCRT.DLL library.
Post 21 Jan 2004, 12:48
View user's profile Send private message Visit poster's website Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3500
Location: Bulgaria
Well, it looks very interesting (as almost everything Privalov wrote). I am agree, but with only one note:
I think it is better to find another name, not "display". It is not a good style to rewrite native keywords with macroses. Maybe "DispEx" or something...

About cdecl.inc, I will make it, but just now I am too busy with Code completition, that smoothly pass to "source level debuger" not giving me opportunity to pack it in even partially working version for uploading. Very Happy

Regards.
Post 21 Jan 2004, 14:13
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
decard



Joined: 11 Sep 2003
Posts: 1095
Location: Poland
JohnFound wrote:
It is not a good style to rewrite native keywords with macroses

I agree, but in this case the "meaning" of display directive doesn't change, only its functionality is extended. In Fresh 'display' has already been extended - and it is still called "display". On other side it is bad to have too many names to remember. So IMO in this case we should stay with "display". Question

JohnFound wrote:
I am too busy with Code completition, that smoothly pass to "source level debuger"

Great to hear that!!! Very Happy

regards
Post 21 Jan 2004, 15:01
View user's profile Send private message Visit poster's website Reply with quote
Vortex



Joined: 17 Jun 2003
Posts: 334
Decard,

Beside msvcrt.dll, it's possible also to use crtdll.dll

_________________
Code it... That's all...
Post 21 Jan 2004, 18:25
View user's profile Send private message Visit poster's website Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3500
Location: Bulgaria
decard wrote:
In Fresh 'display' has already been extended - and it is still called "display".


Well, actually, Fresh does not extend the functionality of display directive, it only interpret information, that "display", displays. Very Happy But directive acts absolutely the same way as in every FASM version, simply sends to "terminal" simple ascii codes without any processing.

You can remember, there was similar case with "enter" macro from stdcall.inc library. We change it to "begin" due to not overwrite the instruction "enter". Of course there is another solution (Privalov uses it because of compatibility reasons in the last versions of stdcall.inc in the FASMW package) but I still think our solution is better. The compatibility is "double-edged sword". Very Happy

We simply can think out some easy for remember name, avoiding confusions.

Regards
Post 21 Jan 2004, 19:07
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
decard



Joined: 11 Sep 2003
Posts: 1095
Location: Poland
I think that 'disp' name should be OK. It was enough to modify just display.inc file.

Quote:
Beside msvcrt.dll, it's possible also to use crtdll.dll

... and other DLLs that use C calling mode. It was just an example Smile

outdated attachment removed - now it can be found in Fresh package Smile


Last edited by decard on 27 Jan 2004, 21:41; edited 1 time in total
Post 22 Jan 2004, 14:18
View user's profile Send private message Visit poster's website Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3500
Location: Bulgaria
Hi Decard.
Good work. I will include it in next work version.
BTW: I hope I will upload it in the site (again with first try for debuger) very soon. Probably this night.

Regards.
Post 22 Jan 2004, 14:35
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-2019, Tomasz Grysztar.

Powered by rwasa.