flat assembler
Message board for the users of flat assembler.

Index > Main > 2d graphic library project

Goto page Previous  1, 2, 3, 4, 5
Author
Thread Post new topic Reply to topic
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
ok, this is not final fix, i just made some temporary changes which i must undo.

Error was either some bug due to not using macros or something in window procedure. In second case, it will maybe take some more to fix. But at least bug can be considered found! Thx for all your help.
Post 23 Feb 2004, 19:07
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: 7105
Location: Slovakia
vid
hi there, new test versions (again). if these work, tg2d development can continue (sprites and backbuffer support)


Description:
Download
Filename: tg2d v0.0.3.7.zip
Filesize: 38.98 KB
Downloaded: 343 Time(s)

Post 03 Mar 2004, 19:13
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
decard



Joined: 11 Sep 2003
Posts: 1092
Location: Poland
decard
test1 & test2 - OK
test3 - crash.

I'm sorry but I missed the update again Embarassed
Post 06 Mar 2004, 11:12
View user's profile Send private message Visit poster's website Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
yes, i already found bug in 0.0.3.7 test3, which was in all non-working previous versions and wasn't in all working, so i hope it's that. It was retn instead of retn 16 in window procedure. I just wonder why it works under XP. It seems XP calls procs in some very interesting way, i already experienced such bug in my previous project. I emailed new version to triglav for test.

I also started with resolving directdraw error names, code is done i just have to complete list of errors. Doesn't someone have old ddraw include files? I am using interface version 1, but i have includes from version 7 which contains much more errors.

Also - do you someone know how to get NAME of windows error (like 'E_NOTENOUGHMEMORY'. I saw FormatMessage in API, but i only managed to get error description thru it.
Post 06 Mar 2004, 19:51
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
S.T.A.S.



Joined: 09 Jan 2004
Posts: 173
Location: Ru#27
S.T.A.S.
vid wrote:
It was retn instead of retn 16 in window procedure. I just wonder why it works under XP. It seems XP calls procs in some very interesting way..

I guess user32.dll puts some constant onto the stack (may be like DCBAABCDh?) before call WndProc.
After return, user32.dll probably checks some dword around esp and correct the stack for you.
This is the only way why both retn & retn 16 could work.
But I'm confused why they introduce things like that?
IMHO this is NOT for stability, but for making bugs more hidden.
Post 07 Mar 2004, 02:24
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
hi, new version, code is almost 0.1 version, i just must complete documentation.

I changed some names and terms (and i also will change few more), and I did major rewrite in documentation. Documentation is about 50% done, so i think soon there will be 0.1
Post 20 Mar 2004, 09:53
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4242
Location: 2018
edfed
is there a version 0.1?
Post 13 Oct 2007, 03:33
View user's profile Send private message Visit poster's website Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
man... this is ancient
i never continued this, and also design wasn't the best one. this was some kind of predecessor to FASMLIB.

There really is no need for another 2D graphic library, existing ones are better than i would ever make
Post 13 Oct 2007, 09:44
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
Mac2004



Joined: 15 Dec 2003
Posts: 313
Mac2004
So I guess we can consider this project dead and buried then?
Post 13 Oct 2007, 10:10
View user's profile Send private message Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4242
Location: 2018
edfed
the examples are very buggy
the test.exe is a danger
it don't appear in task bar and overwrite the windows screen!!!
and it don't appear in task manager too so ctrl+alt+del is unable to stop it!!!!!!
Post 13 Oct 2007, 12:56
View user's profile Send private message Visit poster's website Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo
vid wrote:
There really is no need for another 2D graphic library, existing ones are better than i would ever make


At least point a few URLs our way of these supposed "better" ones. Smile
Post 13 Oct 2007, 21:34
View user's profile Send private message Visit poster's website Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
dead, buried, and dangerous Wink

i think Allegro is clear choice as good 2D library. SDL should be nice too.
Post 14 Oct 2007, 17:33
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
daver



Joined: 26 Oct 2005
Posts: 11
daver
Hi Vid,
Don't know how I missed this thread, but, I did some work on an Allegro wrapper/interface for Fasm and I got it working well enough to make some small demos. The code is not production ready but may be useful to your endevours. The zip file below contains a demo as well as an allegro.inc file.

http://mir.bounceme.net:8080/fasm-allegro.zip

Cheers
Dave
Post 29 Oct 2007, 13:26
View user's profile Send private message 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


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.