Porting to the "Cheap yellow display" (ESP32-2432S028R) #18
Replies: 11 comments 18 replies
-
The current Galagino also includes the Z80 emulation with an incompatible license. I tried to reach out to Marat but got no reply. So currently the ROMs aren't the only part preventing redistribution in binary form. Secondly, the ROMs aren't just included 1:1. Instead the video and audio ROMs are preprocessed by those python scripts. This processing would have to be moved to the ESP32 as well. This in turn would mean that ROMs are loaded into ram and ram is pretty limited on the esp32. And yes, there are esp32 with huge external rams (those wrover boards) but the external ram is too slow to run Galagino. It might be possible to do all this. But I am not sure it's worth the hassle. The current setup works fine and it's just a matter of running a few python scripts to get everything up and running. |
Beta Was this translation helpful? Give feedback.
-
I got it working on the Cheap Yellow display today. I decided to use a nunchuck as the input option as they are so cheap and can easily be used with the JST to header cable that comes with the display. Seems to work well Changes made:
If your interested in a PR, I'm more than happy to raise one, but I would like to do some more testing first. Do you have a style guide or code formater you are using @harbaum ? There actually isn't that much code changes in this, but my auto formater made a tonne of changes to it. I can re-apply the changes again without the formater if needed. |
Beta Was this translation helpful? Give feedback.
-
I don't see a speaker in your photos. Is audio working? |
Beta Was this translation helpful? Give feedback.
-
The nunchuck is connected via i2c, right? It could actually be used for a second player on the cabinet. I also considered using some Bluetooth or WLAN control method. But I'd expect this to consume significant CPU cycles now and then, and I am afraid this would interfere with the fluid gameplay. |
Beta Was this translation helpful? Give feedback.
-
My CYD arrived and the display was messed up (rotated by 90 deg, "running" image and wrong colors). Turned out it needed a slightly different setup of the Memory Access Control register. There's now a config option to set custom values for that register. It seems there's a reason these displays are so cheap. They have a very low contrast. The digitizer/touchsceen overlay may contribute to this. But the display contrast is very low and black is a medium grey and the colors aren't very vibrant. The slightly more expensive displays advertised as "IPS" look way better. Much brighter, way more contrast and more saturated colors. I still do have some bare IPS displays. I think i'll try to replace the one on my CYD. |
Beta Was this translation helpful? Give feedback.
-
The CYD is on the left. In real life the difference looks worse as the camera seems to adopt to the different brightness. In real life the CYD black looks grey. |
Beta Was this translation helpful? Give feedback.
-
Hi
I had this issue. Fix and lots of good support on this Discord channel https://discord.com/channels/630078152038809611/1109228361441620028/1151315893368930415
Basically drop ESP32 board library to 2.09 and it worked (for me)
What version are you using?
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Ok guys, I hope, you like my changes. I love it, as there is no hardwarebutton needed anymore! Cheers |
Beta Was this translation helpful? Give feedback.
-
https://www.printables.com/de/model/765208-galagino-arcade-case-4mm-plywood-for-cyd-and-ninte |
Beta Was this translation helpful? Give feedback.
-
I have appended my pull request to autodetection of type of Nintendo-controller and added some functionality to classsic controller (use DPAD, left joystick or both) |
Beta Was this translation helpful? Give feedback.
-
Hello, awesome project, I just found it today!
I've been using similar hardware at the moment that you might find interesting as a good starting point or building block for this project.
It's the "ESP32-2432S028R", but since there is a bunch of similarly looking and named displays, I decided it might be a nice idea to give it a rebranding and try build a bit of a community around it, so I am renaming it the Cheap Yellow Display
It's an ESP32 board with a built in 320x240 ILI9341 and only costs about $15 delivered on Aliexpress. It also even has a SC8002B included too (although no speaker, just a JST connector for one). So really similar hardware to what the current project uses.
The only downside is the GPIO. I haven't tested it fully yet but from looking at
It should also be possible to use an I2C expander like the PCF8575, it will require some code changes but I think it wouldn't be too big of a deal.
Over the next few weeks, I'm going to try get this project up and running on the Cheap yellow display, once I've had a chance to try out some of the different input methods
Possibly a different discussion topic, but I also see in the docs that it would be possible to extract the roms on the ESP32, would there be much work involved in doing something like this? I'm not sure if you've seen it before but the ESP web tools are a pretty cool way of providing a compiled binary of a project that end users can just flash directly from their browser. But the current structure of this project involving the roms at compile time, means that any binaries provided would include the roms, which is probably a problem. A solution where the roms were loaded from SD card or something could provide a path to allowing people to webflash the project.
Beta Was this translation helpful? Give feedback.
All reactions