Rev 5599 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5599 | Rev 5984 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;; |
4 | ;; Copyright (C) MenuetOS 2000-2004 Ville Mikael Turjanmaa ;; |
4 | ;; Copyright (C) MenuetOS 2000-2004 Ville Mikael Turjanmaa ;; |
5 | ;; Distributed under terms of the GNU General Public License ;; |
5 | ;; Distributed under terms of the GNU General Public License ;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 7... | Line 7... | ||
7 | 7 | ||
Line 8... | Line 8... | ||
8 | $Revision: 5599 $ |
8 | $Revision: 5984 $ |
9 | 9 | ||
10 | 10 | ||
Line 283... | Line 283... | ||
283 | ; state == 5 |
283 | ; state == 5 |
284 | pushad ; more freedom for [APPDATA.wait_test] |
284 | pushad ; more freedom for [APPDATA.wait_test] |
285 | call [ebx+APPDATA.wait_test] |
285 | call [ebx+APPDATA.wait_test] |
286 | mov [esp+28], eax |
286 | mov [esp+28], eax |
287 | popad |
287 | popad |
288 | test eax, eax |
288 | or eax, eax |
289 | jnz @f |
289 | jnz @f |
290 | ; testing for timeout |
290 | ; testing for timeout |
291 | mov eax, [timer_ticks] |
291 | mov eax, [timer_ticks] |
292 | sub eax, [ebx+APPDATA.wait_begin] |
292 | sub eax, [ebx+APPDATA.wait_begin] |
293 | cmp eax, [ebx+APPDATA.wait_timeout] |
293 | cmp eax, [ebx+APPDATA.wait_timeout] |