Hah. If you're keen bean on this sort of thing, check out the pico-8 [1] and make games in it! I'm not affiliated in any way, but I highly recommend the workflow and the experience.
highly recommend the free tic-80 for a comparable (and slightly more capable) platform tooo
I can also recommand WASM-4 (https://wasm4.org/), that has even more constraints (screen resolution, color count, …) and that you can program with your language of choice, as long as it can compile to WASM (eg. C, C++, Rust, probably Nim…).
What I don't like about these fantasy consoles compared to real ones is that they don't put any limits on computational power.