In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Changes

Jump to navigation Jump to search
542 bytes added ,  21:55, 8 April 2015
Line 75: Line 75:  
|<code>void OSYieldThread(void);</code>
 
|<code>void OSYieldThread(void);</code>
 
|Yield control of the CPU, allowing another thread to run
 
|Yield control of the CPU, allowing another thread to run
 +
|}
 +
 +
===Screen===
 +
{| class="wikitable"
 +
!Name
 +
!Prototype
 +
!Description
 +
|-
 +
|DCFlushRange
 +
|void DCFlushRange(void *buffer, u32 length);
 +
|Flush the cache
 +
|-
 +
|OSScreenGetBufferSizeEx
 +
|u32 OSScreenGetBufferSizeEx(u32 bufferNum)
 +
|get the size of the buffer at "bufferNum"
 +
|-
 +
|OSScreenFlipBuffersEx
 +
|u32 OSScreenFlipBuffersEx(u32 bufferNum);
 +
|Flip/Switch to the buffer at "bufferNum"
 +
|-
 +
|OSScreenPutFontEx
 +
|u32 OSScreenPutFontEx(u32 bufferNum, u32 posX, u32 posY, void* buffer);
 +
|Write text to the screen; unlike OSFatal this doesn't halt your system.
 
|}
 
|}
  
91

edits

Navigation menu