Subversion Repositories Kolibri OS

Rev

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

Rev 758 Rev 1168
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2007. 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: 758 $
8
$Revision: 1168 $
9
 
9
 
10
 
10
 
Line 679... Line 679...
679
;* Âõîäíûå ïàðàìåòðû ïåðåäàþòñÿ ÷åðåç ãëîáàëüíûå *
679
;* Âõîäíûå ïàðàìåòðû ïåðåäàþòñÿ ÷åðåç ãëîáàëüíûå *
680
;* ïåðåìåííûå:                                   *
680
;* ïåðåìåííûå:                                   *
681
;* ChannelNumber - íîìåð êàíàëà;                 *
681
;* ChannelNumber - íîìåð êàíàëà;                 *
682
;* DiskNumber - íîìåð äèñêà íà êàíàëå.           *
682
;* DiskNumber - íîìåð äèñêà íà êàíàëå.           *
683
;*************************************************
683
;*************************************************
-
 
684
align 4
684
check_ATAPI_device_event:
685
check_ATAPI_device_event:
685
	pusha
686
        pusha
686
    mov  eax,[timer_ticks]
687
    mov  eax,[timer_ticks]
687
    sub  eax,[timer_ATAPI_check]
688
    sub  eax,[timer_ATAPI_check]
688
    cmp  eax,100
689
    cmp  eax,100