Programming the Game Boy - Temple Run
Inkbox
@inkboxsoftwareAbout
Assembly required.
Latest Posts
Video Description
I programmed Temple Run for the Game Boy and Game Boy Color systems in assembly using the Rednex Game Boy Development System. The Game Boy, first released in 1989, runs of a custom SoC known as the DMG CPU, with its core SM83 being based off the Intel 8080 and Zilog Z80. It has 8KB of WRAM, 8KB of VRAM, along with various I/O and a 160x144px LCD display. Through clever use of the hardware, the Game Boy can display 4 different shades of "gray" (filtered green through the LCD). Later in 1998, the Game Boy Color was released and featured a new SoC known as the CGB CPU. It featured a CPU capable of running at up to double the DMG's clock speed (at the expense of using more battery power), increased the system's built in WRAM to 32KB, and VRAM to 16KB (Also moving VRAM directly into the SoC package). Try Temple Run for the Game Boy: https://notin.tokyo/gameboy/temple Try Rock Paper Scissors for the Game Boy: https://notin.tokyo/gameboy/RPS.html Hardware Analysis: https://www.copetti.org/writings/consoles/game-boy/ The Game Boy is programmed using RGBASM, which is based on Z80 assembly syntax. Development resources are found below: Game Boy PAN Docs: https://gbdev.io/pandocs/ RGBDS GitHub: https://github.com/gbdev/rgbds Assembly Programming Guide: https://gbdev.io/gb-asm-tutorial/ RGBASM Instructions: https://rgbds.gbdev.io/docs/v0.4.2/gbz80.7 BGR555 color tool: https://orangeglo.github.io/BGR555/ Rock Paper Scissors in Japan: https://archive.org/details/cultureofjapanas0000unse The Culture of Japan as Seen through Its Leisure. pp. 325–326. Gameboy cartridge by Maxence Béranger from Noun Project Game Boy by IYIKON from Noun Project pattern by Yasser Megahed from Noun Project This video was sponsored by Brilliant
You May Also Like
Game Boy Dev Kit Essentials
AI-recommended products based on this video

Carrying Case for Nintendo Switch,Travel Carry Cover Hard Shell Storage for Leaf Crossing NS Console and Accessories,Slim Protective Portable Travel Pouch Bag with 10 Game Card Slots for Girls Boys

Game Traveler Zelda Nintendo Switch Case - Switch OLED Case for Switch OLED & Switch, Adjustable Viewing Stand & Bonus Game Cases, Deluxe Carry Handle, Licensed Nintendo Switch Game Case

Nintendo Switch Game Deluxe System Case New

Switch Game Case for Nintendo Switch - Portable Cartridge with 12 Game & 12 Micro SD Card Slots, Switch Card Case- Hard Shell, Soft Silicone Lining, Magnetic Closure

KDD Switch Controller Charging Dock Station Compatible with Nintendo Switch & OLED Model Joycons, Switch Controller Charger Dock Station with Upgraded 8 Game Storage for Nintendo Switch Joycon & Games

RTX 2060 Super 8GB Placa De Video Gaming Graphics Card GDDR6 256Bit 8Pin PCI Express 3.0x16 RTX 2060 Super 8gb Game PC

Apple iPad with A16 chip: 11-inch Liquid Retina Display, 128 GB, Wi-Fi 6, 12MP Front/12MP Back Camera, Touch ID, All-Day Battery Life — Silver

Apple iPad with A16 chip: 11-inch Liquid Retina Display, 128 GB, Wi-Fi 6, 12MP Front/12MP Back Camera, Touch ID, All-Day Battery Life — Blue

2 Pack Micro Memory Card 128 GB with Adapter, C10/U3/UHS-I/A1, TransFlash Card, TF Card for Camera, Smartphone, Tablet, Drone (Red 128GB *2)


















