git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@11 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Adrien Destugues
2007-08-12 14:39:24 +00:00
parent e4ab3b7749
commit 47b59aa70d
7 changed files with 52 additions and 26 deletions

View File

@@ -91,3 +91,25 @@ void Get_input(void)
SDL_PollEvent(Evenement_SDL);
}
void Initialiser_chrono(dword Delai)
{// Démarrer le chrono
push ebp
mov ebp,esp
arg Delai:dword
mov eax,Delai
mov Chrono_delay,eax
xor ah,ah
int 1Ah
mov word ptr[Chrono_cmp+0],dx
mov word ptr[Chrono_cmp+2],cx
mov esp,ebp
pop ebp
return;
}