I found the issue. When you do PushBitmap for familiar you use the address of a loaded_bitmap that…
As far as I know, you can't post the assets from handmade hero. People here often have access to t…
Hi Simon, Thanks for replying. I was not expecting that someone would run the code... But in the f…
To get things somewhat working in RemedyBG I added /DEBUG:FULL to the linker flags.
What is most likely happening is that turning on optimization is highlighting a problem in your co…
Hello, I am following along with day 105, and at this point my code is just a horrific mess. So th…
Because if callee does not need to access them then it would be waste of time for caller to do it …
Sometimes, functions need to dump their register parameters on the stack, and the space for that i…
Yeah I thought about this some more. Keeping the magnitude of the inner product constant is useful…
In the "Calling convention defaults" section: The caller must always allocate sufficient space to …
Shadow store is explained in here: The caller must always allocate sufficient space to store four…
What is a shadow store? Is it for return values that are greater than 64 bits so the callee can wr…
volatile registers are listed here: Integer arguments are passed in registers RCX, RDX, R8, and R9…
I've done a bit more experimenting on how to synchronize the two threads together in a way that wo…
volatile / non-volatile registers are concept of calling convention specified in ABI. It is simply…
volatile / non-volatile registers are concept of calling convention specified in ABI. It is simply…
To keep the dot product at zero and the converted normal perpendicular to the transformed vector, …
Thanks for the detailed explanation. I think I get it now. I have some remaining questions:Does th…
Callee does not know and does not care which registers caller uses. Caller itself knows which regi…
It will copy only those non-volatile registers which it wants to use after function. If caller doe…
So a function will copy all the non-volatile register content to the stack at the beginning and re…
So a function will copy all the non-volatile register content to the stack at the beginning and re…
Volatile/non-volatile is explained in the calling convention: "Consider volatile registers destro…
I'm currently learning about calling conventions on windows, both x64 and x86. As far as I know, c…
The Windows API docs state that, by default, an edit control shows and hides the selection highlig…
Hey so I also found an algebraic argument for the way the normals transform. Do you have something…
Hello. It's been awhile since I've posted here, but I've just encountered an issue I'd be grateful…
That looks a lot longer evaluation than this: