Subversion Repositories Kolibri OS

Rev

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

Rev 8050 Rev 8051
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2020. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2020. 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: 8050 $
8
$Revision: 8051 $
9
 
9
 
10
align 4 ;3A08
10
align 4 ;3A08
11
build_interrupt_table:
11
build_interrupt_table:
Line 127... Line 127...
127
  reg_edi       equ esp+0x00
127
  reg_edi       equ esp+0x00
Line 128... Line 128...
128
 
128
 
129
        mov     ax, app_data       ; exception
129
        mov     ax, app_data       ; exception
130
        mov     ds, ax             ; load proper values
130
        mov     ds, ax             ; load proper values
131
        mov     es, ax             ; to registers
131
        mov     es, ax             ; to registers
132
        cld                        ; clear the destination flag
132
        cld                        ; clear the direction flag
133
        movzx   ebx, bl
133
        movzx   ebx, bl
134
; redirect to V86 manager? (EFLAGS & 0x20000) != 0?
134
; redirect to V86 manager? (EFLAGS & 0x20000) != 0?
135
        test    byte[reg_eflags+2], 2
135
        test    byte[reg_eflags+2], 2
136
        jnz     v86_exc_c
136
        jnz     v86_exc_c