flat assembler
Message board for the users of flat assembler.
Index
> Windows > fasminng MASM INC's |
Author |
|
HarryTuttle 13 Nov 2003, 10:34
How to use inc file from masm?
Hi Privalov ,what do you think about inc convertor? or macro which can do an interpretation MASM inc for Fasm? I do not expect you all Friends-programmers to translate this file into fasm, I'll do it myself but I think about a simple tool to translate scripting-languages like include files or setups between similar platform or programs. see this:
_________________ Microsoft: brings power of yesterday to computers of today. |
|||||||||||
13 Nov 2003, 10:34 |
|
silkodyssey 13 Nov 2003, 11:46
You can try vortex's inc converter available at http://board.win32asmcommunity.net/attachment.php?s=&postid=105073. I am not sure if its a general purpose inc converter though. I've used it to convert masm32 include files (with api prototypes) to fasm syntax. I don't know if it will convert structs and constants but i guess there's only one way to find out. Anyway even if its not a complete solution I think it will help you.
_________________ silkodyssey Last edited by silkodyssey on 13 Nov 2003, 13:15; edited 1 time in total |
|||
13 Nov 2003, 11:46 |
|
Betov 13 Nov 2003, 13:13
For the Win32 Equates, someone could be interrested with Equates.zip, available at:
< http://betov.free.fr/Download.html > It is a Win32 Equates only File, in the form of: A0_REG 010 A1_REG 011 A2_REG 012 A3_REG 013 A4_REG 014 A5_REG 015 AADBE_ADD_ENTRY 01 AADBE_DEL_ENTRY 02 ... (53,316 Equates). If i recall well, FASM Equates are in the form of: A0_REG equ 010 ... so, replacing all the spaces by ' equ ', say, in UltraEdit, should do it easy. (For the RosAsm Structures, i am afraid they are in a form that would not fit with FASM, [ABC:|abcA D|abcB D|abcC D [ABCFLOAT:|abcfA D|abcfB D|abcfC D [ABSTIME:|sec D|ms D [ACCEL:|fVirt B|pad0 B|key W|cmd W ... and they will not be as complete and as reliable as the Equates File is, before several weeks...). Betov. |
|||
13 Nov 2003, 13:13 |
|
aaro 13 Nov 2003, 14:53
If you have c header file you could try this python script:
http://board.flatassembler.net/topic.php?t=460 It will convert structures, enums and defines in fasm format, it performed pretty well on direct3d headers, macros were nearly all that i had to convert by hand. If you don't have python you can get it here: http://www.python.org/ |
|||
13 Nov 2003, 14:53 |
|
Vortex 13 Nov 2003, 17:00
Hary Tuttle,
My inc2inc tool converts only the function prototypes. You can try also my external scanner for Fasm which elimantes the use of API include files: http://board.flatassembler.net/topic.php?t=72 _________________ Code it... That's all... |
|||
13 Nov 2003, 17:00 |
|
HarryTuttle 13 Nov 2003, 21:40
Hi Friends!
U R really GR8 coders!!! thanx a lot! Harry _________________ Microsoft: brings power of yesterday to computers of today. |
|||
13 Nov 2003, 21:40 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.