Subversion Repositories Kolibri OS

Rev

Rev 4612 | Rev 4700 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4612 Rev 4641
Line 844... Line 844...
844
Parameters:
844
Parameters:
845
  * eax = 18 - function number
845
  * eax = 18 - function number
846
  * ebx = 11 - subfunction number
846
  * ebx = 11 - subfunction number
847
  * ecx = type of the table:
847
  * ecx = type of the table:
848
    * 1 = short version, 10 bytes
848
    * 1 = short version, 10 bytes
849
    * 2 = full version, 65536 bytes
-
 
850
  * edx = pointer to the buffer (in the application) for the table
849
  * edx = pointer to the buffer (in the application) for the table
851
Returned value:
850
Returned value:
852
  * function does not return value
851
  * function does not return value
853
Format of the table: short version:
852
Format of the table: short version:
854
  * +0: byte: information about FDD's (drives for floppies),
853
  * +0: byte: information about FDD's (drives for floppies),
Line 876... Line 875...
876
    otherwise it shows number of the recognized partitions, which
875
    otherwise it shows number of the recognized partitions, which
877
    can be not presented (if the drive is not formatted or if
876
    can be not presented (if the drive is not formatted or if
878
    the file system is not supported). Current version of the kernel
877
    the file system is not supported). Current version of the kernel
879
    supports only FAT16, FAT32 and NTFS for hard disks.
878
    supports only FAT16, FAT32 and NTFS for hard disks.
880
  * +6: 4 db: reserved
879
  * +6: 4 db: reserved
881
Format of the table: full version:
-
 
882
  * +0: 10 db: same as for the short version
-
 
883
  * +10: 100 db: data for the first partition
-
 
884
  * +110: 100 db: data for the second partition
-
 
885
  * ...
880
 
886
  * +10+100*(n-1): 100 db: data for the last partition
-
 
887
The partitions are located as follows: at first sequentially all
-
 
888
recoginzed partitions on HD on IDE0 (if present),
-
 
889
then on HD on IDE1 (if present) and so on up to IDE3.
-
 
890
Format of the information about partition
-
 
891
(at moment only FAT is supported):
-
 
892
  * +0: dword: first physical sector of the partition
-
 
893
  * +4: dword: last physical sector of the partition
-
 
894
    (belongs to the partition)
-
 
895
  * +8: byte: file system type:
-
 
896
    16=FAT16, 32=FAT32, 1=NTFS
-
 
897
  * other data are dependent on file system, are modified with
-
 
898
    kernel modifications and therefore are not described
-
 
899
Remarks:
881
Remarks:
900
  * The short table can be used for obtaining the information about
882
  * The short table can be used for obtaining the information about
901
    available devices.
883
    available devices.
Line 902... Line 884...
902
 
884