We could go real "pig mode" and build our own cpu/gpu combo and run it on a FPGA board.
Ah ok, so as the SignOf function parameter is defined as a signed int it all works. I get it, tha…
You can subtract 2 unsigned values and get a signed value.
1
2
3uint32 a = 1;
uint32 b = 2;
int32…
I don't quite understand the code at line 418 in handmade.cpp:
1
2
3
4
5
6
7
8
9
10
11
…
Casey, just to be clear: I did not mean to come over like I want to pressure you into explaining …
Oh man, should have waited 10 more minutes and I would have had my answer. After careful evaluati…
So I am playing around with hash tables and looking at how it effects performance. I wrote three …
If I recall correctly here, Windows7 requires Xaudio2.7 and 2.8 isn't supported. However for some…
Yeah, and I think it will be fun to have a joystick that doesn't go through USB, because it would…
Much easier in fact than dealing with the USB. In fact you could just stick a few potentiometers …
I don't know if we'll support USB on the Pi, because we might go _even more handmade_ on there an…
I'll do my best to explain it line by line, hopefully this will help you figure out what part you…
Small in terms that it is pretty readable. You can start reading it without being totally lost. C…
Hehe Disguised Dormant Doormat :)
For suitable definitions of "small". I knew of this one, it has about 12k lines of code. That's a…
Here is small USB stack written specially for Raspberry Pi: https://github.com/rsta2/uspi
It can …
I always wanted to see someone implement an USB stack from scratch. (Assuming HH will support joy…
Yes, or RPi (or RPi2) port will use nothing at all besides the "fixed" boot loader that is undocu…
Just a small note: when breaking into a running program, you must be careful to ensure that the d…
The primary utility of pointers comes more when you are operating on
A. Large collections of thi…
Ok just looking at that, before running it, I'd guess the first printf prints 1 because you pass …
Well once you assign value to ChangeMe/ChangeMe2, there are really no differences what you do.
I…
When I posted, it was happening every time I ran the program within about 30 seconds; for whateve…
Hello. I am very new to programming in general. I'm using the Handmade Hero videos on Youtube plu…
That is very low-level function in Windows. What functions are in call stack? If it doesn't show …
Ah yes - now THAT would be cool!
I'm about halfway through Day 035, and I've run into the following:
The program hangs after an i…
What do you mean with "pass an array to a pointer"? If you are asking how to assing array to poin…
Of course I was joking about HH for Win10 on RPi2.
As for RPi port - I don't think that is same …
In my XAudio code I have my buffer data, im trying to get my buffer data into the fillbuffer func…