Imagen

Galagino para ESP32 - Emulador de Arcades: Galaga, Pac-Man, Donkey Kong, Frogger, Digdug y 1942

Avatar de Usuario
josemrm
Mensajes: 560
Registrado: 09 Feb 2021 01:05
Ubicación: cerca de Bilbao

Galagino para ESP32 - Emulador de Arcades: Galaga, Pac-Man, Donkey Kong, Frogger, Digdug y 1942

Mensaje por josemrm »

https://github.com/harbaum/galagino

Resumen: varias maquinas arcade retro retro proximamente en tu ESP32

Imagen

Imagen Imagen Imagen
Imagen Imagen Imagen

------------- texto original sacado de la web (en inglés)

Pac-Man, Galaga and Donkey Kong are three of the most iconic arcade machines of all times and are listed on places #1 to #3 on the Killer List of Video Games.

Especially Pac-Man and Galaga have been remade and emulated many times. So far the cheapest and smallest system able to do a faithful emulation of the original arcade machines was the raspberry pi. But even the much cheaper ESP32 should be able to easily emulate a machine from the early ’80s, shouldn't it?

Well, things are not that easy. The Galaga arcade was driven by three Z80 CPUs, each running at 3Mhz. Additionally the arcade machine included two more CPUs, one for button and coin handling and one for audio support. And finally the hardware itself had dedicated support for simple wavetable audio, tilemap graphics and up to 64 sprites. The video resultion was 224 by 288 pixels.

The ESP32 on the other hand comes with two cores running at 240MHz. But it lacks dedicated video hardware. Emulating the various CPUs as well as the handling of audio and graphics turned out to be challenging for the ESP32.

Cheap TFT screens with a resolution of 320 by 240 pixels are avaialable in various sizes from 2.0 inch to 3.2 inch allowing for a very small and cheap galagino setup.

These small displays usually allow for SPI clock rates of up to 40MHz allowing for a max screen refresh rate of ~30Hz. This is exactly half the refresh rate of the original arcade machine. 30Hz is sufficient for a very fluid gameplay. However, with displays coping with 80MHz SPI clock, Galagino will run at full 60Hz refresh.
© josemrm -m3s3x
-coam1 -j4tar1 -cocbm1 -4mstr4d -sp3zy -b3b3c3 -codrg1 -0r1c IBM PowerMac
Pegasos2 MorphOS, Amithlon, PiStorm
Atlas, DE10-lite, ZXUnGo+ by Spark2k06
Odroid BeOS QNX Plan9 CP/M,
Responder

Volver a “ESP32 TTGO VGA32”