flat assembler
Message board for the users of flat assembler.
Index
> IDE Development > Fresh Standard Macro Library |
Author |
|
decard 21 Jan 2004, 12:48
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 This file is important, at least for those who want to use MSVCRT.DLL library. |
|||
21 Jan 2004, 12:48 |
|
decard 21 Jan 2004, 15:01
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". JohnFound wrote: I am too busy with Code completition, that smoothly pass to "source level debuger" Great to hear that!!! regards |
|||
21 Jan 2004, 15:01 |
|
Vortex 21 Jan 2004, 18:25
Decard,
Beside msvcrt.dll, it's possible also to use crtdll.dll _________________ Code it... That's all... |
|||
21 Jan 2004, 18:25 |
|
JohnFound 21 Jan 2004, 19:07
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. 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". We simply can think out some easy for remember name, avoiding confusions. Regards |
|||
21 Jan 2004, 19:07 |
|
decard 22 Jan 2004, 14:18
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 outdated attachment removed - now it can be found in Fresh package Last edited by decard on 27 Jan 2004, 21:41; edited 1 time in total |
|||
22 Jan 2004, 14:18 |
|
JohnFound 22 Jan 2004, 14:35
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. |
|||
22 Jan 2004, 14:35 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.