The Nintendo 64 hardware brought incredible processing power into players homes with its 64-bit architecture and state of the art graphics.
In order to pull this off Nintendo worked with SGI and a number of manufacturers to develop a PCB that would not only deliver power but would also be affordable to the average consumer.
The custom chips inside the N64 all have the suffix NUS which stands for Nintendo Ultra Sixtyfour.
CPU (CPU-NUS A) (9726XK053)
CPU address spaces and DMA caches
The CPU uses virtual addresses. In the kernel mode normally used by N64 applications, two regions map directly to physical memory, while other regions can be mapped through the translation lookaside buffer (TLB) 3. The common regions have different cache behaviour:
| Region | Virtual range | Mapping and cache behaviour |
|---|---|---|
| KUSEG | 0x00000000-0x7FFFFFFF |
TLB mapped |
| KSEG0 | 0x80000000-0x9FFFFFFF |
Direct mapped and cached |
| KSEG1 | 0xA0000000-0xBFFFFFFF |
Direct mapped and uncached |
| KSSEG | 0xC0000000-0xDFFFFFFF |
TLB mapped |
| KSEG3 | 0xE0000000-0xFFFFFFFF |
TLB mapped |
For example, 0x80000000 and 0xA0000000 both refer to physical address zero, but only the first uses the CPU cache. This is why a debugger’s CPU address is not necessarily a ROM offset or a unique physical location 3.
DMA adds a second concern. The CPU’s data cache can hold bytes that an RSP task or DMA engine cannot yet see. Software must write back cached data before a device reads it, and invalidate the destination cache lines before a device writes new data into memory. Nintendo’s manual also warns about cache-line alignment when DMA buffers share a line with unrelated data 4.
RCP-NUS (Reality Co-processor) (9727EK078)
The Nintendo 64 has a separate Reality Co-Processor (RCP) for graphics work. The CPU still prepares display lists and schedules graphics tasks; the RCP handles much of the geometry and pixel processing 5.
The RCP chip was developed by a partnership between SGI Inc and Nintendo and the retail version was physically manufactured by NEC 1.
The RCP is split into two distinct parts: the Reality Signal Processor (RSP) for geometry transformations and the Reality Display Processor (RDP) for pixel operations. You can see the de-capped chip on the left, showing the main parts such as the RDP and RSP.
The Reality Display Processor (RDP) is used to render the polygons into 2D pixels that it stores in the FrameBuffer ready to be displayed on the screen.
The N64 Reality Signal Processor (RSP) is the part of the Reality Co-Processor (RCP) that deals with data transform. It is a MIPS-based cpu like the main R4300 cpu but it also contains additional 8-bit vector opcodes.
Comparing the N64 and PlayStation
Purple Arcade compares why games on the PlayStation and Nintendo 64 looked different. It is a useful visual comparison of the consequences of their hardware designs.
PIF(P)-NUS (PIF)
The Peripheral Interface Bus (PIF) handles all the input from external peripherals such as the game controllers. It has a small Initial Program Loader which is about 2kb of code.
It also was used for security to region-lock and prevent piracy, it does this by waiting for the security chip in the cartridge before it loads the next IPL from the cartridge 1.
It was designed by Nintendo but manufactured by Sharp.
Nintendo RDRAM18-NUS (9727LU641)
The RDRAM came as a standard 4MB and was manufactured by NEC, you could get an additional 4MB if you used the Expansion Pak 1.
MX8330MC (Main Clock)
The MX8330MC is a RAMBUS clock generator developed by Macronix, hence the MX in the name.
Audio/Video Hardware
AMP-NUS (Audio Amp)
The Audio Amp used for any audio playback and fun actions as a regular amp.
9480F
16-bit stereo audio DAC.
DENC-NUS (Dac Encoder)
The Dac Encoder is used for processing video
Cartridge hardware
Mask ROMS
The Mask ROMS were manufactured by Macronix and contained all the game data in a single chip 1.
References
-
EEVblog #491 - Nintendo 64 Game Console Teardown - Page 1 ↩ ↩2 ↩3 ↩4 ↩5
-
Nintendo 64 Programming Manual - CPU Addressing, kernel address regions and direct mappings. ↩ ↩2
-
Nintendo 64 Programming Manual - Data Cache, cache writeback, invalidation, and DMA alignment. ↩
-
Nintendo SDK - OSTask Structure, CPU task setup and graphics command lists. ↩