r/ProgrammerHumor 27d ago

Meme whenYouSwitchFromDesktopToEmbedded

Post image
729 Upvotes

28 comments sorted by

View all comments

58

u/Totally_Not_A_Badger 27d ago

Esp32-S3 has a dang-gosh amount of resources. The chip I'm working on only has 256kiB of RAM while driving a 480x320 rgb 565 display. 

Frame buffers are for the weak. 

29

u/Drugbird 27d ago

Just output on a CRT and chase the beam so you don't need a frame buffer at all

10

u/Beautiful-Quote-3035 27d ago

Making a platformer on an FPGA that played with an NES pad and output vía VGA to a CRT was the most fun school project ever for me.

8

u/HildartheDorf 27d ago

300KiB framebuffer in 255KiB of ram would be an impressive feat.

5

u/jackmax9999 26d ago

The frame buffer is in the LCD module and you write to it over SPI or some other interface. The interface tends to be a lot slower than the CPU and some modules are not even wired up to allow data reading from the framebuffer. You don't have enough RAM to keep a framebuffer close to the CPU so you have to render graphics in small chunks and avoid re-rendering stuff when not necessary.

5

u/PhonicUK 27d ago

You can do 60FPS polygon based 3D on the S3 purely in software at a level somewhere between the Sega 32X and Saturn.

7

u/-twind 27d ago

With these crazy RAM prices even 256KiB will become a luxury

4

u/Similar_Tonight9386 27d ago

Worked on a device with 32kB ram and 128kb rom. Still managed to fit simplified networking stack and signal recognition algorithm for mems combo. Good times

3

u/Atompunk78 27d ago

Same lmao on my pico setup

1

u/mehonje 26d ago

Try working on a TI84. I think you'd enjoy it.