Handmade Hero » Forums » Code » Raspberry Pi 2
cmuratori
Casey Muratori
803 posts
1 project

Casey Muratori is a programmer at Molly Rocket on the game 1935 and is the host of the educational programming series Handmade Hero.

#2470 Raspberry Pi 2
2 years, 8 months ago

I really want to do that but I don't have the expertise! I want a CPU guy to do a Handmade CPU and then I will follow his series and do that :P

- Casey
JohnL
John Lorre
26 posts
#2473 Raspberry Pi 2
2 years, 8 months ago

I am really considering to do this, actually I have been thinking about this a few weeks now.
My ideas was not to create a CPU from scratch, but use 'a few' microcontroller, RAM chips and something like a STM32F4 to create a beast like a console.

Assets would be streamed from a SD card (SD cards can be easily used in SPI mode). Obviously that art would be needed to be downsized a lot. Output would be maybe around 640x480 or lower.

Obviously that would be a huge task itself. Also I am by new means claiming I am a hardware guy, it'll me more like me learning on the journey.

On of my biggest concern with this right now:
I have not idea what a footprint the final game will have. The idea be make the hardware and get Casey's code running on it. As both, hardware and rewrite the whole code would just be too much (IMO).
mmozeiko
Mārtiņš Možeiko
1485 posts
1 project
#2475 Raspberry Pi 2
2 years, 8 months ago

What would be advantage of STM32F4 over RPi? My understanding is that STM32F4 is still small ARM CPU. It's not a full SoC, so no memory and GPU, and it is much slower than RPi. But the code you would write would be very similar to RPi (if not the same), except input/output stuff, no?
JohnL
John Lorre
26 posts
#2476 Raspberry Pi 2
2 years, 8 months ago

There is no logical or even economical reason (RPI would be cheaper in any case).
I'm not even trying to pretend it would be a sensible thing to do :D

It is the same reason why Casey is not using libraries or frameworks: For the fun of it. Learn something about the electronics behind all this.
If you are more interested in the software side, then of course the PI is a much saner choice.

And yes, I agree performance of those boards might also be a huge issue.
mmozeiko
Mārtiņš Možeiko
1485 posts
1 project
#2480 Raspberry Pi 2
2 years, 8 months ago

Ok, that makes sense.
clankill3r
Doeke
28 posts

None

#12818 Raspberry Pi 2
2 months, 1 week ago

Is there any estimation of when HH goes to the PI?
I'm really looking forward to this.

None
msmshazan
Shazan Shums
162 posts

Some day I will make quality software.
Programming FTW.

#12821 Raspberry Pi 2
2 months, 1 week ago

I also have a raspberry pi 3. But have done nothing useful with it. Also looking forward to learning how to make a platform later for the raspberry pi. And will Casey do only CPU rendering or will he use the raspberry Pi's GPU also.

Just being curious on programming....