Subversion Repositories Kolibri OS

Rev

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

Rev 2167 Rev 2288
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: 2167 $
8
$Revision: 2288 $
9
 
9
 
Line 10... Line 10...
10
; Virtual-8086 mode manager
10
; Virtual-8086 mode manager
Line 369... Line 369...
369
; Did we all that we have wanted to do?
369
; Did we all that we have wanted to do?
370
        cmp     bl,1
370
        cmp     bl, 1
371
        jne     @f
371
        jne     @f
372
        xor     eax, eax
372
        xor     eax, eax
373
        mov     dr6, eax
373
        mov     dr6, eax
-
 
374
  @@:
374
  @@:   mov     eax, [esp+v86_regs.size+10h+18h]
375
        mov     eax, [esp+v86_regs.size+10h+18h]
375
        cmp     word [esp+v86_regs.eip], ax
376
        cmp     word [esp+v86_regs.eip], ax
376
        jnz     @f
377
        jnz     @f
377
        shr     eax, 16
378
        shr     eax, 16
378
        cmp     word [esp+v86_regs.cs], ax
379
        cmp     word [esp+v86_regs.cs], ax
379
        jz      .done
380
        jz      .done