Cómo hice un emulador de Game Boy desde cero [en Rust]

🐍 Aprende los fundamentos de programación en minigen.io: https://minigen.io
🎁 50 % de descuento el primer mes con el cupón UNMES50

💻 Código del emulador (Rust): https://github.com/linkfy/gb_emu_1
🎮 Tutorial GRATIS: crea tu emulador de NES en Python (TDD): https://nestutorial.linkfy.xyz/es/

¿Alguna vez te has preguntado cómo se crea un emulador? En este vídeo te enseño paso a paso cómo hice mi propio emulador de Game Boy en Rust: desde leer el cartucho (la ROM) y recrear la CPU, la memoria y los opcodes, hasta convertir los datos en píxeles con la PPU, añadir el sonido, los bancos de memoria y guardar las partidas. Todo con capturas reales de mi emulador y de su evolución commit a commit.

🔗 MÁS ENLACES
• Repositorio del tutorial de NES: https://github.com/linkfy/nes-emulator-tutorial-tdd
• Vídeo mencionado (copiar partidas de Game Boy): https://youtu.be/gPm4LRcct6w
• Pan Docs, la documentación técnica de la Game Boy: https://gbdev.io/pandocs/
• Tabla de opcodes de la CPU (SM83): https://gbdev.io/gb-opcodes/optables/
• Test ROMs de Blargg: https://github.com/retrio/gb-test-roms
• Test dmg-acid2 (Matt Currie): https://github.com/mattcurrie/dmg-acid2

⏱ CAPÍTULOS
0:00 Introducción
0:19 1.1 ¿Qué es un emulador?
2:21 1.2 ¿Qué es una ROM?
4:28 1.3 ¿Cómo cargamos una ROM?
5:21 1.4 CPU, registros y ciclo de instrucciones
7:09 1.5 Opcodes
8:27 1.6 El mapa de memoria
10:34 1.7 ¿Cómo comprobamos que funciona?
11:52 2.1 ¿Qué es la PPU?
12:51 2.2 Tile, background, scanline y framebuffer
13:52 2.3 Sprites, OAM y DMA
14:56 2.4 Input: el teclado como mando
15:33 3.1 Bancos de memoria
17:20 3.2 Sonido
18:24 3.3 Guardar y cargar partidas
19:33 4.1 ¿Qué mejoraría?
22:04 4.2 Ciclo problema → concepto → solución
23:21 4.3 Reflexión final

📚 FUENTES Y CRÉDITOS
• Tabla de progreso de opcodes basada en meganesu/generate-gb-opcodes: https://github.com/meganesu/generate-gb-opcodes
• Pregunta en StackOverflow (2013) «Is the Z80 'Game Boy' CPU 8 or 16 bits?»: https://stackoverflow.com/questions/18687655
• Los juegos que aparecen (Tetris, Pokémon, The Legend of Zelda, Super Mario Land, Super Mario Bros., Dr. Mario, Kirby's Pinball, Pokémon Pinball…) son © de sus respectivos propietarios (Nintendo, Game Freak, HAL Laboratory…). Se muestran en clips breves, ejecutados en mi propio emulador, con fines educativos. Las ROMs no se distribuyen: usa siempre tus propias copias legales.

#emulador #gameboy #rust #programacion Receive SMS online on sms24.me

TubeReader video aggregator is a website that collects and organizes online videos from the YouTube source. Video aggregation is done for different purposes, and TubeReader take different approaches to achieve their purpose.

Our try to collect videos of high quality or interest for visitors to view; the collection may be made by editors or may be based on community votes.

Another method is to base the collection on those videos most viewed, either at the aggregator site or at various popular video hosting sites.

TubeReader site exists to allow users to collect their own sets of videos, for personal use as well as for browsing and viewing by others; TubeReader can develop online communities around video sharing.

Our site allow users to create a personalized video playlist, for personal use as well as for browsing and viewing by others.

@YouTubeReaderBot allows you to subscribe to Youtube channels.

By using @YouTubeReaderBot Bot you agree with YouTube Terms of Service.

Use the @YouTubeReaderBot telegram bot to be the first to be notified when new videos are released on your favorite channels.

Look for new videos or channels and share them with your friends.

You can start using our bot from this video, subscribe now to Cómo hice un emulador de Game Boy desde cero [en Rust]

What is YouTube?

YouTube is a free video sharing website that makes it easy to watch online videos. You can even create and upload your own videos to share with others. Originally created in 2005, YouTube is now one of the most popular sites on the Web, with visitors watching around 6 billion hours of video every month.