Subversion Repositories Kolibri OS

Rev

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

Rev 2010 Rev 2106
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2008. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2008. 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: 2010 $
8
$Revision: 2106 $
9
 
9
 
10
 
10
 
Line 52... Line 52...
52
    cli
52
    cli
53
    cmp   [IDE_Channel_2],0
53
    cmp   [IDE_Channel_2],0
54
    je	  .reserve_ok_2
54
    je	  .reserve_ok_2
55
    sti
55
    sti
56
    call  change_task
56
    call  change_task
57
    jmp   .IDE_Channel_1
57
    jmp   .IDE_Channel_2
58
.reserve_ok_1:
58
.reserve_ok_1:
59
    mov [IDE_Channel_1],1
59
    mov [IDE_Channel_1],1
-
 
60
    sti
60
    ret
61
    ret
61
.reserve_ok_2:
62
.reserve_ok_2:
62
    mov [IDE_Channel_2],1
63
    mov [IDE_Channel_2],1
-
 
64
    sti
63
    ret
65
    ret
Line 64... Line 66...
64
 
66
 
65
free_cd_channel:
67
free_cd_channel:
66
    cmp   [ChannelNumber],1
68
    cmp   [ChannelNumber],1