115,7 → 115,6 |
$int 0x40 |
} |
|
|
inline fastcall word GetKey() //+Gluk fix |
{ |
$push edx |
212,12 → 211,11 |
$int 0x40 |
} |
|
inline fastcall int ExitSystem( ECX) |
{ |
#define TURN_OFF 2 |
#define REBOOT 3 |
#define KERNEL 4 |
|
inline fastcall int ExitSystem( ECX) |
{ |
$mov eax, 18 |
$mov ebx, 9 |
$int 0x40 |
282,6 → 280,12 |
$and eax,1 |
} |
|
inline fastcall int PlaySpeaker( ESI) |
{ |
$mov eax, 55 |
$mov ebx, 55 |
$int 0x40 |
} |
|
//------------------------------------------------------------------------------ |
|
323,6 → 327,15 |
$int 0x40; |
} |
|
void WriteNumber(dword x,y,byte fontType, dword color, count, ECX) |
{ |
EAX = 47; |
EBX = count<<16; |
EDX = x<<16+y; |
ESI = fontType<<24+color; |
$int 0x40; |
} |
|
void CopyScreen(dword EBX, x, y, sizeX, sizeY) |
{ |
EAX = 36; |