Function 18, subfunction 6 - save ramdisk to the file on hard drive.
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 '/')
Returned value:
Замечания:
- 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.
- All folders in the given path must exist, otherwise function
returns value 5, "file not found".