flat assembler
Message board for the users of flat assembler.
Index
> Windows > MASM to FASM function prototype converter Goto page 1, 2 Next |
Author |
|
Vortex 19 Nov 2003, 18:13
Hi friends,
Here is the the latest release of my tool inc2inc V1.04. The converter translates Masm include files to Fasm style function declarations. Note that to avoid duplicate code sections, the text section should be declared as: Code:
section '.text' code readable executable
The attachment includes a Win32 GUI template from Privalov and a console example which uses Hutch's masm32 static library. The feature of this release is that it uses modified stdcall and cinvoke macros to allow indirect function calls.
_________________ Code it... That's all... |
|||||||||||
19 Nov 2003, 18:13 |
|
Yawgmoth 19 Nov 2003, 21:32
Have you thought of extending the program to convert ALL masm files to fasm?
|
|||
19 Nov 2003, 21:32 |
|
HarryTuttle 20 Nov 2003, 10:15
Hi Vortex!
this is a great work. keep it cool! Master! Harry _________________ Microsoft: brings power of yesterday to computers of today. |
|||
20 Nov 2003, 10:15 |
|
Yawgmoth 21 Nov 2003, 00:15
Vortex, I don't follow your logic. Wouldn't converting masm files to fasm be easier WITH a tool than doing by hand?
|
|||
21 Nov 2003, 00:15 |
|
silkodyssey 21 Nov 2003, 03:30
Yawgmoth,
What do you mean by all masm files? Do you mean only the structures and equates in addition to the function prototypes or would the tool need to convert code also? _________________ silkodyssey |
|||
21 Nov 2003, 03:30 |
|
Vortex 21 Nov 2003, 10:11
Yawgmoth,
Same question, what do you mean with converting all Masm files? _________________ Code it... That's all... |
|||
21 Nov 2003, 10:11 |
|
Yawgmoth 21 Nov 2003, 16:11
I mean converting assemby files written in masm syntax into assembly files written is fasm syntax, so that you could get some masm source code, run it thru the program, and then compile the file in fasm with no other modifications.
|
|||
21 Nov 2003, 16:11 |
|
silkodyssey 21 Nov 2003, 16:16
That would be a lot of work because masm is a huge language
_________________ silkodyssey |
|||
21 Nov 2003, 16:16 |
|
HarryTuttle 21 Nov 2003, 20:16
language like language ,always assembly but the MASM's syntax is more complicated for those people who always have been using FASM...like me;)
_________________ Microsoft: brings power of yesterday to computers of today. |
|||
21 Nov 2003, 20:16 |
|
silkodyssey 21 Nov 2003, 21:24
Masm has a lot of features that the other assemblers don't. With the effort required to create a tool to convert masm code to fasm code, vortex could write his own assembler
_________________ silkodyssey |
|||
21 Nov 2003, 21:24 |
|
fasm9 22 Nov 2003, 06:20
Fighting! Vortex
GO! GO! FASM -- i want c# compiler written in fasm :O |
|||
22 Nov 2003, 06:20 |
|
HarryTuttle 22 Nov 2003, 20:33
maybe you are right and vortex could write the new assembler with all MASM and FASM features....
maybe it is less complicated than full syntax converter... but 4 me it is better to write pure asm code with FASM instead of almost like C MASM constructions .... regards Harry _________________ Microsoft: brings power of yesterday to computers of today. |
|||
22 Nov 2003, 20:33 |
|
silkodyssey 22 Nov 2003, 20:38
What would be nice is a more high level version of fasm with built in high level control structures like masm (.if and friends ).
_________________ silkodyssey |
|||
22 Nov 2003, 20:38 |
|
Vortex 23 Nov 2003, 12:04
silkodyssey,that's a nice idea.
_________________ Code it... That's all... |
|||
23 Nov 2003, 12:04 |
|
Vortex 02 Dec 2003, 18:30
Version 1.05
This new version declares external functions with the extrndef macro: Code: extrndef '_MessageBoxA@16',MessageBox Code: macro extrndef decorated_name,name { if used name extrn decorated_name as name : dword end if }
_________________ Code it... That's all... |
|||||||||||
02 Dec 2003, 18:30 |
|
Vortex 18 May 2004, 20:17
Hi friends,
Examples, macro files stdcall.inc + cdecl.inc revised to work with Fasm V1.52
_________________ Code it... That's all... |
|||||||||||
18 May 2004, 20:17 |
|
vid 19 May 2004, 05:15
silkodyssey - why do you want these features built-in?
Aren't macros enough? |
|||
19 May 2004, 05:15 |
|
silkodyssey 11 Sep 2004, 12:55
Quote:
I don't know what I was thinking then . I've grown to like fasm as it is and I don't use the HLL macros. _________________ silkodyssey |
|||
11 Sep 2004, 12:55 |
|
Vortex 07 Aug 2005, 17:38
Version 1.06
======== - No need anymore to use modified stdcall.inc and cdecl.inc - Examples assembled with Fasm 1.63.6
_________________ Code it... That's all... |
|||||||||||
07 Aug 2005, 17:38 |
|
Goto page 1, 2 Next < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.