Heh nvm. |
|
I have a problem in this function, on the red line: |
|
Heh nvm. |
|
Yeah, that's what I was going to suggest. |
|
New problem: |
|
the GCC (including MinGW & Cygwin on Windows) uses the AT&T (UNIX) assembly format |
|
Last edited by Ynot; 08-13-2008 at 02:08 AM.
Oh well shit. |
|
I think GNU is the standard. I know that you can do _asm with GNU. |
|
Why are you using your own sound routines? It might be easier to use OpenAL |
|
So I can or I can't keep the functions as-is? |
|
I would use OpenAL for a game, that way you are guaranteed that it will work. |
|
Yes you can |
|
I find intel asm soooo much easier than the unix style one. How do people read that junk? |
|
I like to think I'm a fairly competent programmer |
|
Ausome, now I don't have to phuck around with other compilers! |
|
Assembly code is INSANELY fast. It also has a better memory footprint. I've never had a compiler make better asm than me (for small routines obviously.) Compilers are very liberal with the stack (liveliness analysis isn't very good), when I do something in asm I try to use the stack as little as possible, that usually means moving parts of the code around, which compilers have a hard time doing. |
|
Last edited by ninja9578; 08-13-2008 at 03:02 AM.
Okay, it worked, but it's taking forever to compile |
|
Actually, it didn't work. |
|
Must be your C++ code, asm should be really fast to compiler. What other flags did you set, are you doing multiple passes? |
|
None and no. |
|
I see some errors in the programmer, are you sure this program worked once? |
|
Oh okay. |
|
I think most games are written in .NET which means a M$ compiler. I'm not sure if you can get that for free. |
|
Bookmarks