flat assembler
Message board for the users of flat assembler.

Index > Windows > Graphics animations with fasm

Goto page Previous  1, 2
Author
Thread Post new topic Reply to topic
kalambong



Joined: 08 Nov 2008
Posts: 165
kalambong 06 Apr 2012, 08:41
lostcauz wrote:
No, nothing like you. He assembled the program just fine. He didn't report the 'sky is falling', nor did he give a fictional "fix" for the program




Cool down, dude

Coooooool down ...
Post 06 Apr 2012, 08:41
View user's profile Send private message Reply with quote
macgub



Joined: 11 Jan 2006
Posts: 348
Location: Poland
macgub 11 Apr 2012, 07:13
Hi.
Sources looks intresting.
I compile app.
fasm "grtest.asm" -s "grtest.fas"
But how can I run .fas file on xp Question Is it Windows executable Question
Fasmw gives me 'out of memory'.
Post 11 Apr 2012, 07:13
View user's profile Send private message Visit poster's website Reply with quote
bzdashek



Joined: 15 Feb 2012
Posts: 147
Location: Tolstokvashino, Russia
bzdashek 11 Apr 2012, 07:43
macgub wrote:
Hi.
Sources looks intresting.
I compile app.
fasm "grtest.asm" -s "grtest.fas"
But how can I run .fas file on xp Question Is it Windows executable Question
Fasmw gives me 'out of memory'.

*.fas is not an executable file - it's debug symbols for debugging the program.

You can try to compile like that:
Code:
fasm grtest.asm
    

it will generate grtest.exe, run it, and you're done.

Executable files in DOS/Windows have an *.exe extension.

typedef
Successful troll is successful.
Post 11 Apr 2012, 07:43
View user's profile Send private message Reply with quote
macgub



Joined: 11 Jan 2006
Posts: 348
Location: Poland
macgub 11 Apr 2012, 08:32
OK Problem solved, thanks Very Happy
Post 11 Apr 2012, 08:32
View user's profile Send private message Visit poster's website Reply with quote
Sasha



Joined: 17 Nov 2011
Posts: 93
Sasha 20 Jul 2012, 23:23
Question. What is faster? Gdi or Gdi+ ? The Gdi is much simpler but if you wont to output pictures with good fps and low cpu load maybe it worth to study Gdi+ ?
Post 20 Jul 2012, 23:23
View user's profile Send private message Reply with quote
typedef



Joined: 25 Jul 2010
Posts: 2909
Location: 0x77760000
typedef 21 Jul 2012, 00:37
bzdashek wrote:


typedef
Successful troll is successful.


Like a bAwss!! son !

http://www.terrariaonline.com/attachments/180px-fuck_yea_like_a_boss-png.12571/
Post 21 Jul 2012, 00:37
View user's profile Send private message Reply with quote
bzdashek



Joined: 15 Feb 2012
Posts: 147
Location: Tolstokvashino, Russia
bzdashek 21 Jul 2012, 06:53
Post 21 Jul 2012, 06:53
View user's profile Send private message Reply with quote
Sasha



Joined: 17 Nov 2011
Posts: 93
Sasha 21 Jul 2012, 09:58
Does the StretchDIBits function, that is used in the example, is the fastest way to output image from memory ? I used CreateBitmap + CreateCompatibleDC + SelectObject + BitBlt before.
Post 21 Jul 2012, 09:58
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20363
Location: In your JS exploiting you and your system
revolution 21 Jul 2012, 14:19
Sasha wrote:
Does the StretchDIBits function, that is used in the example, is the fastest way to output image from memory ?
No one can know the answer to this. Everyone has different hardware/software/OS version/GPU/CPU/mobo/etc. so even if you do a test on your particular machine the results cannot be expected to be valid for other configurations.
Post 21 Jul 2012, 14:19
View user's profile Send private message Visit poster's website Reply with quote
Sasha



Joined: 17 Nov 2011
Posts: 93
Sasha 21 Jul 2012, 18:26
If one of the functions is a wraper for another, it's better to use the second. And it's not depends on os/cpu.
Post 21 Jul 2012, 18:26
View user's profile Send private message Reply with quote
Sasha



Joined: 17 Nov 2011
Posts: 93
Sasha 21 Jul 2012, 19:32
It coul'd be wrapper on one version and vice versa on the other. So, only runtime test can help...
Post 21 Jul 2012, 19:32
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

< 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.