From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Platform:Nintendo 64" |
|---|
| claim | "Nintendo's IPL3 (and libdragon's compatibility IPL3) store the boot flags in low RDRAM at 0x80000300: TV type, ROM type, ROM base address, reset type, (0x310 CIC id, unverified), IPL2 version and RDRAM size; games read 0x80000318 to size their heap." |
|---|
| scope | | level | "platform" |
|---|
| applies_to | "Platform:Nintendo 64" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "n64_lowmem_boot" |
|---|
| size | "0x20" |
|---|
| fields | | offset | "0x00" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "tv_type" |
|---|
| notes | "0 PAL, 1 NTSC, 2 MPAL; libultra osTvType (name unverified)" |
|---|
|
| offset | "0x04" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "rom_type" |
|---|
| notes | "0 cartridge, 1 64DD" |
|---|
|
| offset | "0x08" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "rom_base" |
|---|
| notes | "0xB0000000 cartridge, 0xA6000000 64DD" |
|---|
|
| offset | "0x0C" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "reset_type" |
|---|
| notes | "0 cold, 1 warm" |
|---|
|
| offset | "0x10" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "cic_id" |
|---|
| notes | "unverified: not written by libdragon's IPL3" |
|---|
|
| offset | "0x14" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "version" |
|---|
| notes | "IPL2 version from s7" |
|---|
|
| offset | "0x18" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "mem_size" |
|---|
| notes | "RDRAM bytes; libultra osMemSize (name unverified)" |
|---|
|
| offset | "0x1C" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "app_nmi_buffer_start" |
|---|
| notes | "unverified: start of a 64-byte buffer preserved across reset" |
|---|
|
|
|---|
| endianness | "big" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "COMPAT build: 0x80000300 = tvType, 0x80000304 = romType, 0x80000308 = romType ? 0xA6000000 : 0xB0000000, 0x8000030C = resetType, 0x80000314 = version, 0x80000318 = memsize" |
|---|
| repo | "https://github.com/DragonMinded/libdragon" |
|---|
| commit | "e356bf3f56f7afbf7e5246329562f145965cfdfc" |
|---|
| path | "boot/ipl3.c" |
|---|
| lines | "362-372" |
|---|
|
| type | "source" |
|---|
| detail | "compat mode: 'This is the historical behavior of official IPL3s'; boot flags at 0x80000300 TV type, 0x8000030C reset type, 0x80000318 memory size" |
|---|
| repo | "https://github.com/DragonMinded/libdragon" |
|---|
| commit | "e356bf3f56f7afbf7e5246329562f145965cfdfc" |
|---|
| path | "boot/README.md" |
|---|
| lines | "150-160" |
|---|
|
| type | "source" |
|---|
| detail | "linker script output format elf32-bigmips" |
|---|
| repo | "https://github.com/DragonMinded/libdragon" |
|---|
| commit | "e356bf3f56f7afbf7e5246329562f145965cfdfc" |
|---|
| path | "n64.ld" |
|---|
| lines | "11" |
|---|
|
|
|---|
| confidence | "medium" |
|---|
| related | |
|---|
| key | "Low-memory boot flags" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-17T04:47:11.678Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-18T20:00:33.267Z" |
|---|
| result | "partial" |
|---|
| method | "Read boot/ipl3.c lines 362-372 at libdragon e356bf3f: COMPAT build writes 0x80000300 tvType, 304 romType, 308 (romType ? 0xA6000000 : 0xB0000000), 30C resetType, 314 version, 318 memsize, then writeback-invalidates 0x20 bytes. Offsets, values and size 0x20 match. Fields 0x10 (cic_id) and 0x1C are not written by this file, so their entries stay unverified. Also note the writes are skipped on bbplayer." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T13:26:10.037Z" |
|---|
| summary | "Set byte order: big (platform reasoning, weaker): the IPL3 words live in RDRAM read by a big-endian MIPS CPU; libdragon n64.ld uses elf32-bigmips." |
|---|
| changed | |
|---|
|
|
|---|