Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 747 → Rev 748

/kernel/trunk/docs/sysfuncr.txt
632,20 → 632,6
¢®§¢à é ¥âáï ®â¢¥â "¡ãä¥à ¯ãáâ".
 
======================================================================
======== ”ã­ªæ¨ï 18, ¯®¤äã­ªæ¨ï 1 - § ¢¥àè¨âì à ¡®âã á¨á⥬ë. ========
======================================================================
 à ¬¥âàë:
* eax = 18 - ­®¬¥à ä㭪樨
* ebx = 1 - ­®¬¥à ¯®¤ä㭪樨
‚®§¢à é ¥¬®¥ §­ ç¥­¨¥:
* ¢á¥£¤  ¢®§¢à é ¥âáï eax = 0 ª ª ¯à¨§­ ª ãᯥå 
‡ ¬¥ç ­¨ï:
*   ¯®á«¥¤­¥¬ è £¥ ¯®ï¢«ï¥âáï ¬¥­î ¢ë室  ¨§ á¨á⥬ë, ®¦¨¤ î饥
ॠªæ¨¨ ¯®«ì§®¢ â¥«ï.
* ‘¬®âਠ⠪¦¥ ¯®¤äã­ªæ¨î 9, § ¢¥à襭¨¥ à ¡®âë á¨á⥬ë á ¯ à ¬¥â஬,
ç⮡ë ä®àá¨à®¢ âì ¢ë¡®à ¢ ¬¥­î ¢ë室 .
 
======================================================================
==== ”ã­ªæ¨ï 18, ¯®¤äã­ªæ¨ï 2 - § ¢¥àè¨âì ¯à®æ¥áá/¯®â®ª ¯® á«®âã. ====
======================================================================
 à ¬¥âàë:
748,15 → 734,12
* äã­ªæ¨ï ­¥ ¢®§¢à é ¥â §­ ç¥­¨ï
 
======================================================================
= ”ã­ªæ¨ï 18, ¯®¤äã­ªæ¨ï 9 - § ¢¥à襭¨¥ à ¡®âë á¨á⥬ë á ¯ à ¬¥â஬. =
======= ”ã­ªæ¨ï 18, ¯®¤äã­ªæ¨ï 9 - § ¢¥à襭¨¥ à ¡®âë á¨á⥬ë ========
======================================================================
 à ¬¥âàë:
* eax = 18 - ­®¬¥à ä㭪樨
* ebx = 9 - ­®¬¥à ¯®¤ä㭪樨
* ecx = ¯ à ¬¥âà:
* 1 = ­  ¯®á«¥¤­¥¬ è £¥ § ¢¥à襭¨ï à ¡®âë á®åà ­¨âì à ¬¤¨áª ­ 
¤¨áª¥âã, ¯®á«¥ 祣® ¢ë¢¥á⨠¬¥­î ¢ë室  ¨ § ¯à®á¨âì ã
¯®«ì§®¢ â¥«ï ¤ «ì­¥©è¨¥ ¤¥©á⢨ï
* 2 = ¢ëª«îç¨âì ª®¬¯ìîâ¥à
* 3 = ¯¥à¥§ £à㧨âì ª®¬¯ìîâ¥à
* 4 = ¯¥à¥§ ¯ãáâ¨âì ï¤à® ¨§ ä ©«  kernel.mnt ­  à ¬¤¨áª¥
768,12 → 751,6
¢ë§®¢¥, ®­® ¬®¦¥â ¨§¬¥­¨âìáï ¢ ¯®á«¥¤ãîé¨å ¢¥àá¨ïå ï¤à .
* Œ®¦­® ¨á¯®«ì§®¢ âì ¯®¤äã­ªæ¨î 1, çâ®¡ë ­  ¯®á«¥¤­¥¬ è £¥
§ ¢¥à襭¨ï à ¡®âë ¯®«ì§®¢ â¥«ì á ¬ à¥è «, çâ® ¥¬ã ­ã¦­®.
* ¥ ४®¬¥­¤ã¥âáï ¨á¯®«ì§®¢ âì §­ ç¥­¨¥ ecx=1 (çâ®¡ë ­¥ à §¤à ¦ âì
¯®«ì§®¢ â¥«ï ¨§«¨è­¨¬¨ ¢®¯à®á ¬¨); á®åà ­¨âì à ¬¤¨áª ­  ¤¨áª¥âã
¬®¦­® ä㭪樥© 16 (ª®â®à ï ¤®¯ã᪠¥â ãâ®ç­¥­¨¥, ­  ª ªãî ¨¬¥­­®
¤¨áª¥âã ¯¨á âì),   § ¢¥àè¨âì à ¡®âã á ¬¥­î ¢ë室  ¬®¦­® 㦥
㯮¬ï­ã⮩ ¯®¤ä㭪樥© 1.
 
======================================================================
======== ”ã­ªæ¨ï 18, ¯®¤äã­ªæ¨ï 10 - ᢥà­ãâì ®ª­® ¯à¨«®¦¥­¨ï. =======
======================================================================
/kernel/trunk/docs/sysfuncs.txt
624,20 → 624,6
will return answer "buffer is empty".
 
======================================================================
============ Function 18, subfunction 1 - system shutdown. ===========
======================================================================
Parameters:
* eax = 18 - function number
* ebx = 1 - subfunction number
Returned value:
* function always return eax = 0 as tag of success
Remarks:
* On the last step menu of exit from the system appears and waits
response of the user.
* See also subfunction 9, system shutdown with
the parameter to force the choice in the exit menu.
 
======================================================================
= Function 18, subfunction 2 - terminate process/thread by the slot. =
======================================================================
Parameters:
744,15 → 730,12
* function does not return value
 
======================================================================
== Function 18, subfunction 9 - system shutdown with the parameter. ==
============ Function 18, subfunction 9 - system shutdown. ===========
======================================================================
Parameters:
* eax = 18 - function number
* ebx = 9 - subfunction number
* ecx = parameter:
* 1 = on the last step of shutdown save ramdisk on a floppy and
then show the exit menu and request further operations
from the user
* 2 = turn off computer
* 3 = reboot computer
* 4 = restart the kernel from the file 'kernel.mnt' on ramdisk
765,12 → 748,6
changed in future versions of the kernel.
* It is possible to use subfunction 1, that on the last step
the user makes choice himself.
* It is not recommended to use value ecx=1 (to not irritate the user
with excessive questions); to save ramdisk on a floppy use
function 16 (which admits specification, on which floppy to
write), and to shutdown with the exit menu use already mentioned
subfunction 1.
 
======================================================================
===== Function 18, subfunction 10 - minimize application window. =====
======================================================================