Subversion Repositories Kolibri OS

Rev

Rev 9715 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9715 Rev 9828
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2007-2022. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2007-2022. 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: 9715 $
8
$Revision: 9828 $
9
 
9
 
Line 10... Line 10...
10
; Virtual-8086 mode manager
10
; Virtual-8086 mode manager
Line 825... Line 825...
825
        mov     edi, ebp
825
        mov     edi, ebp
826
        pop     eax
826
        pop     eax
827
v86_irq2:
827
v86_irq2:
828
        mov     esi, [v86_irqhooks + edi*8]       ; get VM handle
828
        mov     esi, [v86_irqhooks + edi*8]       ; get VM handle
829
        mov     eax, [esi + V86_machine.process]
829
        mov     eax, [esi + V86_machine.process]
830
        mov     ecx, [current_slot_idx]
830
        mov     ecx, [current_slot]
831
        shl     ecx, BSF sizeof.APPDATA
-
 
832
        cmp     [SLOT_BASE + ecx + APPDATA.process], eax
831
        cmp     [ecx + APPDATA.process], eax
833
        jnz     .notcurrent
832
        jnz     .notcurrent
834
        lea     eax, [edi+8]
833
        lea     eax, [edi+8]
835
        cmp     al, 10h
834
        cmp     al, 10h
836
        mov     ah, 1
835
        mov     ah, 1
837
        jb      @f
836
        jb      @f