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