Subversion Repositories Kolibri OS

Rev

Rev 6590 | Rev 6942 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6590 Rev 6941
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
;; Distributed under terms of the GNU General Public License    ;;
4
;; Distributed under terms of the GNU General Public License    ;;
5
;;                                                              ;;
5
;;                                                              ;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 7... Line 7...
7
 
7
 
Line 8... Line 8...
8
$Revision: 6590 $
8
$Revision: 6941 $
9
 
9
 
10
 
10
 
Line 456... Line 456...
456
        mov     edx, [ebx+0xF4]
456
        mov     edx, [ebx+0xF4]
457
        mov     eax, [ebx+0xF0]
457
        mov     eax, [ebx+0xF0]
458
        mov     ecx, [ebx+0xF4]
458
        mov     ecx, [ebx+0xF4]
459
        cmp     ecx, edx
459
        cmp     ecx, edx
460
        jne     @B
460
        jne     @B
-
 
461
        popfd
Line 461... Line 462...
461
 
462
 
462
        mul     [hpet_period]
-
 
463
        shrd    eax, edx, 10
-
 
464
        shr     edx, 10
-
 
465
 
463
        mul     [hpet_period]
466
        mov     ebx, eax
464
        mov     ebx, eax
Line 467... Line 465...
467
        mov     esi, edx
465
        mov     esi, edx
468
 
466
 
469
        mov     eax, ecx
467
        mov     eax, ecx
470
        mul     [hpet_period]
468
        mul     [hpet_period]
471
        shld    edx, eax, 22
469
        add     eax, esi
-
 
470
        mov     edx, eax
472
        shl     eax, 22
471
        mov     eax, ebx
Line 473... Line -...
473
        add     eax, ebx
-
 
474
        adc     edx, esi
472
        shrd    eax, edx, 10
475
 
473
        shr     edx, 10
476
        popfd
474
 
Line 477... Line 475...
477
        pop     esi
475
        pop     esi