flat assembler
Message board for the users of flat assembler.

Index > Projects and Ideas > KONW-FASM - C headers to fasm converter

Author
Thread Post new topic Reply to topic
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8359
Location: Kraków, Poland
Tomasz Grysztar 22 Apr 2006, 19:50
One of the users of Polish flat assembler forum posted there his script that converts the C headers into ones for fasm. I think it's an interesting project, so I post info about it here, too. You can download the script from this address:
http://rudy.mif.pg.gda.pl/~bogdro/inne/konw-fasm.txt
Post 22 Apr 2006, 19:50
View user's profile Send private message Visit poster's website Reply with quote
okasvi



Joined: 18 Aug 2005
Posts: 382
Location: Finland
okasvi 22 Apr 2006, 20:43
oh, my pulse just got over 150beats/min...
i gotta give it a go...

edit: then again its perl and i dont have activeperl or anything to run it and my slackbox is down so... Sad
Post 22 Apr 2006, 20:43
View user's profile Send private message MSN Messenger Reply with quote
Borsuc



Joined: 29 Dec 2005
Posts: 2465
Location: Bucharest, Romania
Borsuc 25 Apr 2006, 13:11
Cool Cool
Post 25 Apr 2006, 13:11
View user's profile Send private message Reply with quote
silkodyssey



Joined: 02 Oct 2003
Posts: 198
Location: St.Vincent & the Grenadines
silkodyssey 25 Apr 2006, 15:14
http://www.magma.ca/~wjr/thINC.zip

Another option, it translates to GoAsm but GoAsm's syntax is not too different from fasm's.

_________________
silkodyssey
Post 25 Apr 2006, 15:14
View user's profile Send private message MSN Messenger Reply with quote
OzzY



Joined: 19 Sep 2003
Posts: 1029
Location: Everywhere
OzzY 26 Apr 2006, 23:56
Very nice!
As I'm learning Perl programming I find it useful for both learning Perl and using it together with FASM.
I "compiled" it to .EXE and tried to post here, but the .EXE was too big. Soon when I upload my new website I'll host there and post a link here. So with this "compiled" perl script (interpreter+libs+script inside stand-alone EXE), people will be able to use it without having to install the full Perl package.
Post 26 Apr 2006, 23:56
View user's profile Send private message Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8359
Location: Kraków, Poland
Tomasz Grysztar 28 Apr 2006, 20:47
More scripts from BogDro:
http://rudy.mif.pg.gda.pl/~bogdro/inne/

Includes also the gas => fasm converter.
Post 28 Apr 2006, 20:47
View user's profile Send private message Visit poster's website Reply with quote
RedGhost



Joined: 18 May 2005
Posts: 443
Location: BC, Canada
RedGhost 29 Apr 2006, 06:00
ah very nice and useful scripts but the syntax of perl hurts my brain
Post 29 Apr 2006, 06:00
View user's profile Send private message AIM Address MSN Messenger Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo 29 Apr 2006, 06:25
NOMYSO: MASM/TASM => NASM converter, written in Perl (Michael Devore)
Post 29 Apr 2006, 06:25
View user's profile Send private message Visit poster's website Reply with quote
Adam Kachwalla



Joined: 01 Apr 2006
Posts: 150
Adam Kachwalla 04 May 2006, 06:30
Is there a C Compiler that uses FASM as a back-end?
Post 04 May 2006, 06:30
View user's profile Send private message Reply with quote
TmX



Joined: 02 Mar 2006
Posts: 843
Location: Jakarta, Indonesia
TmX 08 May 2006, 02:30
mm .. interesting
and what about linking with the C library ?
Post 08 May 2006, 02:30
View user's profile Send private message Reply with quote
okasvi



Joined: 18 Aug 2005
Posts: 382
Location: Finland
okasvi 08 May 2006, 03:53
use external linker for that, like polink... maybe Tomasz should make macros for that Twisted Evil okay, i know, would be REALLY complicated if not impossible Razz
Post 08 May 2006, 03:53
View user's profile Send private message MSN Messenger Reply with quote
silkodyssey



Joined: 02 Oct 2003
Posts: 198
Location: St.Vincent & the Grenadines
silkodyssey 08 May 2006, 12:22
Quote:

okay, i know, would be REALLY complicated if not impossible


But using the dlls it seems as straightforward as using windows api calls.

_________________
silkodyssey
Post 08 May 2006, 12:22
View user's profile Send private message MSN Messenger Reply with quote
kohlrak



Joined: 21 Jul 2006
Posts: 1421
Location: Uncle Sam's Pad
kohlrak 12 Dec 2006, 23:21
No more giving back...


Last edited by kohlrak on 07 Aug 2008, 15:05; edited 1 time in total
Post 12 Dec 2006, 23:21
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger Reply with quote
Garthower



Joined: 21 Apr 2006
Posts: 158
Location: Ukraine
Garthower 12 Mar 2007, 15:10
Hi OzzY!

Do you can give a compiled perl script for converting C header to FASM? If you can, maybe you send me it to my email? Or give me url for download Smile Simply I don't want to install Perl compiler on my computer.
Post 12 Mar 2007, 15:10
View user's profile Send private message Visit poster's website MSN Messenger ICQ Number Reply with quote
Bucka



Joined: 14 Jun 2012
Posts: 4
Bucka 14 Jun 2012, 18:12
I tried to run script called konw-fasm.pl, but it doesn't work.
Post 14 Jun 2012, 18:12
View user's profile Send private message Reply with quote
ASM-Man



Joined: 11 Jan 2013
Posts: 64
ASM-Man 10 Feb 2013, 01:49
doesn't work for me too. Missing some included-file.
Post 10 Feb 2013, 01:49
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-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.