Subversion Repositories Kolibri OS

Rev

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

Rev 1638 Rev 2130
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2007-2008. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2007-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: 1638 $
8
$Revision: 2130 $
9
 
9
 
Line 10... Line 10...
10
; Virtual-8086 mode manager
10
; Virtual-8086 mode manager
Line 326... Line 326...
326
        rep     movsd
326
        rep     movsd
Line 327... Line 327...
327
 
327
 
328
        cmp     edx, -1
328
        cmp     edx, -1
329
        jz      .noirqhook
329
        jz      .noirqhook
330
uglobal
330
uglobal
331
v86_irqhooks    rd      IRQ_RESERVE * 2
331
v86_irqhooks    rd      IRQ_RESERVED * 2
332
endg
332
endg
333
        cmp     [v86_irqhooks+edx*8], 0
333
        cmp     [v86_irqhooks+edx*8], 0
334
        jz      @f
334
        jz      @f
335
        cmp     [v86_irqhooks+edx*8], eax
335
        cmp     [v86_irqhooks+edx*8], eax
Line 837... Line 837...
837
;        mov     dx, 30F7h
837
;        mov     dx, 30F7h
838
;        in      al, dx
838
;        in      al, dx
839
;        mov     byte [BOOT_VAR + 48Eh], 0FFh
839
;        mov     byte [BOOT_VAR + 48Eh], 0FFh
840
;        ret
840
;        ret
Line -... Line 841...
-
 
841
 
841
 
842
align 4
842
v86_irq:
843
v86_irq:
843
; push irq/pushad/jmp v86_irq
844
; push irq/pushad/jmp v86_irq
844
; eax = irq
845
; eax = irq
845
        lea     esi, [esp+1Ch]
846
        lea     esi, [esp+1Ch]