Also using const can help the compiler generate better code.
While I'm all pro-const, I've never …
Sven —
const should be used everywhere, where it makes sense. Of course when one starts to use const one…
There is no logical or even economical reason (RPI would be cheaper in any case).
I'm not even tr…
What would be advantage of STM32F4 over RPi? My understanding is that STM32F4 is still small ARM …
Thank you for that. I forgot about checking warning levels, that is something I need to do more o…
I am really considering to do this, actually I have been thinking about this a few weeks now.
My …
If you enable warnings the compiler will tell you. It's warning C6282 for MSVC.
https://msdn.mic…
I believe LLDB is still just a command line debugger. GDB has problems, certainly, but on the wh…
I really want to do that but I don't have the expertise! I want a CPU guy to do a Handmade CPU a…
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…