-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable the scratch pad RAM (SPRAM) #20
Comments
I would use it as very fast swap space, or alternatively as part of the 3D driver; buffers of data can be DMA'd to scratchpad, and then another DMA can be set up from scratchpad to the GIF. |
https://lwn.net/Articles/536021/ |
@FlyGoat, I’m not sure the SRAM subsystem with a device tree entry or similar would work, because the scratchpad RAM in the PS2 isn’t mapped to a physical address. Instead, the MMU is 32-bit MIPS III-compatible with a special bit defined for scratchpad RAM: bit 31 of the EntryLo0 TLB register is the special S bit that indicates the memory type, where
[1] EE Core User’s Manual, version 6.0, Sony Computer Entertainment Inc., pp. 29, 65, 67, 122, 124-125, 139-140. |
The scratch pad RAM (SPRAM) of the Emotion Engine is 16 KiB of very fast static RAM organised in 128-bit quadwords. Both the DMA controller and the R5900 can access the SPRAM.
The text was updated successfully, but these errors were encountered: