I'm trying to build my own handheld games console similar to a gameboy.

Currently for the POC im using the Arduino Uno, seperate SD Card Reader Module and 2.4 inch TFT Display. I want to put the game in a exe or hex file in a sd card and read it from the sd card reader module to the arduino. My main problem and curiosity right now is that how do I make a game which will most likely be in C or C++ and run it/test it without having the arduino directly connected to my laptop. I know there is something called emulators which can simulate hardware/hardware libraries but then if I use that then how do I upload the software code to my hardware device in this case being the Arduino?

2 Replies 2

Microcontroller testing is always most appropriately done on the actual hardware. Even if simulators/emulators are available, they are clunky and don't give you an adequate result, since they won't cover all the dirty details related to timing, hardware register access etc. Furthermore, you can get much more accurate benchmarking using the actual hardware and an oscilloscope than any simulator tool can give.

So the best advice is to develop everything with a cross compiler tool chain and an actual microcontroller attached to the PC. Testing should involve the hardware itself as well as the software.

Interesting, I was just curious because I was thinking of how they actually develop/test the software in a company like Nintendo.

Your Reply

By clicking “Post Your Reply”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.