From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Platform:Nintendo 64" |
|---|
| claim | "The RSP (SP) control registers are eight 32-bit words at 0xA4040000: DMA RSP-memory address, DMA RDRAM address, DMA read length (RDRAM to DMEM/IMEM), DMA write length (DMEM/IMEM to RDRAM), status, DMA full, DMA busy and semaphore." |
|---|
| scope | | level | "platform" |
|---|
| applies_to | "Platform:Nintendo 64" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "n64_sp_regs" |
|---|
| size | "0x20" |
|---|
| fields | | offset | "0x00" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "mem_addr" |
|---|
| notes | "DMEM/IMEM address (0xA4000000-0xA4001FFF)" |
|---|
|
| offset | "0x04" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "dram_addr" |
|---|
|
| offset | "0x08" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "rd_len" |
|---|
| notes | "write length-1 here: RDRAM -> DMEM/IMEM" |
|---|
|
| offset | "0x0C" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "wr_len" |
|---|
| notes | "DMEM/IMEM -> RDRAM" |
|---|
|
| offset | "0x10" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "status" |
|---|
|
| offset | "0x14" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "dma_full" |
|---|
|
| offset | "0x18" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "dma_busy" |
|---|
|
| offset | "0x1C" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "semaphore" |
|---|
|
|
|---|
| endianness | "big" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "SP_DMA_SPADDR 0xA4040000 ... SP_SEMAPHORE 0xA404001C" |
|---|
| repo | "https://github.com/DragonMinded/libdragon" |
|---|
| commit | "e356bf3f56f7afbf7e5246329562f145965cfdfc" |
|---|
| path | "include/rsp.h" |
|---|
| lines | "179-197" |
|---|
|
| type | "source" |
|---|
| detail | "SP_regs_t field order" |
|---|
| repo | "https://github.com/DragonMinded/libdragon" |
|---|
| commit | "e356bf3f56f7afbf7e5246329562f145965cfdfc" |
|---|
| path | "include/regsinternal.h" |
|---|
| lines | "147-164" |
|---|
|
| type | "source" |
|---|
| detail | "linker script output format elf32-bigmips" |
|---|
| repo | "https://github.com/DragonMinded/libdragon" |
|---|
| commit | "e356bf3f56f7afbf7e5246329562f145965cfdfc" |
|---|
| path | "n64.ld" |
|---|
| lines | "11" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "SP registers" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-17T04:47:10.006Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T01:38:07.152Z" |
|---|
| result | "confirmed" |
|---|
| method | "Fetched libdragon regsinternal.h and include/rsp.h at e356bf3: SP_regs_t has 8 words (RSP_addr .. rsp_semaphore) and rsp.h defines SP_DMA_SPADDR 0xA4040000 .. SP_SEMAPHORE 0xA404001C, so 0x20. (SP_PC is a separate block at 0xA4080000, not part of this one.)" |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T13:26:09.870Z" |
|---|
| summary | "Set byte order: big (platform reasoning, weaker): libdragon n64.ld uses elf32-bigmips." |
|---|
| changed | |
|---|
|
|
|---|