ROM cartridge

term

IT supportprogramming

Kept in this browser · My desk

Stands for: read-only memory cartridge

A plug-in module holding a game's program in read-only memory (ROM), which the console's processor reads directly through the cartridge's contacts; the medium that turned the console into a platform in 1976.

The Fairchild Channel F (1976) was the first console with swappable cartridges. Because the processor reads the ROM in place, a cartridge game needs no loading. Most makers moved to discs in the 1990s because discs were cheaper and larger; Nintendo kept cartridges for the Nintendo 64, and its DS, 3DS and Switch use game cards.

What it is. A read-only memory (ROM) cartridge is a circuit board in a plastic shell whose chips hold a game's program and data, with an edge connector that plugs into the console's slot. The Computer History Museum credits Fairchild's Channel F of 1976 as the first game system with swappable cartridges, a format that stayed the gold standard for over 20 years, and calls the Nintendo 64 the last system of that line to use them; Nintendo's handhelds and the Switch kept solid-state game cards. The program sits in ROM chips whose bits are fixed when they are made: in Sega v. Accolade (1992) the Ninth Circuit described the mask work of a standard ROM chip, such as those in Genesis cartridges, as a physical representation of the program, its zeros and ones represented by open and closed switches.

How it works. The cartridge's edge contacts connect its ROM chips to the console's address and data buses, so the game is part of the processor's memory map the moment the console starts. On the Nintendo Entertainment System (NES), the NESdev Wiki's memory map leaves everything from $4020 to $FFFF to the cartridge: $6000 to $7FFF usually holds cartridge random-access memory (RAM), often battery-backed for saved games, and $8000 to $FFFF holds the program ROM and the mapper's registers; the cartridge even supplies the reset and interrupt vectors at the top of memory. Cartridges could also add hardware: lockout chips, extra memory, coprocessors.

Bank switching. A console's address space is small, so cartridges carried their own logic to page larger games through it. The NESdev Wiki calls a cartridge's configuration its mapper, from memory mapping, and defines bank switching as dynamically changing which part of the cartridge memory appears in the console's address spaces, so that a cartridge can hold more data than those spaces allow; mappers exist mainly to allow games larger than 40 kilobytes (KB). The emulation community numbers them after the iNES emulator (mapper 002 and so on), with NES 2.0 submappers for boards that once shared a number. The Game Boy did the same with memory bank controllers (MBCs) inside the cartridge, because its 16-bit address bus offers only limited space, as the Pan Docs reference puts it.

The header. A cartridge also describes itself. On the Game Boy, Pan Docs lists the title at $0134 to $0143, the cartridge type (which controller it uses) at $0147, the ROM size at $0148, computed as 32 KiB shifted left by the byte's value, from 32 KiB with no banking ($00) to 8 MiB in 512 banks ($08), and a header checksum at $014D that the boot ROM verifies before it will run the game. The Nintendo logo at $0104 to $0133 is checked the same way, which makes the header part of the console's lock (see lockout chip).

Variants. NEC's HuCard (1987) was a cartridge the size of a credit card; Japan's Famicom Disk System put games on 3-inch floppies instead; the Switch game card holds 1 to 32 gigabytes (GB). Most makers except Nintendo moved to discs in the fifth generation, because discs were cheaper and held more.

Cost and control. Chips made cartridges dearer than discs, and the maker that manufactured them controlled publishing: under its licences of the late 1980s Nintendo made licensees' cartridges and limited each to five new NES games a year. The Federal Circuit's opinion in Atari Games v. Nintendo (10 September 1992) records the mechanism: Nintendo took a licensee's games, placed them in cartridges containing its 10NES lockout program, resold them to the licensee, and for two years from the first sale barred it from licensing the game to other home systems. Because the processor reads the ROM in place, a cartridge game needed no loading and no installation.

From chip to file. A cartridge's chips can be read out into a file, the ROM image an emulator loads. The documentation of MAME, the emulator project born as the Multiple Arcade Machine Emulator, insists that such images are copyrighted material, not abandonware, and must be supplied by the user, and gives its own purpose as keeping historical software from disappearing once the hardware it runs on stops working.

Brazil. Around the turn of 1983 to 1984, Polyvox's Atari cartridges cost 18,000 cruzeiros, and in 1984 São Paulo state had more than 250 cartridge rental shops; cassette interfaces let tape games replace cartridges whose chips were bought in dollars. When NES-compatible consoles arrived in 1989, Dynacom's Dynavision 2, shown in April at the 40th Feira de Utilidades Domésticas, took the American NES's 72-pin cartridges, and Gradiente's Phantom System followed in November (Virgens, Universidade Federal de Uberlândia, 2019).

Neighbours. The lockout chip that rode in the cartridge, the emulator that reads its image, and the floppy disk and compact cassette that competed with it as cheaper media.

Also known as: game cartridge, cartridge, cartucho, cartucho de videogame, Game Pak, HuCard, game card

Sources

← Back to R Back to the glossary