Lurker News

Comments (50) 19 threads

Earlier comments
AtlasBarfed#
"Or, a Gameboy emulator could load a Gameboy’s CPU and peripherals into the FPGA fabric to “become” a Gameboy rather than emulating it in software."

Basically the holy grail of emulation... Not-emulation.

SlowRobotAhead1 reply#
> STM32L0 onboard runs embedded Rust firmware

First time I’ve seen a real project using this.
How far is embedded rust away from “prime time” you think?
Also, the STM32 is a system supervisor, did it really need an RTOS?

craigjb#
Yeah! Embedded Rust on STM32* right now is pretty good! A lot of consolidation has happened in the device crates and HAL crates recently, so I'm adjusting a bit. But, it's looking good.

I'm actually working on a post about restarting my firmware using the latest and greatest (I started working on this firmware over a year ago).
I used the RFTM real-time OS (RTOS) because it's super light-weight and handy for checking at compile time that my interrupt handlers don't cause conflicts. It's really a nice framework for any event-based firmware (a big chunk).

nemasu#
This is amazing, I look forward to more posts! I'm trying to get into more hardware projects, stuff like this is very inspiring. Thanks!
smaddox1 reply#
Very cool. It would be incredible to see what some professional game devs could do with FPGA acceleration.
vvanders2 replies#
Not really a whole lot. FPGAs work best where you have precise timing requirements or really wide signals.

Most game engines are about throughput and I don't think you'd see a lot of use for them, heck we had a hard enough time using the PS3 back when I was in the industry and that wasn't nearly as wide as a FPGA can be.

cobalt#
a lot of old games rely on clock timing to do game timing. Modern generations less so, but still people rely on fixed clocks
craigjb#
Yeah, I was going to mention the PS3 too. It was the most unique hardware of the generation and definitely took the longest for devs to adjust to and learn to leverage fully.

Load more comments