flat assembler
Message board for the users of flat assembler.

Index > High Level Languages > connect fasm with VS2005

Author
Thread Post new topic Reply to topic
strap89



Joined: 15 Feb 2009
Posts: 23
Location: Russia
strap89 17 Mar 2009, 17:59
I'm write some utilities to provide integration fasm compiler in VS2005.
Connection provided only for obj file format compilation!
See vs2fasm2vs-usage.txt for rules to run (utility need some hand work from you!).
Provided:
1. Custom build tool for asm file (fasm.rules).
2. Utility for transform fasm error messages into format recognized by VS2005 (fasm2vs.exe).
3. Batch file (vs2fasm.bat) used by fasm.rules for call fasm
4. Debug info can be added into obj file by using pecvt.exe utility included in archive.


Description: Updated version
Download
Filename: vs2fasm2vs-21-03-2009.zip
Filesize: 34.89 KB
Downloaded: 1067 Time(s)



Last edited by strap89 on 21 Mar 2009, 08:19; edited 1 time in total
Post 17 Mar 2009, 17:59
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 17 Mar 2009, 23:54
Nice job, someone please test it (I don't even have VS installed now, and don't plan to unless I have to).

I remember that FASM error messages were hell to handle for a VIM script.
Post 17 Mar 2009, 23:54
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
strap89



Joined: 15 Feb 2009
Posts: 23
Location: Russia
strap89 21 Mar 2009, 08:22
Update utility. Fix a few bugs. Add ability to transfer options to fasm and pecvt in vs2fasm.bat. Add options in fasm.rules.
See vs2fasm2vs-usage.txt for rules to run.
Post 21 Mar 2009, 08:22
View user's profile Send private message Reply with quote
habran



Joined: 31 Aug 2008
Posts: 82
Location: South Australia
habran 21 Mar 2009, 11:48
Hi strap89,

I tried to build MDIRichEditFasm, but not successfully
I can compile source and have .o, .fas, .obj in Debug folder, but I have Linker errors:
Code:
Error 1       error LNK2005: _start already defined in mdiriched.obj mdiriched.obj        
Error       2       fatal error CVT1100: duplicate resource.  type:MANIFEST, name:1, language:0x0409        CVTRES  
Error       3       fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt MDIRichEditFasm 
    


Would you be able to try to build MDIRichEditFasm and if you succeed post your VC2005 project and vs2fasm.bat, please

I am very interested in your project, because it would be nice to build fasm programs using VC2005 as IDE

best regards

_________________
down under
Post 21 Mar 2009, 11:48
View user's profile Send private message Reply with quote
habran



Joined: 31 Aug 2008
Posts: 82
Location: South Australia
habran 22 Mar 2009, 01:07
Hi again!

I have succeeded to build it!

Excellent, thank you very much

best regards
Post 22 Mar 2009, 01:07
View user's profile Send private message Reply with quote
habran



Joined: 31 Aug 2008
Posts: 82
Location: South Australia
habran 16 Apr 2009, 22:31
Hi strap89,

Would you please add Wortex's 'Scan.exe' to the 'vs2fasm.bat', because if I add new functions to my source, it doesn't compile

The 'Scan.exe' should run first, before compilation

It should have command: scan.exe sourcefilename.asm -dc

best regards


Description:
Download
Filename: Scan.zip
Filesize: 7.53 KB
Downloaded: 1024 Time(s)


_________________
down under
Post 16 Apr 2009, 22:31
View user's profile Send private message Reply with quote
habran



Joined: 31 Aug 2008
Posts: 82
Location: South Australia
habran 29 Apr 2009, 15:44
Hi strap89'

I have figured out how to do that and now vs2fasm calls Scan.exe and creates .imp file
Scan.exe has to be in the fasm folder

here it is:


Description:
Download
Filename: vs2fasm.zip
Filesize: 744 Bytes
Downloaded: 946 Time(s)


_________________
down under
Post 29 Apr 2009, 15:44
View user's profile Send private message 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.