4. Game Boy

The handheld that conquered the world

The Game Boy launched in 1989 and sold over 118 million units (including the Game Boy Color). It outlasted every technically superior handheld competitor — the Sega Game Gear, the Atari Lynx, the Neo Geo Pocket — because Nintendo understood that battery life, price, and software mattered more than specs. Tetris, Pokemon, Link's Awakening, and Super Mario Land proved them right.

For programmers, the Game Boy is one of the most elegant constrained systems ever built. A Z80-derived CPU, a 160x144 pixel LCD with 4 shades of grey (well, green), tile-based graphics, and 8 KB of RAM. Every byte and every cycle matters. It's the perfect platform for learning how hardware really works, because there's nowhere to hide and no overhead to absorb sloppy code.

If you've read the SMS article, the Game Boy will feel familiar — it uses a similar CPU and a similar tile-based graphics model, adapted for a tiny monochrome LCD.

The System at a Glance

Game Boy Specifications

CPUSharp LR35902 (SM83) @ 4.19 MHz
RAM8 KB work RAM + 8 KB VRAM
Display160x144 pixels, 4 shades (monochrome LCD)
TilesUp to 384 tiles in VRAM, 8x8 pixels, 2 bits/pixel
BackgroundsTwo 256x256 tile maps (32x32 tiles), hardware scroll
WindowSecond background layer, no transparency, fixed position
Sprites40 total, 10 per scanline, 8x8 or 8x16
Sound4 channels: 2 pulse, 1 wave, 1 noise
CartridgeUp to 8 MB ROM with MBC (Memory Bank Controller)
Display rate59.73 Hz

The Sharp LR35902 CPU

The Game Boy's CPU is often called "a Z80" but it's not quite. The Sharp LR35902 (also known as SM83) is a custom chip that sits between the Intel 8080 and the Zilog Z80:

  • It has the Z80's register set: A, F, B, C, D, E, H, L (plus SP and PC)
  • It has some Z80 additions like SWAP (nibble swap) and bit operations (BIT, SET, RES)
  • It lacks the Z80's shadow registers (AF', BC', DE', HL')
  • It lacks the Z80's index registers (IX, IY)
  • It lacks the Z80's block instructions (LDIR, LDDR, CPIR, OTIR)
  • It lacks the Z80's I/O instructions (IN, OUT) — everything is memory-mapped
  • It has unique instructions not found on the Z80: SWAP, STOP, LDH

Not Quite a Z80

If you're coming from the SMS, the biggest losses are the block transfer instructions (LDIR/OTIR) and the shadow registers. Every memory copy is now a manual loop. Every interrupt handler needs to push and pop registers explicitly. The IX/IY index registers are also gone — you rely on HL for all indirect access.

Registers

LR35902 Register Set

AAccumulator (8-bit)Main working register
FFlags (8-bit)Z (zero), N (subtract), H (half-carry), C (carry) — only upper 4 bits used
B, CGeneral purposePair as BC (16-bit)
D, EGeneral purposePair as DE (16-bit)
H, LGeneral purposePair as HL (16-bit) — primary memory pointer
SPStack Pointer (16-bit)Grows downward
PCProgram Counter (16-bit)Address of next instruction

Key Instructions

The instruction set is smaller than the Z80's but covers the essentials:

; Load and store
    LD A, 42         ; load immediate
    LD A, [HL]       ; load from address in HL
    LD [HL], A       ; store to address in HL
    LD HL, $C000     ; load 16-bit immediate
    LD [nn], A       ; store to absolute address
    LDH [n], A       ; store to $FF00+n (high page I/O — unique to GB)
    LDH A, [n]       ; load from $FF00+n

; Arithmetic
    ADD A, B         ; 8-bit add
    SUB B            ; 8-bit subtract
    ADD HL, DE       ; 16-bit add
    INC A / DEC A    ; increment / decrement
    INC HL / DEC HL  ; 16-bit increment / decrement

; Logic and bits
    AND B / OR B / XOR B
    SWAP A           ; swap upper and lower nibbles (unique to GB)
    BIT 3, A         ; test bit 3 of A
    SET 3, A         ; set bit 3
    RES 3, A         ; reset bit 3
    SLA A / SRA A / SRL A  ; shifts
    RL A / RR A      ; rotate through carry

; Branching
    CP n             ; compare A with n
    JR Z, offset     ; relative jump if zero
    JR NZ, offset    ; relative jump if not zero
    JR C, offset     ; relative jump if carry
    JP nn            ; absolute jump
    CALL nn / RET    ; subroutine call / return

; Stack
    PUSH BC / POP BC ; push/pop register pairs

; System
    HALT             ; stop CPU until interrupt
    DI / EI          ; disable / enable interrupts
    RETI             ; return from interrupt and re-enable interrupts

The High Page — LDH

The Game Boy maps all I/O registers into the address range $FF00-$FF7F. The LDH instruction provides a compact, fast way to access them with a single-byte offset:

; These two are equivalent:
    LDH [$44], A     ; 2 bytes, 12 cycles — write to $FF44
    LD [$FF44], A    ; 3 bytes, 16 cycles — same effect

; LDH saves a byte and 4 cycles per access.
; When you're writing to I/O registers dozens of times per frame, it adds up.

Memory Map

Game Boy Memory Map

$FFFF ┌──────────────────────┐
      │ IE register          │ Interrupt Enable
$FF80 ├──────────────────────┤
      │ High RAM (127 B)     │ HRAM — fast, usable during DMA
$FF00 ├──────────────────────┤
      │ I/O Registers        │ LCD, sound, joypad, timer, DMA
$FEA0 ├──────────────────────┤
      │ Unusable (96 B)      │
$FE00 ├──────────────────────┤
      │ OAM (160 B)          │ Sprite attributes (40 sprites x 4 bytes)
$E000 ├──────────────────────┤
      │ Echo RAM             │ Mirror of $C000-$DDFF (don't use)
$C000 ├──────────────────────┤
      │ Work RAM (8 KB)      │ General-purpose RAM
$A000 ├──────────────────────┤
      │ External RAM (8 KB)  │ Cartridge RAM (battery-backed saves)
$8000 ├──────────────────────┤
      │ VRAM (8 KB)          │ Tile data + tile maps
$4000 ├──────────────────────┤
      │ ROM Bank 1-N (16 KB) │ Switchable via MBC
$0000 ├──────────────────────┤
      │ ROM Bank 0 (16 KB)   │ Fixed (always visible)
$0000 └──────────────────────┘

VRAM Layout

The 8 KB of VRAM ($8000-$9FFF) holds both tile data and tile maps:

VRAM Organization

$9FFF ┌──────────────────────┐
      │ Tile Map 1 (1 KB)    │ 32x32 tile indices
$9C00 ├──────────────────────┤
      │ Tile Map 0 (1 KB)    │ 32x32 tile indices
$9800 ├──────────────────────┤
      │ Tile Data (6 KB)     │ Up to 384 tiles, 16 bytes each
      │                      │ Block 0: $8000-$87FF (tiles 0-127)
      │                      │ Block 1: $8800-$8FFF (tiles 128-255)
      │                      │ Block 2: $9000-$97FF (shared, signed index)
$8000 └──────────────────────┘

Memory Bank Controllers (MBC)

Most Game Boy games larger than 32 KB use an MBC chip on the cartridge for bank switching. The MBC intercepts writes to ROM addresses and uses them as commands:

MBC Max ROM Max RAM Features
None 32 KB — No banking (Tetris, Dr. Mario)
MBC1 2 MB 32 KB Basic banking (Super Mario Land)
MBC3 2 MB 32 KB + Real-time clock (Pokemon Gold/Silver)
MBC5 8 MB 128 KB Rumble support, 512 ROM banks (Pokemon Crystal)
; Switch to ROM bank 5 (MBC1/MBC5)
    LD A, 5
    LD [$2000], A    ; write bank number to $2000-$3FFF region
                     ; MBC intercepts this write and switches the bank
                     ; at $4000-$7FFF

The PPU — Pixel Processing Unit

The Game Boy's PPU renders 160x144 pixels in 4 shades — white, light grey, dark grey, and black (rendered as shades of green on the original LCD). It draws three layers, composited per-scanline:

  1. Background (BG) — a 256x256 scrollable tile map (32x32 tiles)
  2. Window — a second tile map, drawn on top of BG, no scroll — used for HUDs and menus
  3. Sprites (OBJ) — 40 individually positioned objects

Tile Format

Tiles are 8x8 pixels with 2 bits per pixel, stored as two interleaved bytes per row — identical to the NES tile format:

Game Boy Tile Format

Row 0:  byte 0 (low bits)   byte 1 (high bits)
        .##..##.  = $66     ..####..  = $3C

Pixel value = (high bit << 1) | low bit 0 = lightest (white) 1 = light grey 2 = dark grey 3 = darkest (black)

Each tile = 16 bytes (2 bytes per row x 8 rows)

; Write a simple tile (solid dark grey) to VRAM tile 0
    LD HL, $8000     ; tile 0 starts at $8000
    LD B, 8          ; 8 rows
.row:
    LD A, $00        ; low bits = all 0
    LD [HL+], A      ; LD [HL+] increments HL after write (GB-specific)
    LD A, $FF        ; high bits = all 1 → pixel value = %10 = dark grey
    LD [HL+], A
    DEC B
    JR NZ, .row

Palettes

The Game Boy doesn't have a color palette — it maps the 4 pixel values (0-3) to 4 shades through three palette registers:

Register Address Purpose
BGP $FF47 Background palette
OBP0 $FF48 Sprite palette 0
OBP1 $FF49 Sprite palette 1

Each palette register is a single byte with four 2-bit shade entries:

; Palette byte: bits 7-6 = color 3, bits 5-4 = color 2,
;               bits 3-2 = color 1, bits 1-0 = color 0
;
; Shades: 0 = white, 1 = light grey, 2 = dark grey, 3 = black

; Normal palette: 0→white, 1→light, 2→dark, 3→black
    LD A, %11100100  ; $E4
    LDH [$47], A    ; set BGP

; Inverted palette: 0→black, 1→dark, 2→light, 3→white
    LD A, %00011011  ; $1B
    LDH [$47], A    ; inverted! Used for flash effects

; All black (fade out):
    LD A, %11111111  ; $FF
    LDH [$47], A    ; everything renders as black

Palette manipulation is how Game Boy games implement fade-in, fade-out, and flash effects — just rotate the shade assignments over several frames.

LCD Registers

Key LCD Registers

$FF40LCDCLCD Control — master enable, window/BG/OBJ on/off, tile data/map select, sprite size
$FF41STATLCD Status — mode flag, coincidence flag, interrupt selects
$FF42SCYBackground scroll Y
$FF43SCXBackground scroll X
$FF44LYCurrent scanline (0-153, read-only)
$FF45LYCLY Compare — triggers STAT interrupt when LY == LYC
$FF46DMAOAM DMA transfer — write page number to start transfer
$FF47BGPBackground palette
$FF48OBP0Sprite palette 0
$FF49OBP1Sprite palette 1
$FF4AWYWindow Y position
$FF4BWXWindow X position (actual position is WX-7)

LCDC — LCD Control Register

$FF40 (LCDC) is the master control for the display. Each bit toggles a feature:

; LCDC bit layout:
;   Bit 7: LCD enable         (0=off, 1=on)
;   Bit 6: Window tile map    (0=$9800, 1=$9C00)
;   Bit 5: Window enable      (0=off, 1=on)
;   Bit 4: BG/Window tile data (0=$8800 signed, 1=$8000 unsigned)
;   Bit 3: BG tile map        (0=$9800, 1=$9C00)
;   Bit 2: Sprite size        (0=8x8, 1=8x16)
;   Bit 1: Sprite enable      (0=off, 1=on)
;   Bit 0: BG/Window enable   (0=off, 1=on)

; Typical game setup: LCD on, BG on, sprites on, 8x8 sprites,
; tile data at $8000, BG map at $9800
    LD A, %10010011  ; $93
    LDH [$40], A

PPU Modes and Timing

The PPU cycles through 4 modes for each scanline:

PPU Mode Timing (per scanline)

Mode 2: OAM Scan       (80 dots)   — PPU searches OAM for sprites on this line
Mode 3: Drawing        (168-291 dots) — PPU reads VRAM and renders pixels
Mode 0: HBlank         (85-208 dots) — scanline done, VRAM accessible
... repeats for 144 scanlines ...
Mode 1: VBlank         (4560 dots)  — 10 scanlines, VRAM fully accessible

Total frame: 70224 dots = ~16.74ms = ~59.73 Hz

VRAM Access Windows

VRAM is only safely accessible during Mode 0 (HBlank) and Mode 1 (VBlank). Writing to VRAM during Mode 3 produces corrupted graphics. OAM is only accessible during Mode 0, Mode 1, or via DMA. This is a much tighter constraint than the NES, where you just had to stay within VBlank.

The Window Layer

The window is a unique Game Boy feature — a second background layer drawn on top of the main background. It has its own tile map but no scroll registers — it's positioned by WX/WY and always draws from its own top-left corner.

; Show a status bar using the window, positioned at the bottom of the screen
    LD A, 128        ; WY = 128 (window starts at scanline 128)
    LDH [$4A], A
    LD A, 7          ; WX = 7 (WX=7 means left edge of screen)
    LDH [$4B], A

    ; Enable window in LCDC (set bit 5)
    LDH A, [$40]
    OR %00100000
    LDH [$40], A

The window is used for HUDs, text boxes, menus, and inventory screens. Since it overlays the background without scrolling, it stays fixed even as the game world scrolls beneath it.

Sprites

The Game Boy supports 40 sprites stored in OAM at $FE00-$FE9F. Each sprite is 4 bytes:

OAM Entry (4 bytes per sprite)

Byte 0Y position + 16 (Y=16 places sprite at top of screen)
Byte 1X position + 8 (X=8 places sprite at left edge)
Byte 2Tile index
Byte 3Attributes: priority (bit 7), Y-flip (bit 6), X-flip (bit 5), palette (bit 4: OBP0 or OBP1)

The +16/+8 offsets mean sprites can be partially off-screen at the top and left edges. A sprite at Y=0 or X=0 is fully hidden.

OAM DMA

Like the NES, writing 160 bytes to OAM one at a time is impractical. The Game Boy has a DMA mechanism: write a page number to $FF46 and it copies 160 bytes from that page to OAM. But there's a catch — during DMA, the CPU can only access High RAM ($FF80-$FFFE). The DMA routine itself must run from HRAM.

; OAM DMA routine — must be copied to HRAM and executed from there
dma_routine:
    LD A, $C0        ; source page ($C000)
    LDH [$46], A     ; start DMA
    LD A, 40         ; wait 160 cycles (40 iterations x 4 cycles)
.wait:
    DEC A
    JR NZ, .wait
    RET

; At startup, copy this routine to HRAM
    LD HL, dma_routine
    LD DE, $FF80
    LD B, dma_routine_end - dma_routine
.copy:
    LD A, [HL+]
    LD [DE], A
    INC DE
    DEC B
    JR NZ, .copy

; Each frame during VBlank, call the HRAM copy:
    CALL $FF80

Sprite Limits

  • 10 sprites per scanline — excess sprites on the same line are not drawn. Games cycle priority to create flickering (same technique as the NES).
  • Sprite priority — on the original Game Boy, sprites with lower X coordinates have higher priority. On CGB, it's by OAM order.
  • No sprite scaling or rotation — just horizontal and vertical flip.
  • Color 0 is transparent — for both sprite palettes.

Sound

The Game Boy's sound hardware has 4 channels, controlled through registers at $FF10-$FF3F:

Sound Channels

Channel 1$FF10-$FF14Pulse wave with sweep + envelope, 4 duty cycles
Channel 2$FF16-$FF19Pulse wave with envelope (no sweep), 4 duty cycles
Channel 3$FF1A-$FF1EWave channel — plays a custom 32-sample, 4-bit waveform
Channel 4$FF20-$FF23Noise — LFSR-based, configurable frequency and step width

Playing a Note

; Play a tone on Channel 1 (pulse with sweep)

    ; Enable sound system
    LD A, $80
    LDH [$26], A     ; NR52: sound master enable (bit 7)
    LD A, $FF
    LDH [$25], A     ; NR51: route all channels to both outputs
    LD A, $77
    LDH [$24], A     ; NR50: master volume max (both L and R)

    ; Channel 1 setup
    LD A, $00
    LDH [$10], A     ; NR10: no sweep
    LD A, %10000000  ; duty cycle 50% (bits 7-6), length unused
    LDH [$11], A     ; NR11
    LD A, %11110000  ; initial volume 15 (bits 7-4), no envelope
    LDH [$12], A     ; NR12
    LD A, $C1        ; frequency low byte (~440 Hz)
    LDH [$13], A     ; NR13
    LD A, %10000111  ; trigger (bit 7), frequency high bits
    LDH [$14], A     ; NR14 — writing bit 7 starts the note

The Wave Channel

Channel 3 is unique — it plays a custom waveform defined by 32 4-bit samples stored in wave RAM at $FF30-$FF3F:

; Load a sawtooth wave into wave RAM
    LD A, $00
    LDH [$1A], A     ; disable channel 3 first (required to write wave RAM)

    LD HL, $FF30
    LD A, $01        ; samples: 0,1
    LD [HL+], A
    LD A, $23        ; samples: 2,3
    LD [HL+], A
    LD A, $45        ; samples: 4,5
    LD [HL+], A
    ; ... continue for all 16 bytes (32 samples, 2 per byte)
    LD A, $EF        ; samples: E,F
    LD [HL+], A

    LD A, $80
    LDH [$1A], A     ; re-enable channel 3

This wave channel gives the Game Boy its distinctive bass sounds — far more flexible than a fixed triangle wave.

Interrupts

The Game Boy has 5 interrupt sources, each with a vector at a fixed address:

Vector Bit in IE/IF Source
$0040 Bit 0 VBlank — start of vertical blanking period
$0048 Bit 1 STAT — LCD status (mode change, LY==LYC)
$0050 Bit 2 Timer — timer overflow
$0058 Bit 3 Serial — serial transfer complete
$0060 Bit 4 Joypad — button press (wake from STOP)

Interrupts are enabled globally with EI and individually through the IE register at $FFFF. The IF register at $FF0F shows pending interrupts.

; Set up VBlank interrupt
    LD A, %00000001  ; enable VBlank interrupt only
    LDH [$FF], A     ; IE register at $FFFF

    EI               ; global interrupt enable

; VBlank handler at $0040
    .org $0040
    JP vblank_handler

vblank_handler:
    PUSH AF
    PUSH BC
    PUSH HL

    ; Update OAM via DMA
    CALL $FF80

    ; Update game state, read input, etc.
    CALL game_update

    POP HL
    POP BC
    POP AF
    RETI             ; return and re-enable interrupts

STAT Interrupt and LYC

The STAT interrupt is the Game Boy's tool for mid-screen effects. Set LYC ($FF45) to a scanline number, enable the LYC coincidence interrupt in STAT ($FF41), and the CPU gets an interrupt when the PPU reaches that line.

; Trigger an interrupt at scanline 80 (to change palette mid-screen)
    LD A, 80
    LDH [$45], A     ; LYC = 80

    LDH A, [$41]
    OR %01000000     ; enable LYC==LY interrupt (bit 6 of STAT)
    LDH [$41], A

    ; In the STAT handler:
stat_handler:
    LDH A, [$44]     ; read LY
    CP 80
    JR NZ, .done
    ; Change palette for lower portion of screen
    LD A, %00011011  ; inverted palette
    LDH [$47], A
.done:
    RETI

Reading the Joypad

The Game Boy joypad has 8 buttons read through a single register at $FF00 (P1/JOYP). You select which group to read by writing a bit, then read the result:

; Read joypad — returns result in A
; Bits: 7-Start 6-Select 5-B 4-A 3-Down 2-Up 1-Left 0-Right
read_joypad:
    ; Read D-pad
    LD A, %00100000  ; bit 5 = select D-pad (bit 4 low)
    LDH [$00], A
    LDH A, [$00]     ; read twice for stability
    LDH A, [$00]
    AND $0F          ; lower 4 bits = D-pad
    SWAP A           ; move to upper nibble
    LD B, A

    ; Read buttons
    LD A, %00010000  ; bit 4 = select buttons (bit 5 low)
    LDH [$00], A
    LDH A, [$00]
    LDH A, [$00]
    AND $0F          ; lower 4 bits = buttons
    OR B             ; combine with D-pad

    CPL              ; complement — buttons are active-low, flip to active-high
    RET

Putting It All Together — Minimal Game Boy ROM

; Game Boy ROM header and startup

    .org $0000
    ; RST vectors and interrupt vectors ($0000-$0067)
    .org $0040       ; VBlank
    RETI
    .org $0048       ; STAT
    RETI

    ; Entry point (after boot ROM)
    .org $0100
    NOP
    JP init

    ; Nintendo logo (required — boot ROM checks this)
    .org $0104
    .db $CE,$ED,$66,$66,$CC,$0D,$00,$0B,$03,$73,$00,$83,$00,$0C,$00,$0D
    .db $00,$08,$11,$1F,$88,$89,$00,$0E,$DC,$CC,$6E,$E6,$DD,$DD,$D9,$99
    .db $BB,$BB,$67,$63,$6E,$0E,$EC,$CC,$DD,$DC,$99,$9F,$BB,$B9,$33,$3E

    ; Header
    .org $0134
    .db "HELLO GB",0,0,0,0,0,0,0,0  ; title (16 bytes)
    .org $0147
    .db $00          ; MBC type: ROM only
    .db $00          ; ROM size: 32 KB
    .db $00          ; RAM size: none
    .org $014D
    .db $00          ; header checksum (fix with tool)

    .org $0150
init:
    DI
    LD SP, $FFFE     ; stack at top of HRAM

    ; Wait for VBlank before disabling LCD
.wait_vblank:
    LDH A, [$44]    ; read LY
    CP 144
    JR C, .wait_vblank

    ; Disable LCD (safe to modify VRAM freely)
    XOR A
    LDH [$40], A    ; LCDC = 0

    ; Clear VRAM
    LD HL, $8000
    LD BC, $2000     ; 8 KB
.clear:
    XOR A
    LD [HL+], A
    DEC BC
    LD A, B
    OR C
    JR NZ, .clear

    ; Set palette
    LD A, %11100100  ; normal: 0=white, 1=light, 2=dark, 3=black
    LDH [$47], A    ; BGP

    ; Load a tile, set up tilemap, etc.
    ; ...

    ; Enable LCD: BG on, LCD on
    LD A, %10000001
    LDH [$40], A    ; LCDC

    ; Enable VBlank interrupt
    LD A, %00000001
    LDH [$FF], A    ; IE
    EI

main_loop:
    HALT             ; wait for VBlank
    NOP              ; (NOP after HALT is a known hardware quirk)
    ; ... game logic ...
    JR main_loop

The HALT Bug

On the original Game Boy (DMG), if interrupts are disabled (DI) when HALT executes, the CPU wakes on the next interrupt but skips the byte after HALT — the instruction following HALT gets its first byte eaten. The conventional workaround is to always place a NOP after HALT.

Game Boy Color Differences

The Game Boy Color (1998) is backward-compatible with the original but adds:

  • CPU speed doubling — switchable between 4.19 MHz and 8.39 MHz
  • Color palettes — 8 background palettes and 8 sprite palettes, each with 4 colors from a 15-bit RGB palette (32,768 colors)
  • Extra VRAM bank — second 8 KB bank for additional tiles
  • Extra work RAM — 32 KB total (switchable banks)
  • Per-tile attributes — palette, priority, flip, and VRAM bank selection per tile (via the second VRAM bank)
  • HDMA — high-speed DMA for bulk VRAM transfers, including HBlank DMA for mid-frame updates

The CGB transforms the system from 4 shades of green into a capable color handheld, while maintaining full backward compatibility with the original library.

Key Takeaways

  • The LR35902 is a Z80 derivative without shadow registers, index registers, or block instructions — simpler but still capable.
  • Everything is memory-mapped. LDH provides fast access to I/O registers in the $FF00 page.
  • The PPU renders 3 layers: background (scrollable), window (fixed overlay), and sprites.
  • VRAM access is restricted to HBlank and VBlank — writing during rendering causes corruption.
  • Tiles are 2 bits per pixel (4 shades). "Color" is controlled by palette registers that map pixel values to shades.
  • OAM DMA copies sprite data efficiently but requires the transfer routine to run from High RAM.
  • The STAT interrupt with LYC comparison enables mid-screen effects — palette changes, scroll splits, and more.
  • The wave channel (channel 3) plays custom 4-bit waveforms — a distinctive feature that gives Game Boy music its character.
  • The Game Boy Color adds true color, extra RAM, and HDMA while staying fully backward-compatible.

Tools and Emulators

Tool Purpose
BGB Highly accurate Game Boy emulator with exceptional debugger, VRAM viewer, and profiler.
SameBoy Accurate emulator with good debugging tools. Open source.
Emulicious Multi-system emulator with excellent Game Boy debugging support.
RGBDS The standard Game Boy assembler/linker toolchain (rgbasm, rgblink, rgbfix).
GBDK-2020 C compiler and libraries for Game Boy development (based on SDCC).
Game Boy Tile Designer Visual editor for designing tiles and sprites.
Pan Docs The definitive Game Boy technical reference — covers every register and quirk.

The Game Boy squeezed a tile engine into a handheld with brilliant economy. Next, we move to the other end of the spectrum — the Commodore Amiga, where a Motorola 68000 and a trio of custom coprocessors delivered capabilities that made the rest of the industry jealous.