# Census: the No-Intro DS sets, and the BIOS and firmware images Run 2026-11-26 with `scripts/census_cartridges.py` (headers read in place from the zips under `$NO_INTRO_DIR`, nothing extracted) and `scripts/census_bios.py`; the full outputs are `tests/detectors/census-nointro-nds-2026-11-26.txt` and `tests/detectors/census-bios-2026-11-26.txt`. Header fields are GBATEK's ("DS Cartridge Header"). No-Intro set dates: the DAT beside rom-farmer's copy says `20241224-113244` (DS) and `20241224-073410` (DSi); the folders hold the files as mirrored. ## The sets | No-Intro folder | Zips | Images read | Notes | | --- | ---: | ---: | --- | | Nintendo DS (Decrypted) | 7,643 | 7,626 | plus 17 `[BIOS]` entries; 6 iQue DS images are `.ids` | | Nintendo DS (Decrypted) (Aftermarket) | 20 | 20 | homebrew (gamecode `####`) | | Nintendo DS (Decrypted) (Private) | 2 | 2 | | | Nintendo DS (Download Play) | 699 | 699 | `.nds` beside a `.bin` and a `.bcn` (beacon); several zips hold up to 8 language images, the first by name was read | | Nintendo DS (DSvision SD cards) | 8 | 0 | SD-card images (`.img`), not cartridges | | Nintendo DSi (Decrypted) | 61 | 52 | plus 9 `[BIOS]` entries | | Nintendo DSi (Digital) (CDN) (Decrypted) | 1,726 | 1,726 | DSiWare as CDN titles (`tmd.N`, title key, content `0000000N`); the largest content file read; 8 of them do not parse as headers | | Nintendo DS (Aftermarket), (Private) | 0 | | empty folders | ## The DS (Decrypted) set by header (7,626 images) - **Unit code**: 7,327 NDS only (00h), 299 NDS+DSi enhanced (02h). - **Chip size** (128 KB << header[14h]): 64 MB 2,324; 32 MB 2,000; 16 MB 1,297; 8 MB 850; 128 MB 805; 256 MB 268; 512 MB 30; small sizes (128 KB-2 MB) 49. - **Gamecode first letter** (GBATEK "NDS Gamecodes"): A 2,164, C 1,573, Y 1,569, B 1,508, T 341, V 271 (DSi-enhanced), N 90, **I 48 (infrared cartridges)**, `#` 29 (homebrew), **U 17 (uncommon extra hardware: NAND, RAM, microSD, TV...)**, D 12, none 2. - **Secure area** (the 8 bytes at 4000h): 7,457 hold the destroyed ID E7FFDEFFh x2 (the BIOS's mark after a successful KEY1 decryption: the image is what RAM held after boot, not what the cartridge sends); 121 are zero-filled (devkit style); 32 have no secure area (ARM9 code at 8000h or above); 16 hold something else. **So a BIOS boot of these images needs the secure area re-encrypted with KEY1 and its "encryObj" ID restored** (cartridge.md), and KEY1's 1048h-byte table lives in the ARM7 BIOS. - **Encryption seed select**: 00h in all 7,626. **ROMCTRL** words for normal commands: 00416657h 3,567, 00416017h 3,543, 00586000h 489, others 28; for KEY1: 001808F8h 4,038, 081808F8h 3,563 (bit 27 set: the slower clock), others 25. - **Region byte**: 00h 7,413, 40h (Korea) 205, 80h (China) 6, 02h 2. - **Checks**: logo CRC CF56h in 7,598 (28 homebrew/odd others); header CRC matches in 7,624 (2 differ); file shorter than the header's "used ROM size" in 3. - **ARM7 load address** in shared/ARM7 WRAM (37F8000h and up): 58; in main RAM: 7,568. ## Saves The header does not say which save chip a cartridge has (EEPROM 0.5/8/64/128 KB, FLASH 256 KB-8 MB, FRAM; GBATEK "DS Cartridge Backup"), and the No-Intro DAT does not either (checked: no save field). A board needs a database or detection (handoff-brief.md, Open decision). The 48 infrared (I) cartridges share their SPI bus between FLASH and the IR chip; the 17 U cartridges include NAND saves (GBATEK "DS Cartridge NAND"). ## The DSi sets - DSi (Decrypted), 52 images: all unit code 03h (DSi only); 40 zero-filled secure areas, 12 destroyed IDs; gamecode letters N 40, D 11, U 1. - DSiWare (CDN), 1,718 parseable: 1,682 unit code 03h, 35 02h, 1 00h; gamecode letters K 1,678, H 40; sizes mostly 2-16 MB. ## BIOS and firmware (SHA-1, never copied or committed) | Image | Size | SHA-1 | Where found | | --- | ---: | --- | --- | | DS ARM9 BIOS | 4,096 | bfaac75f101c135e32e2aaf541de6b1be4c8c62d | No-Intro `[BIOS] Nintendo DS ARM9 Boot ROM (World)`; MAME `nds.zip` `biosnds9.rom`; a frontend pack `bios9.bin`: all three identical | | DS ARM7 BIOS | 16,384 | 24f67bdea115a2c847c8813a262502ee1607b7df | No-Intro `[BIOS] Nintendo DS ARM7 Boot ROM (World)`; MAME `biosnds7.rom`; frontend `bios7.bin`: identical | | DS GBA-mode BIOS | 16,384 | c11531d5261006810cdc954bd4bec0afe3187b35 | No-Intro `[BIOS] Nintendo DS - Game Boy Advance Mode Boot ROM (World)`. It differs from the GBA's own (300c20df...) in **one byte** (compared here: offset 3F0Ch), as GBATEK says ("a single byte in a formerly 00h-filled area has been changed from 00h to 01h", so SWI 0Dh's checksum is BAAE1880h, not BAAE187Fh) | | DS firmware, 2004-10-05 | 262,144 | 9fced23b4ab9bfed0079a2663910c6a4186c0e71 | No-Intro | | DS firmware, 2004-11-26 | 262,144 | 0cacfcbc653a869634658d81b04f76ce8de1ae42 | No-Intro | | DS firmware, 2005-02-28 | 262,144 | a87fdd057e66056a4a2d39e297b6dc5b6bb974dc | No-Intro | | DS firmware, 2005-06-06 | 262,144 | ee2519ba43cb25ebb07a84d4ed68610d903f688f | No-Intro | | DS firmware, 2005-12-07 | 262,144 | b5516538cd84dadb150b9dbb08cb8311c383458a | No-Intro | | DS firmware, 2006-02-20, IS-NITRO-EMULATOR (and USG Controller variant) | 262,144 | 575fedf2...; fee1da69... | No-Intro | | DS Lite firmware, beta 2005-11-30; 2006-01-26 Wi-Fi Kiosk; 2006-02-05; 2006-03-08 | 262,144 | ae7e249b...; 0f3b9d0f...; 995eab46...; 8db52f30... | No-Intro | | DS Lite firmware, Korea 2006-11-09 | 524,288 | 00ce29d150e5f8bf58894cd50b610a57227f6817 | No-Intro | | iQue DS firmware 2005-06-09; iQue DS Lite 2006-04-26 | 524,288 | 7e52779d...; 8cb91ace... | No-Intro | | MAME `nds.zip` firmware.bin, fw0802d6.bin, fw64b19d.bin | 262,144 | cfe07292...; d51be561...; 3af896a0... | MAME only: none matches a No-Intro firmware (each console's firmware holds its own user settings, MAC address and Wi-Fi calibration, GBATEK "DS Firmware Header", so dumps differ) | | a frontend pack's firmware.bin | 262,144 | 5b2acbd499b39fb1af1b36ef7de5eb047d83401c | matches none of the above | | DSi ARM7 BIOS / ARM9 BIOS | 65,536 each | c7c7570bfe51c3c7c5da3b01331b94e7e7cb4f53 / 719b9eef33692406d7170ff526069615759c4dfc | No-Intro `[BIOS] Nintendo DSi ARM7/ARM9 Boot ROM (World)` | | DSi "Panda" dev unit: bios7i, bios9i, firmware, CID | 65,536 / 65,536 / 131,072 / 16 | d2b17224... / db61fa39... / b61d7286... / 47500d14... | No-Intro `[BIOS] Nintendo DSi Panda (Japan) (Intense)` | | a frontend pack's dsi_bios7, dsi_bios9, dsi_firmware, dsi_nand | 65,536 / 65,536 / 131,072 / 251,658,304 | a3aa751e... / 7bf549b8... / 93c0598b... / b48f4419... | the DSi BIOS files differ from No-Intro's (U-item: partial dumps with protected regions blanked are common; not examined) | | DSi NAND images (factory, Kyoushitsu, Nintendo Zone Box, PWC, iQue DSi) | 251,658,240 each | not hashed (size) | No-Intro, with 64-byte no$gba footers listed separately | **What the board needs:** the two DS BIOS images (all copies agree), and a firmware image (any; the player's own, or one the board synthesises: Open decision). The ARM7 BIOS is needed for KEY1 even when booting directly (its key table), unless the cartridge's secure area is left decrypted and the board boots past it (direct boot). The DSi row needs the DSi BIOS pair and a NAND.