# Donkey Kong Meta-Disassembly: matching Famicom and Famicom Disk System rebuilds

> Annotated 6502 disassembly of Nintendo's Donkey Kong for the Family Computer and the Famicom Disk System that reassembles with cc65 into ROM images checked by CRC against the released versions. Build targets cover the original and global revisions, the e-Reader, Animal Crossing and Wii and 3DS Virtual Console releases. CHR tile data is extracted from the user's own iNES or FDS image, and the code carries C-like control-flow comments.

- Type: Case study
- Targets: Game
- Category: Independent reconstruction cases
- Relationship: Independent reconstruction project
- Sources reviewed: 2026-11-09
- Added to the catalog: 2026-11-10
- Original resource: <https://gitlab.com/segaloco/fc_dk>
- Primary source: <https://gitlab.com/segaloco/fc_dk/-/blob/fc08dba09aa36fefb248a94064564ccfe1835cce/README>
- Catalog page: <https://awesomerea.org/resources/fc-dk-donkey-kong-disassembly-case/>
- Record JSON: <https://awesomerea.org/resources/fc-dk-donkey-kong-disassembly-case/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/fc-dk-donkey-kong-disassembly-case/index.md)

## Requirements & limits

- **Prerequisites:** The cc65 6502 suite (ca65, ld65) on a UNIX-like or Plan 9 system; the fdtc Famicom Disk System compiler is bundled for the FDS build.
- **Prerequisites:** A headered iNES image of the Famicom release or a headered FDS image of the disk release, from which the extraction scripts pull the CHR tile data.
- **Limits:** The iNES build matches 1:1; for the FDS release the bank files match while some filesystem details differ.
- **Limits:** The control-flow commentary may contain inaccuracies; where it disagrees with the code, the code is correct.
- **License:** No licence file in the repository.

## Primary sources

1. <https://gitlab.com/segaloco/fc_dk/-/blob/fc08dba09aa36fefb248a94064564ccfe1835cce/README>
2. <https://gitlab.com/segaloco/fc_dk/-/blob/fc08dba09aa36fefb248a94064564ccfe1835cce/Makefile>
3. <https://gitlab.com/segaloco/fc_dk/-/blob/fc08dba09aa36fefb248a94064564ccfe1835cce/tools/extract.fc.sh>
4. <https://gitlab.com/segaloco/fc_dk/-/tree/fc08dba09aa36fefb248a94064564ccfe1835cce/src>

## More in Games

- [Donkey Kong: an annotated Atari VCS disassembly that rebuilds the cartridge](https://awesomerea.org/resources/donkey-kong-atari-vcs-disassembly-case/index.md) · Case study
- [Doraemon 1: decompiling Nobita to Mittsu no Seireiseki](https://awesomerea.org/resources/doraemon-1-decomp-case/index.md) · Case study
- [Doraemon: a byte-identical Famicom source reconstruction](https://awesomerea.org/resources/doraemon-nes-source-reconstruction-case/index.md) · Case study
- [Doshin the Giant: a GameCube decompilation in progress](https://awesomerea.org/resources/doshin-the-giant-decomp-case/index.md) · Case study
- [doubutsu-no-mori: an early N64 Animal Crossing decompilation](https://awesomerea.org/resources/doubutsu-no-mori-decomp-case/index.md) · Case study
- [Downhill Revived: a matching decompilation and PC port of Downhill Domination](https://awesomerea.org/resources/downhill-revived-case/index.md) · Case study

## About this entry

The description was reviewed against primary sources.
Original editorial content: MIT. Linked projects, papers and assets retain their own rights and licenses.
