![gameboy color emulator chip gameboy color emulator chip](https://cdnb.artstation.com/p/assets/images/images/019/939/261/large/cletus-stell-xowqhwc.jpg)
Using I2S as parallel input and output bus You can find the ESP32 pin toggle function. In comparison the plain olde Arduino with 16MHz CPU has a toggle speed of round about 2.66MHz, when changed through port registers. As stated, the max speed with direct pin toggling through registers is about 4MHz, far from the cpu speed of 240MHz. The current way that I use to toggle the pins and also read them is way too slow. I love just pushing a button to upload code. Integration of Arduino into Sublime was always buggy for me.
#Gameboy color emulator chip code#
But it's written better then everything I could have come up with and I've heard of good changes that were made to the Arduino code recently. There are ways to implement features and functions to bypass "crappy" Arduino code. I'm currently using Arduino IDE, I've done a lot with it so far and am a creature of comfort. You would also need to build and program your own cartridge, like I did on my other project: #Game Boy Cartridge plus Programmer - instead of using an USB ready ESP board in a cartridge form factor. From a hardware aspect it is much easier to do an egde connector on a pcb and wire up the ESP, so that's another reason to go with a cartridge. But it would also require two components: an EEPROM cartridge AND an ESP dongle on a port that no one builds plugs for anymore. I do like the approach of using the linkport to talk to an ESP12 and think it is feasible to go that route. The first idea was to use an ESP12 module as an MBC, but with only one core to handle WiFi and inputs at that level of speed would have been impossible (IMHO). I was about to start with an additional Flash or EEPROM and an ATSAMD21 as an MBC, but that would mean programming two firmwares for two chips that I haven't worked with before - plus programming the actual code for the Game Boy side. Right now I only want to concentrate on one chip and focus on replicating results that are equal to the achievements of dhole or Alex of, where dhole managed to emulate not only ROM but also RAM and MBC (memory bank controller) on one chip. There are many possibilities to take something useful out of it.
![gameboy color emulator chip gameboy color emulator chip](https://dhole.github.io/media/gameboy_rw/carts.jpg)
![gameboy color emulator chip gameboy color emulator chip](https://static.emulatorgames.net/images/gameboy-color/gemp-m-3-3.png)
My plan is to achieve a working environment for the ESP32, to handle the requests of the game boy and work with wifi in parallel, so that you can actually use the Game Boy to surf or interact live with the web/wifi.
#Gameboy color emulator chip license#
The ESP32 parts in Arduino are licensed under, my work will be published under the MIT License (it's in the file section).