flat assembler
Message board for the users of flat assembler.
Index
> Windows > ret causing an access violation |
Author |
|
okasvi 12 Dec 2006, 23:43
You should forget about your code being 'cpu efficient' and move onto basics of asm/win32-coding, and hopefully you eventually come up with code formatting/style that is easier to read.
anyway, your definition of drawbar takes no params... |
|||
12 Dec 2006, 23:43 |
|
kohlrak 12 Dec 2006, 23:46
i'm still trying to learn all the functions, and only experience can make me find a way to make it easier to read. lol
As for forgetting CPU efficiency, that's why i am learning this, so i can try to be at least half efficient, because my code in C++ is always slow and laggy, even with speed tactics like inline and macros. Well, actually that's half the reson, the other half is so that i can eventually get away from the OS. |
|||
12 Dec 2006, 23:46 |
|
okasvi 12 Dec 2006, 23:58
so, did my tip help you fix the bug or not?
|
|||
12 Dec 2006, 23:58 |
|
kohlrak 13 Dec 2006, 00:02
Actually yes. lol
I did some other things in attempt to fix it that damaged my draw box code so now it's not drawing boxes, but cones instead, but when i finish i'll post the code. lol I actually ment to speed write this project so i could compare the speed of this code with the same code, only in C++ to make a point to my programming teacher that Visual Studio is not a very good thing to rely on and maybe learning assembly isn't such a bad idea. |
|||
13 Dec 2006, 00:02 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.