flat assembler
Message board for the users of flat assembler.
![]() Goto page 1, 2 Next |
Author |
|
lostcauz 23 Mar 2012, 09:30
Hello fasm community! I wrote this graphics animation program to assist myself in becoming familiar with fasm, and for learning and playing with some animation maths. A fun tinker toy. It's a bit early to release(only one color implemented, four animations, single buffer...) but I welcome comments, corrections and suggestions before I continue. I'm also curious to know if this works on other hardware and OS's. Developed on 64 bit Win7 laptop Quad Core AMD A6-3400M APU w/Radeon HD Graphics 1.4ghz 6GB RAM @ 1600x900.
zip of source code
Last edited by lostcauz on 23 Mar 2012, 16:24; edited 1 time in total |
|||||||||||
![]() |
|
bzdashek 23 Mar 2012, 13:33
Works OK under WinXP on x86, CORE 2 DUO. I believe graphics is irrelevant since you're using GDI32.
|
|||
![]() |
|
AsmGuru62 23 Mar 2012, 14:00
GDI32 is obviously using the hardware acceleration in its core.
|
|||
![]() |
|
bzdashek 23 Mar 2012, 14:11
AsmGuru62 wrote: GDI32 is obviously using the hardware acceleration in its core. Is it? I thought they implemented it only in Windows 7, according to this article: http://msdn.microsoft.com/en-us/library/windows/hardware/ff566559(v=vs.85).aspx Correct me if I'm mistaken |
|||
![]() |
|
typedef 23 Mar 2012, 18:02
wow ! FASM is out of memory then I increase memory and the file is 11 Megabytes lol
.NET or what ?!!! ![]() remove that line Code: xxxxx rd 255 * 255 ????? check this thread post: http://board.flatassembler.net/topic.php?p=142118#142118 |
|||
![]() |
|
bzdashek 23 Mar 2012, 19:38
typedef wrote: wow ! FASM is out of memory then I increase memory and the file is 11 Megabytes lol How did you do that? My output is: Code: C:\asm\examples2\grtest\1>fasm "grtest.asm" -s "grtest.fas" flat assembler version 1.69.36 (1484903 kilobytes memory) 4 passes, 4.2 seconds, 3584 bytes. |
|||
![]() |
|
lostcauz 23 Mar 2012, 23:22
Yes typedef, what did you do? It assembles and works perfectly on my machine with fasm 1.69.47 4 passes, 0.1 sec. 741,847 kb memory 3584 bytes. Perhaps I should have included an executable for those that don't understand how to read assembler or assemble with fasm. There is nothing wrong with the code as far as I can tell.
|
|||
![]() |
|
edfed 24 Mar 2012, 02:18
cool stuff.
i will certainly use that code as a tutorial for buffer rendering in windows.. and play with high res graphixs then. it works fine here (win98, 256MB, PIII800MHz), i tested various resolutions, seems ok, rendering is fast enough to investigate a little more. thank you it's cool ![]() |
|||
![]() |
|
lostcauz 28 Mar 2012, 13:05
Thanks edfed, I hope it is useful. I'll add more when I have time.
|
|||
![]() |
|
typedef 28 Mar 2012, 15:53
lostcauz wrote: Perhaps I should have included an executable for those that don't understand how to read assembler or assemble with fasm. ![]() ![]() ![]() ![]() |
|||
![]() |
|
AsmGuru62 28 Mar 2012, 16:49
Shouldn't it be: "Disappoint I Am"?
![]() |
|||
![]() |
|
lostcauz 28 Mar 2012, 16:57
Fasm is a well written assembler and I enjoy working with it. However, as a newcomer to this site, it is a definite annoyance when every post one makes is trolled by a member who adds nothing to the discussion. I came here to gain and share knowledge, and thus far, typedef has been quite unwelcoming. First the ridiculous alarmist comments about the program being 11 mb with the crack about .NET, then the further jab in my other thread. I know some of you and recognize usernames of many respectable asm programmers here, which is why I joined, but I will not tolerate this childish behaviour.
|
|||
![]() |
|
bzdashek 28 Mar 2012, 17:53
lostcauz wrote: Fasm is a well written assembler and I enjoy working with it. However, as a newcomer to this site, it is a definite annoyance when every post one makes is trolled by a member who adds nothing to the discussion. I came here to gain and share knowledge, and thus far, typedef has been quite unwelcoming. First the ridiculous alarmist comments about the program being 11 mb with the crack about .NET, then the further jab in my other thread. I know some of you and recognize usernames of many respectable asm programmers here, which is why I joined, but I will not tolerate this childish behaviour. Hey, take it easy, comrade! Your code really helped me while I studied the graphics output using DIB structures(in that useless PCX viewer of mine). |
|||
![]() |
|
typedef 28 Mar 2012, 19:51
he knows me alright, http://en.wikipedia.org/wiki/Typedef
|
|||
![]() |
|
Coty 29 Mar 2012, 14:23
Fasm IDE ran out of memory with Run > Compile...
Defaulting to command line... Got some strange errors about the compiler not being able to find the includes even though I pointed them to the correct directory, gave up and just compiled it from the include directory ![]() Neat code. Colors are a little dark, but still neat ![]() |
|||
![]() |
|
lostcauz 29 Mar 2012, 17:00
Thanks Coty. I'm not familiar with Fasm IDE as I don't use any IDE. Your include issue is likely your environment variables settings. You can try using the "path" variable or adding an "include" variable with the path to your fasm include files in your system variables settings.
|
|||
![]() |
|
typedef 29 Mar 2012, 18:13
Coty wrote: Fasm IDE ran out of memory with Run > Compile... aah, some one who doesn't know how to assemble just like me. lol |
|||
![]() |
|
lostcauz 29 Mar 2012, 18:53
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. What's the deal with you and my threads anyhow, other than postcount++? Momma didn't give you 'nuff attention? I'm sure she will be home soon with your milk and cookies...
|
|||
![]() |
|
Coty 30 Mar 2012, 13:36
Damn, I wish my mama brought me milk and cookies...
typedef wrote: aah, some one who doesn't know how to assemble just like me. lol Actually assembling with fasm alone is so easy, compared to when you have to assemble NASM, then you have to link it with ld just so it's binary with execute on linux... |
|||
![]() |
|
Goto page 1, 2 Next < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.