Generally speaking, writing your own games for retro consoles starts with C code. You’ll need to feed that through a console-specific tool-chain, and there’s certainly going to be some hoops to jump ...
There are some languages that don't need mass appeal to be loved. Elixir, Lua, Zig, Clojure, Julia, and Rust prove that point ...