Game Boy™ Cartridge Header

Disclaimer : Most of the information on this page can be found at gbdev.gg8.se.

The cartridge header area is located at $0100-$014F in each cartridge.

 CE ED 66 66 CC 0D 00 0B 03 73 00 83 00 0C 00 0D
 00 08 11 1F 88 89 00 0E DC CC 6E E6 DD DD D9 99
 BB BB 67 63 6E 0E EC CC DD DC 99 9F BB B9 33 3E

CGB Flag

Address $0143 specifies whether the game supports CGB functions

Hex code Description

$80

Game supports CGB functions, but works on all gameboys also

$C0

Game works on CGB only

SGB Flag

Address $0146 Specifies whether the game supports SGB functions.

Hex code Description

$00

No SGB functions

$03

Game supports SGB functions

Cartridge Type

Address $0147 Specifies which Memory Bank Controller (if any) is used in the cartridge, and if further external hardware exists in the cartridge.

Hex code Description Hex code Description

$00

ROM ONLY

$01

MBC1

$02

MBC1+RAM

$03

MBC1+RAM+BATTERY

$05

MBC2

$06

MBC2+BATTERY

$08

ROM+RAM

$09

ROM+RAM+BATTERY

$0B

MMM01

$0C

MMM01+RAM

$0D

MMM01+RAM+BATTERY

$0F

MBC3+TIMER+BATTERY

$10

MBC3+TIMER+RAM+BATTERY

$11

MBC3

$12

MBC3+RAM

$13

MBC3+RAM+BATTERY

$15

MBC4

$16

MBC4+RAM

$17

MBC4+RAM+BATTERY

$19

MBC5

$1A

MBC5+RAM

$1B

MBC5+RAM+BATTERY

$1C

MBC5+RUMBLE

$1D

MBC5+RUMBLE+RAM

$1E

MBC5+RUMBLE+RAM+BATTERY

$FC

POCKET CAMERA

$FD

BANDAI TAMA5

$FE

HuC3

ROM Size

Address $0148 specifies the ROM Size of the cartridge.

Hex code Description Hex code Description

$00

32 KB

$01

64 KB

$02

128 KB

$03

256 KB

$04

512 KB

$05

1 MB

$06

2 MB

$07

4 MB

$08

8 MB

$52

1152 KB

$53

1280 KB

$54

1536 KB

RAM Size

Address $0149 specifies the size of the external RAM in the cartridge (if any).

Hex code Description

$00

none

$01

2 KB

$02

8 KB

$03

32 KB

$04

128 KB

$05

64 KB

Destination Code

Address $014A specifies if this version of the game is supposed to be sold in Japan, or anywhere else. Only two values are defined.

Hex code Description

$00

Japanese

$01

Non-Japanese