Subversion Repositories Kolibri OS

Rev

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

Rev 8869 Rev 9692
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2016. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2016. 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: 8869 $
8
$Revision: 9692 $
9
 
9
 
10
; CD external functions
10
; CD external functions
11
;   in:
11
;   in:
Line 55... Line 55...
55
        jmp     reserve_cd
55
        jmp     reserve_cd
56
;-----------------------------------------------------------------------------
56
;-----------------------------------------------------------------------------
57
reserve_ok2:
57
reserve_ok2:
58
        push    eax
58
        push    eax
59
        mov     eax, [current_slot_idx]
59
        mov     eax, [current_slot_idx]
60
        shl     eax, 5
60
        shl     eax, BSF sizeof.APPDATA
61
        mov     eax, [eax+TASK_TABLE+TASKDATA.pid]
61
        mov     eax, [eax + SLOT_BASE + APPDATA.tid]
62
        mov     [cd_status], eax
62
        mov     [cd_status], eax
63
        pop     eax
63
        pop     eax
64
        sti
64
        sti
65
        ret
65
        ret
66
;-----------------------------------------------------------------------------
66
;-----------------------------------------------------------------------------