Subversion Repositories Kolibri OS

Rev

Rev 5201 | Rev 5984 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5201 Rev 5565
Line 834... Line 834...
834
  * Usually there is no necessity to minimize/restore a window
834
  * Usually there is no necessity to minimize/restore a window
835
    explicitly: minimization of a window is carried out by the system
835
    explicitly: minimization of a window is carried out by the system
836
    at pressing the minimization button (for skinned windows
836
    at pressing the minimization button (for skinned windows
837
    it is defined automatically by function 0,
837
    it is defined automatically by function 0,
838
    for other windows it can be defined manually by function 8),
838
    for other windows it can be defined manually by function 8),
839
    restore of a window is done by the application '@panel'.
839
    restore of a window is done by the application '@taskbar'.
Line 840... Line 840...
840
 
840
 
841
======================================================================
841
======================================================================
842
 Function 18, subfunction 11 - get information on the disk subsystem.
842
 Function 18, subfunction 11 - get information on the disk subsystem.
843
======================================================================
843
======================================================================
Line 859... Line 859...
859
    * 3 = 720Kb, 3.5''
859
    * 3 = 720Kb, 3.5''
860
    * 4 = 1.44Mb, 3.5''
860
    * 4 = 1.44Mb, 3.5''
861
    * 5 = 2.88Mb, 3.5'' (such drives are not used anymore)
861
    * 5 = 2.88Mb, 3.5'' (such drives are not used anymore)
862
    For example, for the standard configuration from one 1.44-drive
862
    For example, for the standard configuration from one 1.44-drive
863
    here will be 40h, and for the case 1.2Mb on A: and 1.44Mb on B:
863
    here will be 40h, and for the case 1.2Mb on A: and 1.44Mb on B:
864
    the value is 24h.
864
    the value is 24h.
865
    
865
    
866
  First IDE controller:
866
  First IDE controller:
867
  * +1: byte: information about hard disks and CD-drives, AABBCCDD,
867
  * +1: byte: information about hard disks and CD-drives, AABBCCDD,
868
    where AA corresponds to the controller IDE0, ..., DD - IDE3:
868
    where AA corresponds to the controller IDE0, ..., DD - IDE3:
869
    * 0 = device not found
869
    * 0 = device not found
870
    * 1 = hard drive
870
    * 1 = hard drive
871
    * 2 = CD-drive
871
    * 2 = CD-drive
872
    For example, in the case HD on IDE0 and CD on IDE2
872
    For example, in the case HD on IDE0 and CD on IDE2
873
    this field contains 48h.
873
    this field contains 48h.
874
  * +2: 4 db: number of the retrieved partitions on hard disks
874
  * +2: 4 db: number of the retrieved partitions on hard disks
875
    at accordingly IDE0,...,IDE3.
875
    at accordingly IDE0,...,IDE3.
876
    
876
    
877
  Second IDE controller:
877
  Second IDE controller:
878
  * +6: byte: information about hard disks and CD-drives, AABBCCDD,
878
  * +6: byte: information about hard disks and CD-drives, AABBCCDD,
879
    where AA corresponds to the controller IDE4, ..., DD - IDE7:
879
    where AA corresponds to the controller IDE4, ..., DD - IDE7:
880
    * 0 = device not found
880
    * 0 = device not found
881
    * 1 = hard drive
881
    * 1 = hard drive
882
    * 2 = CD-drive
882
    * 2 = CD-drive
883
    For example, in the case HD on IDE4 and CD on IDE6
883
    For example, in the case HD on IDE4 and CD on IDE6
884
    this field contains 48h.
884
    this field contains 48h.
885
  * +7: 4 db: number of the retrieved partitions on hard disks
885
  * +7: 4 db: number of the retrieved partitions on hard disks
886
    at accordingly IDE4,...,IDE7.
886
    at accordingly IDE4,...,IDE7.
887
 
887
 
888
  Third IDE controller:
888
  Third IDE controller:
889
  * +11: byte: information about hard disks and CD-drives, AABBCCDD,
889
  * +11: byte: information about hard disks and CD-drives, AABBCCDD,
890
    where AA corresponds to the controller IDE8, ..., DD - IDE11:
890
    where AA corresponds to the controller IDE8, ..., DD - IDE11:
891
    * 0 = device not found
891
    * 0 = device not found
892
    * 1 = hard drive
892
    * 1 = hard drive
893
    * 2 = CD-drive
893
    * 2 = CD-drive
894
    For example, in the case HD on IDE8 and CD on IDE10
894
    For example, in the case HD on IDE8 and CD on IDE10
895
    this field contains 48h.
895
    this field contains 48h.
896
  * +12: 4 db: number of the retrieved partitions on hard disks
896
  * +12: 4 db: number of the retrieved partitions on hard disks
897
    at accordingly IDE8,...,IDE11.   
897
    at accordingly IDE8,...,IDE11.   
Line 898... Line 898...
898
    
898
    
899
    If the hard disk on IDEx is absent, appropriate byte is zero,
899
    If the hard disk on IDEx is absent, appropriate byte is zero,
900
    otherwise it shows number of the recognized partitions, which
900
    otherwise it shows number of the recognized partitions, which
901
    can be not presented (if the drive is not formatted or if
901
    can be not presented (if the drive is not formatted or if
Line 1211... Line 1211...
1211
    layout is used and then from the code is subtracted 0x60;
1211
    layout is used and then from the code is subtracted 0x60;
1212
    if no control key is pressed, the normal layout is used.
1212
    if no control key is pressed, the normal layout is used.
1213
  * To get layout and country identifier use
1213
  * To get layout and country identifier use
1214
    subfunction 2 of function 26.
1214
    subfunction 2 of function 26.
1215
  * Country identifier is global system variable, which is not used
1215
  * Country identifier is global system variable, which is not used
1216
    by the kernel itself; however the application '@panel' displays
1216
    by the kernel itself; however the application '@taskbar' displays
1217
    the corresponding icon.
1217
    the corresponding icon.
1218
  * The application @panel switches layouts on user request.
1218
  * The application @taskbar switches layouts on user request.
Line 1219... Line 1219...
1219
 
1219
 
1220
======================================================================
1220
======================================================================
1221
========== Function 21, subfunction 5 - set system language. =========
1221
========== Function 21, subfunction 5 - set system language. =========
1222
======================================================================
1222
======================================================================
Line 1226... Line 1226...
1226
  * ecx = system language (1=eng, 2=fi, 3=ger, 4=rus)
1226
  * ecx = system language (1=eng, 2=fi, 3=ger, 4=rus)
1227
Returned value:
1227
Returned value:
1228
  * eax = 0
1228
  * eax = 0
1229
Remarks:
1229
Remarks:
1230
  * System language is global system variable and is not used
1230
  * System language is global system variable and is not used
1231
    by the kernel itself, however application @panel draws the
1231
    by the kernel itself, however application @taskbar draws the
1232
    appropriate icon.
1232
    appropriate icon.
1233
  * Function does not check for correctness, as the kernel does not
1233
  * Function does not check for correctness, as the kernel does not
1234
    use this variable.
1234
    use this variable.
1235
  * To get system language use subfunction 5 of function 26.
1235
  * To get system language use subfunction 5 of function 26.
Line 1420... Line 1420...
1420
    layout is used and then from the code is subtracted 0x60;
1420
    layout is used and then from the code is subtracted 0x60;
1421
    if no control key is pressed, the normal layout is used.
1421
    if no control key is pressed, the normal layout is used.
1422
  * To set layout and country identifier use
1422
  * To set layout and country identifier use
1423
    subfunction 2 of function 21.
1423
    subfunction 2 of function 21.
1424
  * Country identifier is global system variable, which is not used
1424
  * Country identifier is global system variable, which is not used
1425
    by the kernel itself; however the application '@panel' displays
1425
    by the kernel itself; however the application '@taskbar' displays
1426
    the corresponding icon (using this function).
1426
    the corresponding icon (using this function).
1427
  * The application @panel switches layouts on user request.
1427
  * The application @taskbar switches layouts on user request.
Line 1428... Line 1428...
1428
 
1428
 
1429
======================================================================
1429
======================================================================
1430
========== Function 26, subfunction 5 - get system language. =========
1430
========== Function 26, subfunction 5 - get system language. =========
1431
======================================================================
1431
======================================================================
Line 1434... Line 1434...
1434
  * ebx = 5 - subfunction number
1434
  * ebx = 5 - subfunction number
1435
Returned value:
1435
Returned value:
1436
  * eax = system language (1=eng, 2=fi, 3=ger, 4=rus)
1436
  * eax = system language (1=eng, 2=fi, 3=ger, 4=rus)
1437
Remarks:
1437
Remarks:
1438
  * System language is global system variable and is not used
1438
  * System language is global system variable and is not used
1439
    by the kernel itself, however application @panel draws the
1439
    by the kernel itself, however application @taskbar draws the
1440
    appropriate icon (using this function).
1440
    appropriate icon (using this function).
1441
  * To set system language use subfunction 5 of function 21.
1441
  * To set system language use subfunction 5 of function 21.
Line 1442... Line 1442...
1442
 
1442
 
1443
======================================================================
1443
======================================================================
Line 1994... Line 1994...
1994
  * ebx = [top]*65536 + [bottom]
1994
  * ebx = [top]*65536 + [bottom]
1995
Remarks:
1995
Remarks:
1996
  * The screen working area defines position and coordinates of
1996
  * The screen working area defines position and coordinates of
1997
    a maximized window.
1997
    a maximized window.
1998
  * The screen working area in view of normal work is all screen
1998
  * The screen working area in view of normal work is all screen
1999
    without system panel (the application '@panel').
1999
    without taskbar ('@taskbar' application).
2000
  * (left,top) are coordinates of the left upper corner,
2000
  * (left,top) are coordinates of the left upper corner,
2001
    (right,bottom) are coordinates of the right lower one.
2001
    (right,bottom) are coordinates of the right lower one.
2002
    Thus the size of working area on x axis can be calculated by
2002
    Thus the size of working area on x axis can be calculated by
2003
    formula right-left+1, on y axis - by formula bottom-right+1.
2003
    formula right-left+1, on y axis - by formula bottom-right+1.
2004
  * See also function 14,
2004
  * See also function 14,
Line 2016... Line 2016...
2016
Returned value:
2016
Returned value:
2017
  * function does not return value
2017
  * function does not return value
2018
Remarks:
2018
Remarks:
2019
  * The screen working area defines position and coordinates of
2019
  * The screen working area defines position and coordinates of
2020
    a maximized window.
2020
    a maximized window.
2021
  * This function is used only by the application '@panel',
2021
  * This function is used only by the application '@taskbar',
2022
    which set working area to all screen without system panel.
2022
    which set working area to all screen without taskbar.
2023
  * (left,top) are coordinates of the left upper corner,
2023
  * (left,top) are coordinates of the left upper corner,
2024
    (right,bottom) are coordinates of the right lower one.
2024
    (right,bottom) are coordinates of the right lower one.
2025
    Thus the size of working area on x axis can be calculated by
2025
    Thus the size of working area on x axis can be calculated by
2026
    formula right-left+1, on y axis - by formula bottom-right+1.
2026
    formula right-left+1, on y axis - by formula bottom-right+1.
2027
  * If 'left'>='right', x-coordinate of working area is not changed.
2027
  * If 'left'>='right', x-coordinate of working area is not changed.