mirror of
https://github.com/gbdev/awesome-gbdev.git
synced 2025-01-18 04:38:26 +01:00
15 KiB
15 KiB
Awesome Game Boy Development
A curated list of awesome Game Boy Development resources, tools, docs, related projects and open-source ROMs. Inspired by the awesome list thing.
Here you can find everything to get started and master the development of unofficial software for the original 1989 Game Boy.
Contents
- Community
- Documentation
- Development Software
- Programming Tutorials
- Sources
- ROMs Disassembly
- Related sites, posts and projects
- Contribute
- License
- Special Thanks
Community
- gbdev.gg8.se - This is basically the home of the gbdev scene. The wiki has a lot of articles from previous sites, tutorials and other documents about a lot of topics.
- devrs.com/gb - Jeff Frohwein’s page, this the main reference for everything. Almost everything is archived here: code examples and working programs(ASM and C), complete documentation and various tools.
- #gbdev on EFnet - IRC channel.
Documentation
- Game Boy Programming Manual - Official Game Boy hardware manual by Nintendo. Pretty much everything in the console is covered and explained in this manual. This should be your first and main resource to start understanding what game boy is.
- The Cycle-Accurate Game Boy Docs - A precise documentation by AntonioND to make a cicle-accurate Game Boy emulator.
- Pan Docs - The single most comprehensive technical reference to Game Boy that is available to the public.
- The Game Boy, a hardware autopsy - A video series explaining how exactly a Game Boy works.
- GBSOUND.txt - A document detailing the Game Boy sound engine.
- DMG Schematics - Hardware schematics.
- GB Instructions Game Boy Assembly commands.
- GB ASM Tips - Some tips for coding in Assembly by Jeff Frohwein.
- ASMotor Manual - A reference for rgbds.
- GBDK libraries documentation
- gbdev FAQs - Must read by Jeff Frohwein.
- Game Boy CPU InstructionSet Sheet (GCISheet) - Cheatsheet for the available Instruction Set.
- Game Boy CPU Manual - Assembly language commands, timings and opcodes.
- Assembly Language Programming Course - Machine and assembly language programming concepts that illustrate basic principles and techniques. Application through study of the Z80 chip and Game Boy programming assignments (Center for Research in Arts, Technology, Education, and Learning CRATEL at Withicha State University).
- Building a Game Boy emulator in JavaScript - Step by step tutorial.
- Game Boy Camera RE - Documentation about GB Camera and tools used to reverse engineer it by using Arduino UNO.
- The Game Boy Printer - An in-depth technical document about the printer hardware, the communication protocol and the usual routine that games used for implementing the print feature.
- Game Boy Bootrom - Commented dump of the DMG bootrom.
Cartridges
- AntonioND's docs - Corrected schematics and infos on cartridge header data
- Gekkio's Game Boy cartridge types - An overview on existing cartridge types.
- Gekkio's cartridge analysis - DMG-BEAN-02, MBC1, no MBC
- Game Boy Cartridges Schematics - Schematics for MBC2 and MBC3 types.
- Reiner Ziegler's Game Boy page - Commercial and homemades programmable cartridges and programming systems. Tutorials, wiring and schematics provided.
- MBC1+Ram+Battery cartridge Schematic - First schematics by Jeff Frohwein.
- MBC1 and MBC2 cartridges circuits and explaination on how these MBC actually bank switch and control RAM.
- GB Rom List - Navigable table of every GB game released with details on their cartridges.
- Game Boy cartridge PCB photos
Development Software
Assemblers
- rgbds - Assembler and linker package (a fork currently updated).
- wla-dx - Yet Another GB-Z80/Z80/.. Multi Platform Cross Assembler Package.
- gbasm - A JavaScript based compiler for Gameboy z80 assembly code.
- tniASM - Macro Assembler.
Compilers
- The Game Boy Developer's Kit (GBDK) - A set of tools that enable to develop programs for the Nintendo Game Boy system, either in C. Includes a set of libraries for the most common requirements and generates image files for use with a real Game Boy.
Emulators
- BGB - Powerful Game Boy emulator and debugger. Provides an accurate hardware emulation.
- Gambatte - Open-source, cross-platform and accurate emulator for Game Boy and Game Boy Color.
Tools
- Game Boy Tile Data Generator - HTML5 / JS web application that will convert bitmap images to hexidecimal data appropriate for use in tile based graphical applications, specifically GB.
- rgbds_textmate - Some syntax highlighting rules for coding in Z80 assembly as a Textmate language plugin. Works in Sublime Text 2 and 3. The syntax is particularly designed for RGBDS and Game Boy-specific Z80 instructions.
- Harry Mulder's GB Development - Some sources and home of Game Boy Tile Designer and Game Boy Map Builder tools.
- GBT PLAYER - A music player library and converter kit for Game Boy that can be used with RGBDS.
- ROM Header Utility - An online tool to inspect and modify a ROM's header data, including the logo.
Programming Tutorials
ASM
- ASMSchool - A set of lessons by Duo about coding in Assembly for GB/GBC and disassembling.
- dev'rs ASM section - A lot of working demos and sources.
- Assembly tutorial by David Pello - Good document to actually learn to produce working asm code for gb. Brief explainations of many important topics. Many examples with commented source code (spanish only).
- Assembly tutorial by David Pello The english version of the resource above.
- Beginner's Guide to Reverse Engineering GB Some starting tips on disassembling and reverse engineering.
- Writing a Game Boy game in ASM - Intro to Binary and Hexadecimal.
- Game Boy DMA transfer routines - Understanding and using DMA routines.
C
- 8-Bit Wonderland - Well-written introductory document about how the Game Boy works and how to start developing working code for it.
- Grooves Game Boy Programming - A complete set of lessons about implementing various game mechanics in a Game Boy game.
- How to Write a Simple Side Scrolling Game - Old (but still relevant) tutorial.
- Just another simple tutorial
- GBDK Tutorial by Ryan Carson - Fairly minimal game demo for getting started with GBDK.
- GBDK Sprite - Presents a workflow for getting multiple sprites to display and animate.
- GBDK Color - Extends your knowledge of basic spriting on the Game Boy by adding colors to sprites, backgrounds and the window layer.
- GBDK Joypad - Details the use of the joypad with GBDK.
- Game Boy home of Flavor - Some full games and sources.
Sources
ASM
C
ROMs Disassembly
Related sites, posts and projects
- fpgaboy - Implementation Nintendo's Game Boy console on an FPGA.
- php-terminal-Game Boy-emulator - A PHP Terminal Game Boy Emulator.
- JavaScript Game Boy Color Emulator - A Game Boy Color emulator that utilizes HTML5 canvas and JavaScript audio APIs to provide a full emulation of the console.
- weplay - Collaborative Game Boy emulation powered 100% by JavaScript.
- Piglet - A LUA-driven AI that plays classic Game Boy color games using experimentation. In active development.
- The Game Boy Project - A work by 6 students of Fachhochschule Karlsruhe University. The document provides a study on the hardware and detailed constructional information for the realisation of three 8-bit bidirectional parallel ports.
- gbdk-n - This project aims to update the gbdk libraries to be compatible with new versions of SDCC and provide helpers for building roms.
- Wiz by Andrew G. Crowell - A high-level assembly language for writing homebrew on retro console platforms (Game Boy, NES, Atari 2600, and more).
- Mooneye-gb - Work-In-Progress emulator made in Rust. The main goals of this project are accuracy and documentation. Existing emulators are very accurate but are not documented very clearly, so they are not that good references for emulator developers. This project is meant to document as clearly as possible why certain behaviour is emulated in a certain way. This also means writing a lot of test ROMs to figure out corner cases and precise behaviour on real hardware.
- Gatesboy - Non-gaming purposes applications development.
- RealBoy blog Articles about the GB hardware and an interesting analysis of the start up phase (bootstrap).
- pdroms.de Game Boy releases.
- Game Boy Demospotting - A collection of demos.
- Nintendo's fake logos - Every cartridge has to show the authentic logo to be considered valid and be runned, but obviously some companies managed to exploit the check system.
- Booting the Game Boy with a custom logo - The trick used to bypass the Nintendo logo check.
- GBDK Developers - Active blog about everything related to the scene. Including features, insights and interviews.
Contribute
Thank you! Take a look at Contribution Guidelines.
License
Licensed under GPLv3. See LICENSE for more information.
Special Thanks
Jeff Frohwein, Pascal Felber, KOOPa, Pan of Anthrox, GABY, Marat Fayzullin, Paul Robson, Martin Korth, BOWSER, neviksti, Martin “nocash" Korth, Nitro2k01, Duo, Chris Antonellis, Michael Hope, Beware, Jonathan “Lord Nightmare” Gevaryahu, Marat Fayzullin, Paul Robson, Carsten Sorense, Sindre Aamås, Otaku No Zoku, GeeBee.