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.
David Owens II
If you enable warnings the compiler will tell you. It's warning C6282 for MSVC.
»
Casey Muratori
I believe LLDB is still just a command line debugger. GDB has problems, certainly, but on the who…
»
Casey Muratori
I really want to do that but I don't have the expertise! I want a CPU guy to do a Handmade CPU an…
»
ThadeuMelo
We could go real "pig mode" and build our own cpu/gpu combo and run it on a FPGA board.
»
mallardz
Ah ok, so as the SignOf function parameter is defined as a signed int it all works. I get it, than…
»
Simon Anciaux
You can subtract 2 unsigned values and get a signed value.
»
mallardz
I don't quite understand the code at line 418 in handmade.cpp: We seem to be testing the sign of …
»
John Lorre
Casey, just to be clear: I did not mean to come over like I want to pressure you into explaining y…
»
mojobojo
Oh man, should have waited 10 more minutes and I would have had my answer. After careful evaluatio…
»
mojobojo
So I am playing around with hash tables and looking at how it effects performance. I wrote three d…
»
Kasper Sauramo
If I recall correctly here, Windows7 requires Xaudio2.7 and 2.8 isn't supported. However for some …
»
Casey Muratori
Yeah, and I think it will be fun to have a joystick that doesn't go through USB, because it would …
»
Juan Felipe Garcia Catalan
Much easier in fact than dealing with the USB. In fact you could just stick a few potentiometers a…
»
Casey Muratori
I don't know if we'll support USB on the Pi, because we might go even more handmade on there and d…
»
Reece H
I'll do my best to explain it line by line, hopefully this will help you figure out what part you …
»
Mārtiņš Možeiko
Small in terms that it is pretty readable. You can start reading it without being totally lost. Co…
»
jeringa
Hehe Disguised Dormant Doormat :)
»
Thomas Frase
For suitable definitions of "small". I knew of this one, it has about 12k lines of code. That's ab…
»
Mārtiņš Možeiko
Here is small USB stack written specially for Raspberry Pi: It can handle keyboard, mouse, gamepa…
»
Thomas Frase
I always wanted to see someone implement an USB stack from scratch. (Assuming HH will support joys…
»
Casey Muratori
Yes, or RPi (or RPi2) port will use nothing at all besides the "fixed" boot loader that is undocum…
»
Casey Muratori
Just a small note: when breaking into a running program, you must be careful to ensure that the di…
»
Casey Muratori
The primary utility of pointers comes more when you are operating on A. Large collections of thing…
»
Aliphim
Ok just looking at that, before running it, I'd guess the first printf prints 1 because you pass 1…
»
Mārtiņš Možeiko
Well once you assign value to ChangeMe/ChangeMe2, there are really no differences what you do. It'…
»
Benjamin Schnur
When I posted, it was happening every time I ran the program within about 30 seconds; for whatever…
»
Aliphim
Hello. I am very new to programming in general. I'm using the Handmade Hero videos on Youtube plus…
»
Mārtiņš Možeiko
That is very low-level function in Windows. What functions are in call stack? If it doesn't show c…
»
Marc Novakowski
Ah yes - now THAT would be cool!
»
Benjamin Schnur
I'm about halfway through Day 035, and I've run into the following: The program hangs after an ind…
»