My initial question assumes it is possible to emulate the original GameBoy system using an Arduino board.

Additional information in non-technical terms: I am looking to create an Arduino based device that accepts cartridges as input devices (in some cases they will also function as output devices) I am interested primarily in the Hexadecimal/pixel based "logic" which gameboy games uses to display game data.

What is the simplest way to emulate the original gameboy's hexadecimal based pixel logic to fetch, decode, and execute data using Arduino?

Before flagging this question, please comment so that I may clarify as this is a complex question to ask and I am willing to re word it as necessary.

  • never assume anything
    – jsotola
    Sep 24 '21 at 23:30
  • 1
    hexadecimal based pixel logic makes no sense ... it is all binary data
    – jsotola
    Sep 24 '21 at 23:33
  • 2
    On an Arduino? No chance. On something more powerful? Sure. I've seen Z80 (and other) emulation running on an ESP32 (see FabGL), and the Sharp LR35902 the gameboy uses is very similar to the Z80.
    – Majenko
    Sep 24 '21 at 23:49
  • 2
    There are multiple open-source emulators. Do your research, and read their documentation and code. You will quickly find that an 8-bit AVR cannot emulate a GB in real-time. (Note: Many years ago I wrote a GB emulator for a 68000 CPU (16/32 bit system) with 16 MHz. It runs common games with 1/4 to 1/10 of their original speed, and had no sound emulation.) Sep 27 '21 at 9:12
  • 4
    @PeopleCallMeAdam hexadecimal notation is simply for human readability of binary data ... it is not a compressed version of binary data ... there is no hex based addressing ... it is all binary addressing at machine level ... when the processor retrieves a value of 0x48F4, it is actually retrieving 0100100011110100 ... it knows nothing about 0x48F4
    – jsotola
    Sep 28 '21 at 2:44

(Assembling an answer from the comments)

The consensus is that there is no "simple way to emulate the original gameboy cpu using Arduino". That a more powerful platform is required.

Multiple commenters expressed difficulty with the novel concept of "hexadecimal/pixel based logic". It is suggested that this concept may be without merit.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.