Rev 700 | Rev 732 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 700 | Rev 709 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
2 | ;; ;; |
2 | ;; ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2007. 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: 700 $ |
8 | $Revision: 709 $ |
9 | 9 | ||
Line 18... | Line 18... | ||
18 | 18 | ||
19 | mov ebx, [irq] ; irq num |
19 | mov ebx, [irq] ;irq num |
20 | test ebx, ebx |
20 | test ebx, ebx |
21 | jz .err |
21 | jz .err |
22 | cmp ebx, 15 ; hidnplayr says: we only have 16 IRQ's |
22 | cmp ebx, 15 ; hidnplayr says: we only have 16 IRQ's |
23 | jg .err |
23 | ja .err |
24 | mov eax, [handler] |
24 | mov eax, [handler] |
25 | test eax, eax |
25 | test eax, eax |
26 | jz .err |
26 | jz .err |
27 | mov [irq_tab+ebx*4], eax |
27 | mov [irq_tab+ebx*4], eax |
Line 138... | Line 138... | ||
138 | save_ring3_context |
138 | save_ring3_context |
139 | mov bx, app_data ;os_data |
139 | mov bx, app_data ;os_data |
140 | mov ds, bx |
140 | mov ds, bx |
141 | mov es, bx |
141 | mov es, bx |
Line -... | Line 142... | ||
- | 142 | ||
- | 143 | cmp [v86_irqhooks+eax*8], 0 |
|
- | 144 | jnz v86_irq |
|
142 | 145 | ||
143 | mov ebx, [irq_tab+eax*4] |
146 | mov ebx, [irq_tab+eax*4] |
144 | test ebx, ebx |
147 | test ebx, ebx |
Line 145... | Line 148... | ||
145 | jz .exit |
148 | jz .exit |