Open main menu

Difference between revisions of "SCI/Specifications/SCI virtual machine/Kernel functions"

Line 226: Line 226:
Returns: (word) The width of the cel identified by the tuple (view, loop, cel).<br>
Returns: (word) The width of the cel identified by the tuple (view, loop, cel).<br>


===Kernel function 0x0f: CelWide(word view, word loop, word cel)===
<syntax type="C">kfunct 0x10: CelHigh();
word view, word loop, word cel;</syntax>


(HeapPtr) <tt>view:</tt> The view we're searching in <tt>loop:</tt> The loop the cel is contained in <tt>cel:</tt> The cel we're interested in<br>
Returns: (word) The height of the cel identified by the tuple (view, loop, cel).<br>


===Kernel function <tt>0x11: DrawCel(word, word, word, Point, word)</tt>===
===Kernel function <tt>0x11: DrawCel(word, word, word, Point, word)</tt>===
126

edits