flat assembler
Message board for the users of flat assembler.
 Home   FAQ   Search   Register 
 Profile   Log in to check your private messages   Log in 
flat assembler > Main > fasm packaging as a project for the community

Goto page Previous  1, 2, 3, 4, 5
Author
Thread Post new topic Reply to topic
Coty



Joined: 17 May 2010
Posts: 519
Location: ␀
@tyler, linux mint 9 i386... works perfectly Very Happy Thanks, this is nice. and may help many people.
Post 09 Jun 2010, 02:10
View user's profile Send private message Send e-mail Visit poster's website AIM Address Reply with quote
goldenspider



Joined: 16 May 2011
Posts: 38
Here is the GdiPlus APIs, translated from GdiPlus SDK.
It took me half a day, hope useful to you.

INCLUDE:
API\gdiplus.inc
EQUATES\gdiplus.inc
PCOUNT\gdiplus.inc

;================
struc GUID def
{
match d1=,d2=,d3=,d4, def
\{
.Data1 dd d1
.Data2 dw d2
.Data3 dw d3
.Data4 db d4
\}
}


;You can define GUID:

ImageFormatPNG GUID <0xb96b3caf,0x0728,0x11d3,0x9d,0x7b,0x00,0x00,0xf8,0x1e,0xf3,0x2e>


Description:
Download
Filename: GdiPlus.zip
Filesize: 23.8 KB
Downloaded: 518 Time(s)

Post 25 Sep 2011, 06:03
View user's profile Send private message Reply with quote
Akujin



Joined: 11 Oct 2011
Posts: 26
Location: Exile
MASM.inc to FASM.inc
Usage:
Drag and Drop a masm32 include file over the M2F.exe
if the program dont crash!
you obtain a fasm compatible include file in c:\
a message box will confirm the successful operation.

Only prototype extracted, EQU and Structs ignored!
Dont use EXTIA include type!
Dont try windows.inc!

UPDATED!


Description: MASM.inc to FASM.inc UPDATED!
Download
Filename: _M2F.rar
Filesize: 3.75 KB
Downloaded: 514 Time(s)


_________________
CLI
HLT


Last edited by Akujin on 29 Oct 2011, 06:48; edited 1 time in total
Post 23 Oct 2011, 06:31
View user's profile Send private message Visit poster's website Reply with quote
Akujin



Joined: 11 Oct 2011
Posts: 26
Location: Exile
Akujin's Flat includes Pack
315 Flat Includes...
only Kernel32.inc tested! Twisted Evil
opengl32 complain about glBeginA Question NFI!...

Regards.

[Deleted v0.000000000000000000000001] Confused
[New v1.01 on new post] Cool

_________________
CLI
HLT


Last edited by Akujin on 26 Oct 2011, 18:53; edited 1 time in total
Post 24 Oct 2011, 04:50
View user's profile Send private message Visit poster's website Reply with quote
Madis731



Joined: 25 Sep 2003
Posts: 2149
Location: Estonia
Is your version numbering binary and/or logarithmic? What's your incrementation policy?
Post 24 Oct 2011, 09:14
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger Reply with quote
Akujin



Joined: 11 Oct 2011
Posts: 26
Location: Exile
Akujin's Flat includes Pack v1.01
Twisted Evil
315 Flat includes!
No API errors this time!
PCOUNT on separate files

EQUATES and STRUCTS ready but that's another story!...(NOT included!)

Madis731
Just used a CYA with a RZG version number
feel free to mail me if you dont get it!

Notes
Kernel32 and others appears twice:
kernel32.inc and kernl32p.inc
include ending with 'p' are most up to date.
Manual editing is still required for some includes.
New M2Fx Tools included in a sub folder.

Regards.


Description: Akujin's Flat includes Pack v1.01
Download
Filename: FASMinc.7z
Filesize: 240.88 KB
Downloaded: 535 Time(s)


_________________
CLI
HLT
Post 26 Oct 2011, 19:44
View user's profile Send private message Visit poster's website Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4641
Location: Argentina
FYI, madmatt provided a new update recently: http://board.flatassembler.net/topic.php?t=13931
Post 01 Feb 2012, 01:54
View user's profile Send private message Reply with quote
shadowomf



Joined: 31 Mar 2010
Posts: 12
Location: Germany
Includes for freeglut, openal, physicsfs, opengl
Hello,

I'm not sure if this is the right place to post this.
I have made a few headers on my own for a planned cross-platform game.
The game will propably not happen, but maybe someone else needs the includes.

There are headers for:
freeglut - which supports that you keep control of your event loop (unlike the original GLUT)

OpenAL Soft - an updated open source version of OpenAL SI (sample implementation)

physicsfs - which handles cross platform I/O and archive access (pak, zip, 7z, ...) and provides helpers to get the application and user path on all platforms (e.g. PHYSFS_setSaneConfig)

OpenGL - I generated these from more current specs, most of the time you propably would want to use the defaults shipped with fasm


Each library has it's own folder, which contains at most the following three files:
equ.inc - defines and structs
api.inc - imports
ptr.inc - can be used to store the pointers for extension functions (OpenGL, OpenAL), you still have to get them yourself


Note, I don't ship the binaries, but there are relativly easy to build (at least with visaul studio and cmake).
I choose the libraries because they all allow dynamic linking without publishing your source code.

The includes have not been thoroughly tested. They will propably only work on Windows in 64bit applications, but I haven't tested it.

Most of them were created by a python script and some notepad++ regex magic. If I find the time I will make a clean script that I can publish. If you can give me any feedback (especially on how to create headers that can be used on linux, unix, bsd or whatever) I would try to add this to the script.

One more thing, is there any way to prevent polluting the global "namespace" when you use libraries? My current approach to this is adding <libraryname>§ before all functions, structs and equates, but it isn't pretty. Example kernel32§CreateThread.
Note the attached includes are clean and don't contain this "feature".

-Christoph


Description: the includes for OpenAL Soft, OpenGL, freeglut, PhysicsFS
Download
Filename: includes.7z
Filesize: 37.1 KB
Downloaded: 476 Time(s)

Post 28 Mar 2012, 08:15
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2, 3, 4, 5

< 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


Powered by phpBB © 2001-2005 phpBB Group.

Main index   Download   Documentation   Examples   Message board
Copyright © 2004-2016, Tomasz Grysztar.