81,30 → 81,25 |
//------------------------------------------------------------------------------ |
|
inline fastcall dword WaitEvent(){ |
$mov eax,10 |
EAX = 10; |
$int 0x40 |
} |
|
inline fastcall dword CheckEvent(){ |
$mov eax,11 |
$int 0x40 |
} |
|
inline fastcall dword WaitEventTimeout(dword EBX){ |
$mov eax,23 |
EAX = 23; |
$int 0x40 |
} |
|
inline fastcall SetEventMask(dword EBX) |
{ |
$mov eax,40 |
EAX = 40; |
$int 0x40 |
} |
|
inline fastcall ScancodesGeting(){ |
$mov eax,66 |
$mov ebx,1 |
$mov ecx,1 //᪠ª®¤ë |
$mov eax,66; |
$mov ebx,1; |
$mov ecx,1; //᪠ª®¤ë |
$int 0x40 |
} |
|
123,7 → 118,7 |
$jmp getkey |
@getkeyii: |
$pop edx |
$shr eax,8 |
EAX = EAX >> 8; |
} |
|
|
136,9 → 131,9 |
//================================================================== |
|
inline fastcall word GetButtonID(){ |
$mov eax,17 |
EAX = 17; |
$int 0x40 |
$shr eax,8 |
EAX = EAX >> 8; |
} |
|
struct proc_info{ |
157,7 → 152,7 |
|
void GetProcessInfo(dword EBX, ECX) |
{ |
$mov eax,9; |
EAX = 9; |
$int 0x40 |
} |
|
177,7 → 172,7 |
|
|
inline fastcall ExitProcess(){ |
$mov eax,-1; |
EAX = -1; // close this program |
$int 0x40 |
} |
|