Nintendo Ultra64 Programmer's Manual page 9

Rsp
Table of Contents

Advertisement

Microcode Overlays.................................................................................................... 135
Memory System Implications ............................................................................. 135
Entirely Up to You ................................................................................................ 135
RSP Assembler Tricks........................................................................................... 136
A Sample RSP Linker ........................................................................................... 136
Overlay Example................................................................................................... 138
Overlay Makefile........................................................................................ 138
Overlay DMEM Initialization .................................................................. 139
Overlay Initialization Code ...................................................................... 140
Overlay Decision Code ............................................................................. 141
Overlay DMA Code................................................................................... 141
Controlling the RSP from the CPU.......................................................................... 142
Starting RSP Tasks ................................................................................................ 142
RSP Boot Microcode .................................................................................. 142
Hidden OS Functions ........................................................................................... 143
__osSpDeviceBusy ..................................................................................... 143
__osSpRawStartDma()............................................................................... 143
__osSpRawReadIo()................................................................................... 143
__osSpRawWriteIo() .................................................................................. 144
__osSpGetStatus() ...................................................................................... 144
__osSpSetStatus() ....................................................................................... 144
__osSpSetPc() .............................................................................................. 144
Microcode Debugging Tips ....................................................................................... 145
RSP Yielding ................................................................................................................ 147
Requesting a Yield ..................................................................................... 148
Checking for Yield ..................................................................................... 148
Yielding ....................................................................................................... 148
Saving a Yielded Process .......................................................................... 149
Restarting a Yield Process......................................................................... 149
A. RSP Instruction Set Details .......................................................................................... 151
Instruction Notation Examples ........................................................................... 154
Revision 1.0
9

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents