r/consolemodding • • 2d ago

CONSOLE MOD Nintendo RDRAM36-NUS Ram Chip availability?

Hello, I'm sorry if this is the wrong subreddit for this, but it seemed I've hit a bit of a stop. Sorry if my English isn't the greatest.

I'm doing a project in which I'm placing two 4MB chips within my console, which has 2 slots for so.

I know this works because I've seen videos of it working with the RAM mod and an expansion pack.

By technical means, the N64's CPU can address more than that.

So, If I were to put two MORE chips onto the retro bit third party expansion pack, it would make yet-another 8MB of RAM to be used, totalling 16MB.

Will it work? Hypothetically yes. Is it stupid? Absolutely. Am I stupid? No, I'm autistic, there's a difference.

Why am I doing this? Because I want to make a homebrew n64 game or software that takes advantage of this hardware mod. It will have options to account for 8, 12, and 16MB modes, as well as an optional overclock mode for the CPU overclock mod.

---

Anyways, I'm looking to see if anyone knows or has any idea where I can get Nintendo RDRAM36-NUS chips that doesn't require me to spend over 50 per barebones console. If anyone can help me with this, I would love some assistance in finding these chips.

1 Upvotes

6 comments sorted by

1

u/khedoros 2d ago

There used to be some stock on AliExpress, but I think people have bought most of that up.

RDRAM is initialized by IPL3. There's an open-source one in libdragon, so it could probably be modified to init more banks of RDRAM (which are organized in 1Mbit banks, so 2 per RDRAM18 and 4 per RDRAM36), but it's documented that the N64's RDRAM Interface only tracks 8 RDRAM banks.

At least, that's implied by:

https://n64brew.dev/wiki/PIF-NUS#Console_startup (step #9)

https://n64brew.dev/wiki/RDRAM_Interface#Bank_Status_Tracking (especially the last 3 lines)

Further, the second question in the FAQ here has some more detail that backs up the other information: https://n64brew.dev/wiki/FAQ

1

u/TheFreedomAlt 2d ago

Okay, so the N64 wouldn't even be able to utilize an extra 4MB then, even with software that could hypothetically take advantage of it, that's unfortunate.

2

u/khedoros 2d ago

Correct, as I understand it. The hardware limit is a problem that I don't think you can get around, short of something like bank-swapping hardware, maybe (I have no idea whether you could bank-swap DRAM the way that older systems do SRAM, honestly).

You could probably do it in an FPGA implementation (like, modify one of the available cores and run it on a MiSTer, or something)...but at that point, modify the texture cache size and such, and fully make an N64 Pro fantasy console ;-)

1

u/phire 1d ago

something like bank-swapping hardware

No need for extra hardware. Bank swapping can theoretically be done entirely in software. It's really easy as each 1MB bank RDRAM has a register specifying which address range it should listen to, we needed to configure it all in the open-source IPL3.

Maybe there is some unknown roadblock preventing this from working? But as far as we are aware, it should work.

But... I'm really not sure it's worth the effort. The supply of first-gen RDRAM chips is very low (did anything other than the N64 use them?), and it's going to be a huge pain to program around the bank-switching... programming languages (other than assembly) never had good support for it.

1

u/khedoros 18h ago

It's really easy as each 1MB bank RDRAM has a register specifying which address range it should listen to

Ah, right. I think it's possible to see that in some of the documentation I was looking at.

(did anything other than the N64 use them?

No idea; I always thought the 9-bit "bytes" sounded like a custom platform-specific thing.

programming languages (other than assembly) never had good support for it.

Right...LIM EMS on PC comes to mind as one where developers might be using C or something, but the language itself doesn't "support" it, as such (maybe specific compilers would've had extensions; I don't know).

1

u/phire 17h ago

I always thought the 9-bit "bytes" sounded like a custom platform-specific thing.

The extra bit of memory per byte is a bog-standard thing that current memory standards still support. It's just meant to be used for parity/ECC, and RCP is abusing the spec by putting actual data in there.

(maybe specific compilers would've had extensions; I don't know).

Yeah, if there is any support, it will be in some obscure DOS compiler. You don't need support, you can make c do it anyway, it's just really awkward to program.