Rev 9692 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9692 | Rev 9828 | ||
---|---|---|---|
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: 9692 $ |
8 | $Revision: 9828 $ |
9 | 9 | ||
10 | ; CD external functions |
10 | ; CD external functions |
11 | ; in: |
11 | ; in: |
Line 54... | Line 54... | ||
54 | call change_task |
54 | call change_task |
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] |
60 | shl eax, BSF sizeof.APPDATA |
- | |
61 | mov eax, [eax + SLOT_BASE + APPDATA.tid] |
60 | mov eax, [eax + APPDATA.tid] |
62 | mov [cd_status], eax |
61 | mov [cd_status], eax |
63 | pop eax |
62 | pop eax |
64 | sti |
63 | sti |
65 | ret |
64 | ret |
66 | ;----------------------------------------------------------------------------- |
65 | ;----------------------------------------------------------------------------- |