Programming the Game Boy - Temple Run @InkboxSoftware
Programming the Game Boy - Temple Run  @InkboxSoftware
Uploaded April 2024 | Updated December 2026, 3 hours ago
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: 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: gbdev.io/pandocs
RGBDS GitHub: github.com/gbdev/rgbds
Assembly Programming Guide: gbdev.io/gb-asm-tutorial
RGBASM Instructions: rgbds.gbdev.io/docs/v0.4.2/gbz80.7
BGR555 color tool: orangeglo.github.io/BGR555

Rock Paper Scissors in Japan: 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
Programming the Game Boy - Temple Run8-Bit Minecraft Pt. 2: Theres A Reason This Doesnt ExistHacking Super Mario So It’s All One Long LevelCreating an Operating System for the NESProgramming the NES - Everything you need to knowThe Bizarre Origins of Pokémon Yellow for the NESTwitter, but you have 140 Characters of JavaScriptWhy is it called Windows?Creating an App with the worlds most detailed SVG mapModelling ProfessionallyProgramming in Assembly without an Operating SystemTurning Fruit Ninja Into a REAL 8-Bit NES Game
Inkbox |

Programming the Game Boy - Temple Run

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER