mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-25 08:06:49 +03:00
update kolibri.h-- lib
git-svn-id: svn://kolibrios.org@2765 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
ddda560478
commit
04836bcceb
@ -81,25 +81,30 @@ void system_colors::get()
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
inline fastcall dword WaitEvent(){
|
||||
EAX = 10;
|
||||
$int 0x40
|
||||
$mov eax,10
|
||||
$int 0x40
|
||||
}
|
||||
|
||||
inline fastcall dword CheckEvent(){
|
||||
$mov eax,11
|
||||
$int 0x40
|
||||
}
|
||||
|
||||
inline fastcall dword WaitEventTimeout(dword EBX){
|
||||
EAX = 23;
|
||||
$int 0x40
|
||||
$mov eax,23
|
||||
$int 0x40
|
||||
}
|
||||
|
||||
inline fastcall SetEventMask(dword EBX)
|
||||
{
|
||||
EAX = 40;
|
||||
$int 0x40
|
||||
$mov eax,40
|
||||
$int 0x40
|
||||
}
|
||||
|
||||
inline fastcall ScancodesGeting(){
|
||||
$mov eax,66;
|
||||
$mov ebx,1;
|
||||
$mov ecx,1; //瓷<>⑩<EFBFBD><E291A9>
|
||||
$mov eax,66
|
||||
$mov ebx,1
|
||||
$mov ecx,1 //瓷<>⑩<EFBFBD><E291A9>
|
||||
$int 0x40
|
||||
}
|
||||
|
||||
@ -118,7 +123,7 @@ inline fastcall word GetKey(){ //Gluk fix
|
||||
$jmp getkey
|
||||
@getkeyii:
|
||||
$pop edx
|
||||
EAX = EAX >> 8;
|
||||
$shr eax,8
|
||||
}
|
||||
|
||||
|
||||
@ -131,9 +136,9 @@ inline fastcall Pause(dword EBX)
|
||||
//==================================================================
|
||||
|
||||
inline fastcall word GetButtonID(){
|
||||
EAX = 17;
|
||||
$int 0x40
|
||||
EAX = EAX >> 8;
|
||||
$mov eax,17
|
||||
$int 0x40
|
||||
$shr eax,8
|
||||
}
|
||||
|
||||
struct proc_info{
|
||||
@ -152,7 +157,7 @@ struct proc_info{
|
||||
|
||||
void GetProcessInfo(dword EBX, ECX)
|
||||
{
|
||||
EAX = 9;
|
||||
$mov eax,9;
|
||||
$int 0x40
|
||||
}
|
||||
|
||||
@ -172,8 +177,8 @@ inline fastcall int ActiveProcess()
|
||||
|
||||
|
||||
inline fastcall ExitProcess(){
|
||||
EAX = -1; // close this program
|
||||
$int 0x40
|
||||
$mov eax,-1;
|
||||
$int 0x40
|
||||
}
|
||||
|
||||
inline fastcall KillProcess(dword ECX){
|
||||
|
Loading…
Reference in New Issue
Block a user