TIC-80 is also libre, though precompiled "Pro" binaries aren't gratis.
https://github.com/nesbox/TIC-80/wiki#pro-version
Edit: actually, reading https://github.com/morgan3d/quadplay/blob/main/LICENSE.md it looks like it's only partially free (not unlike markdeep, another of the author's projects).