Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 119 → Rev 120

/kernel/trunk/docs/sysfuncs.txt
926,6 → 926,54
process/thread by given slot.
 
======================================================================
====================== Function 18, subfunction 19 =====================
======================= Get/set mouse features. ======================
======================================================================
Parameters:
* eax = 18 - function number
* ebx = 19 - subfunction number
* ecx = subsubfunction number
 
ecx = 0 - get mouse speed
Returned value:
* eax = current mouse speed
 
ecx = 1 - set mouse speed
edx = selected value of speed
Returned value:
* function does not return value
 
ecx = 2 - get mouse delay
Returned value:
* eax = current mouse delay
 
ecx = 3 - set mouse delay
edx = selected value of delay
Returned value:
* function does not return value
 
ecx = 4 - set mouse pointer position
edx = [coordinate on axis x]*65536 + [coordinate on axis y]
Returned value:
* function does not return value
 
Remarks:
* Recommended speed of the mouse (in subfunction 1) from 1 up to 9.
The installed value is not inspected by the code of a kernel, on this use
cautiously, at incorrect value the cursor can "freeze".
Speed of mouse can be regulated through the application SETUP.
* Recommended delay of the mouse (in subfunction 3) = 10. Lower value
is not handled COM by mice. At the very large values the movement of
the mouse on 1 pixel is impossible and the cursor will jump
on the value of the installed speed (subfunction 1).
The installed value is not inspected by the code of a kernel.
* In subfunction 4 the installed value is not inspected by
the code of a kernel. Before usage it is necessary to find out current
screen resolution and at installation of a position to watch,
that the value of a position should do not fall outside
the limits the screen.
 
======================================================================
============ Function 19 - start application from ramdisk. ===========
======================================================================
Parameters:
4372,3 → 4420,4
* 30 = 0x1E = not enough memory
* 31 = 0x1F = file is not executable
* 32 = 0x20 = too many processes