Difference between revisions of "Print OS"

From WikiPrizm
Jump to navigationJump to search
(Created page with '{{syscall | name = Print_OS | index = 0x01F9 | signature = void Print_OS( unsigned char*msg, int invers, int zero2 ); | header = display_syscalls.h | parameters = ''msg'': string…')
 
m (libfxcg API)
 
(7 intermediate revisions by 4 users not shown)
Line 2: Line 2:
 
| name = Print_OS
 
| name = Print_OS
 
| index = 0x01F9
 
| index = 0x01F9
| signature = void Print_OS( unsigned char*msg, int invers, int zero2 );
+
| signature = void Print_OS(const char* msg, int invers, int zero2)
| header = display_syscalls.h
+
| synopsis = Displays the given message at the cursor position defined by [[Locate_OS]].  This will move the cursor's position to after the last character printed.
| parameters = ''msg'': string to be displayed. ''invers'': whether to display inverted (1) or normal (0). ''zero2'': must be zero for this function to work.
+
| header = fxcg/display.h
| comments = This syscall displays text at the cursor position defined by [[locate_OS]].
+
| parameters = * '''msg''' - string to be displayed.
 +
* '''invers''' - See [[PrintXY]]'s usage of '''''int''' display_mode''.
 +
* '''zero2''' - must be zero for this function to work (possibly this is similar to the behavior of the last parameter of [[PrintMiniMini]]).
 
}}
 
}}

Latest revision as of 20:28, 22 November 2014


Synopsis

Header: fxcg/display.h
Syscall index: 0x01F9
Function signature: void Print_OS(const char* msg, int invers, int zero2)

Displays the given message at the cursor position defined by Locate_OS. This will move the cursor's position to after the last character printed.

Parameters

  • msg - string to be displayed.
  • invers - See PrintXY's usage of int display_mode.
  • zero2 - must be zero for this function to work (possibly this is similar to the behavior of the last parameter of PrintMiniMini).