Microcode Overlays.................................................................................................... 135
Entirely Up to You ................................................................................................ 135
RSP Assembler Tricks........................................................................................... 136
A Sample RSP Linker ........................................................................................... 136
Overlay Example................................................................................................... 138
Overlay Makefile........................................................................................ 138
Overlay DMA Code................................................................................... 141
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
RSP Yielding ................................................................................................................ 147
Requesting a Yield ..................................................................................... 148
Checking for Yield ..................................................................................... 148
Yielding ....................................................................................................... 148
Revision 1.0
9