Subversion Repositories Kolibri OS

Rev

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

Rev 118 Rev 120
Line 924... Line 924...
924
    1), it is possible to terminate any normal process/thread.
924
    1), it is possible to terminate any normal process/thread.
925
  * See also subfunction 2 - terminate
925
  * See also subfunction 2 - terminate
926
    process/thread by given slot.
926
    process/thread by given slot.
Line 927... Line 927...
927
 
927
 
-
 
928
======================================================================
-
 
929
====================== Function 18, subfunction 19 =====================
-
 
930
======================= Get/set mouse features. ======================
-
 
931
======================================================================
-
 
932
Parameters:
-
 
933
  * eax = 18 - function number
-
 
934
  * ebx = 19 - subfunction number
-
 
935
  * ecx = subsubfunction number
-
 
936
 
-
 
937
    ecx = 0 - get mouse speed
-
 
938
    Returned value:
-
 
939
    * eax = current mouse speed
-
 
940
 
-
 
941
    ecx = 1 - set mouse speed
-
 
942
    edx = selected value of speed 
-
 
943
    Returned value:
-
 
944
    * function does not return value
-
 
945
 
-
 
946
    ecx = 2 - get mouse delay
-
 
947
    Returned value:
-
 
948
    * eax = current mouse delay
-
 
949
 
-
 
950
    ecx = 3 - set mouse delay
-
 
951
    edx = selected value of delay
-
 
952
    Returned value:
-
 
953
    * function does not return value
-
 
954
 
-
 
955
    ecx = 4 - set mouse pointer position
-
 
956
    edx = [coordinate on axis x]*65536 + [coordinate on axis y]
-
 
957
    Returned value:
-
 
958
    * function does not return value
-
 
959
 
-
 
960
Remarks:
-
 
961
  * Recommended speed of the mouse (in subfunction 1) from 1 up to 9.
-
 
962
    The installed value is not inspected by the code of a kernel, on this use
-
 
963
    cautiously, at incorrect value the cursor can "freeze".
-
 
964
    Speed of mouse can be regulated through the application SETUP.
-
 
965
  * Recommended delay of the mouse (in subfunction 3) = 10. Lower value
-
 
966
    is not handled COM by mice. At the very large values the movement of
-
 
967
    the mouse on 1 pixel is impossible and the cursor will jump
-
 
968
    on the value of the installed speed (subfunction 1).
-
 
969
    The installed value is not inspected by the code of a kernel.
-
 
970
  * In subfunction 4 the installed value is not inspected by
-
 
971
    the code of a kernel. Before usage it is necessary to find out current
-
 
972
    screen resolution and at installation of a position to watch,
-
 
973
    that the value of a position should do not fall outside
-
 
974
    the limits the screen.
-
 
975
 
928
======================================================================
976
======================================================================
929
============ Function 19 - start application from ramdisk. ===========
977
============ Function 19 - start application from ramdisk. ===========
930
======================================================================
978
======================================================================
931
Parameters:
979
Parameters:
932
  * eax = 19 - function number
980
  * eax = 19 - function number
Line 4370... Line 4418...
4370
  * 11 = device error
4418
  * 11 = device error
4371
Application start functions can return also following errors:
4419
Application start functions can return also following errors:
4372
  * 30 = 0x1E = not enough memory
4420
  * 30 = 0x1E = not enough memory
4373
  * 31 = 0x1F = file is not executable
4421
  * 31 = 0x1F = file is not executable
4374
  * 32 = 0x20 = too many processes
4422
  * 32 = 0x20 = too many processes
-
 
4423
>