Geometry Vibes 3D Port - R-Pi Pico 1@35 FPS!

Could memset like this be replaced by dma?

I don’t know, but NUM_SLABS is only 40 at most, and all we’re doing is zeroing it out. All the binning is Core0, anyway. I’ve made a test branch and pushed the changes I tried earlier—no dice, unfortunately. I have collision detection disabled on the latest commit, as well. If you want to try it for yourself, change GV_TEST to 1.

1 Like

I was able to smooth things out for Core1 by marking renderAndFlushFrame() as __no_inline_not_in_flash_func. No more spikes on the debug output for Core1.

1 Like

After this and a modest overclock, thanks to Geoff, it’s running smoother than ever. I’m having so much fun with this thing. :slightly_smiling_face: And thank you too, Kuratius. I never would have Googled for that macro if you hadn’t mentioned putting code in memory.

1 Like