/kernel/trunk/docs/sysfuncr.txt |
---|
676,19 → 676,12 |
à ¬¥âàë: |
* eax = 18 - ®¬¥à äãªæ¨¨ |
* ebx = 6 - ®¬¥à ¯®¤äãªæ¨¨ |
* ecx ®¯à¥¤¥«ï¥â ¯ãâì ª ä ©«ã: |
* 1 = ¢ ¯ ¯ª¥ "/KOLIBRI" |
* 2 = ¢ ª®à¥¢®¬ ª â «®£¥ |
* 3 = edx 㪠§ë¢ ¥â ¯ãâì (¨¬¥ ¯ ¯®ª ¢ ä®à¬ ⥠8+3, |
à §¤¥«ñë¥ '/') |
* ecx = 㪠§ ⥫ì áâபã á ¯®«ë¬ ¨¬¥¥¬ ä ©« |
( ¯à¨¬¥à, "/hd0/1/kolibri/kolibri.img") |
®§¢à é ¥¬®¥ § 票¥: |
* eax = 0 - ãá¯¥è® |
* ¨ ç¥ eax = ª®¤ ®è¨¡ª¨ ä ©«®¢®© á¨á⥬ë |
¬¥ç ¨ï: |
* ¬ï ä ©« 䨪á¨à®¢ ®, "kolibri.img" (£«®¡ «ì ï ¯¥à¥¬¥ ï ï¤à |
image_save ¨§ preboot.inc) |
* ª ª®¬ à §¤¥«¥ ª ª®£® ¤¨áª ä ©« ¡ã¤¥â á®åà ñ, ®¯à¥¤¥«ï¥âáï |
¯®¤äãªæ¨¥© 7 ¨ ¯®¤äãªæ¨¥© 8 äãªæ¨¨ 21. |
* ᥠ¯ ¯ª¨ ¢ 㪠§ ®¬ ¯ã⨠¤®«¦ë áãé¥á⢮¢ âì, ¨ ç¥ ¢¥àñâáï |
§ 票¥ 5, "ä ©« ¥ ©¤¥". |
/kernel/trunk/docs/sysfuncs.txt |
---|
671,19 → 671,12 |
Parameters: |
* eax = 18 - function number |
* ebx = 6 - subfunction number |
* ecx defines path to the file: |
* 1 = in the folder "/KOLIBRI" |
* 2 = in the root folder |
* 3 = edx points to the path (names of folders in the format 8+3, |
divided by '/') |
* ecx = pointer to the full path to file |
(for example, "/hd0/1/kolibri/kolibri.img") |
Returned value: |
* eax = 0 - success |
* else eax = error code of the file system |
Çàìå÷àíèÿ: |
* Filename is fixed, "kolibri.img" (global kernel variable |
'image_save' from 'preboot.inc') |
* Drive and partition are defined by subfunction 7 |
and subfunction 8 of function 21. |
Remarks: |
* All folders in the given path must exist, otherwise function |
returns value 5, "file not found". |