Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 4645 → Rev 4646

/programs/cmm/lib/kolibri.h
139,7 → 139,13
$shr eax,8
}
 
inline fastcall int GetFullKey()
{
$mov eax,2
$int 0x40
}
 
 
inline fastcall pause( EBX)
{
$mov eax, 5
362,7 → 368,27
$pop eax
}
 
inline fastcall void debug( EDX)
{
$push eax
$push ebx
$push ecx
$mov eax, 63
$mov ebx, 1
NEXT_CHAR:
$mov ecx, DSDWORD[edx]
$or cl, cl
$jz DONE
$int 0x40
$inc edx
$jmp NEXT_CHAR
DONE:
$pop ecx
$pop ebx
$pop eax
}
 
 
inline fastcall void debugch( ECX)
{
$push eax