It was time to move all platform code to its own file, and have a wrapper for all the Playdate SDK calls.
Since the renderer just draws to a buffer, it was easy to use SDL to render it on PC.
This is far from a complete game prototype port, but it's enough for me to keep future code organized.