flat assembler
Message board for the users of flat assembler.

flat assembler > Projects and Ideas > [idea] FASM package

Author
Thread Post new topic Reply to topic
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7108
Location: Slovakia
The idea was long time there, i just want to ressurect it a little. I got inspired by similar project on asmcommunity.net, where they try to make such package for NASM. Their design of package is good and quite portable.

We should create some package of FASM-releated stuff. It will help newbies to start easier, and will also be collection of useful stuff we create here on forum, so it don't get lost.

Example of such package for win32 is attached


Description:
Download
Filename: fasmpak-win32.zip
Filesize: 566.66 KB
Downloaded: 1016 Time(s)



Last edited by vid on 03 Apr 2007, 13:53; edited 2 times in total
Post 14 Mar 2007, 11:24
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7108
Location: Slovakia
Here is draft how it could look like.

It is designed mainly to help beginners to start coding, without having to understand how things work, and search for things on internet. Here, we will have all they need in one package, including documentation and examples.

Right now it only includes support for KERNEL32.DLL, USER32.DLL, GDI32.DLL, SHELL32.DLL and FASMLIB.

It contains some basic set of macrofeatures, similiar to standard FASM macros.
- HLL branch statements - ".if", ".while" etc...
- "proc" and "proc c"
- "stdcall", "invoke", "ccall", "cinvk"
- parameter count checking for all APIs and FASMLIB functions
- calling convention checking when calling APIs with highlevel call macros
- "idata" and "udata" macros
- sections created automatically, all that is needed is to use ".end" macro at end of file. For data, "idata" and "udata" should be used.

Please take a look at it and let me know what you think about it.


Description:
Download
Filename: fasmpak-win32.zip
Filesize: 555.22 KB
Downloaded: 647 Time(s)

Post 14 Mar 2007, 19:23
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
Crukko



Joined: 26 Nov 2005
Posts: 118
I just downloaded....
I'm goign to take a look.
Your idea is great! Hope to help you...in the short time I can use for the project Wink
Post 15 Mar 2007, 10:06
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7108
Location: Slovakia
if you want to help, you could preapare some equate files. For example equates/includes for DirectX 9 would be great. I think some were floating around the board, but i couldn't find them Sad
Post 15 Mar 2007, 13:13
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
Raedwulf



Joined: 13 Jul 2005
Posts: 375
Location: United Kingdom
ooo ooo I want to have a look !
Post 15 Mar 2007, 14:02
View user's profile Send private message MSN Messenger Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7108
Location: Slovakia
here is newer version, with 4 examples provided. They are arranged in form of tutorial, so they could be FASM equivalent to IczLions tutorials for newcomers.

I also focused a lot since beginning on proper error handling in these examples, so later people will be used to it.

I left out WinAPI help file because it's big. In real distribution sometimes i would like to include all available documentation to supported things


Last edited by vid on 03 Apr 2007, 13:53; edited 1 time in total
Post 15 Mar 2007, 19:58
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
OzzY



Joined: 19 Sep 2003
Posts: 1029
Location: Everywhere
Nice idea!
I think it would be great to have a community website (wiki) for FASM.
With this package, tutorials, examples, and hosting for projects.

We could make a FASM installer, that install this package with eveything needed to get started.

Something like the Iczelion tutorials + the sourceforge + NASM32 and MASM32 packages some guys are doing.
But this time would be everything for FASM (FASM syntax tutorials + projects/examples in FASM + package with FASM and tools).

This would be the best for showing FASMLIB in use, plus helping beginners with a nice reference page and downloadable easy-to-install and all-in-one package. Something like using FASMLIB for building a friendly package.
Post 20 Mar 2007, 14:26
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7108
Location: Slovakia
Ozzy: yes, that is my idea too.

Especially we will need include files for more Win DLLs, DirectX, COM objects, other's libraries (libtomcrypt, libcurl) etc...
Post 20 Mar 2007, 15:12
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7108
Location: Slovakia
just optimized package's macros to compile with ~8MB of RAM instead of original ~80MB Smile

As we add more WinAPI DLL includes, amount of RAM needed will increase (or some of them will be optional)
Post 20 Mar 2007, 22:59
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
dead_body



Joined: 21 Sep 2005
Posts: 188
Location: Ukraine,Kharkov
and time to compile will increase gradually, and we will get Microsoft Visual 200x or Delphi 200x...
Post 21 Mar 2007, 10:27
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7108
Location: Slovakia
uploaded newer version
Post 03 Apr 2007, 13:55
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number 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-2019, Tomasz Grysztar.

Powered by rwasa.