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?