Subversion Repositories Kolibri OS

Rev

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

Rev 971 Rev 979
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: 971 $
8
$Revision: 979 $
9
 
9
 
Line 10... Line 10...
10
; Virtual-8086 mode manager
10
; Virtual-8086 mode manager
Line 119... Line 119...
119
        mov     ecx, 0xC0
119
        mov     ecx, 0xC0
120
@@:
120
@@:
121
        mov     edx, ecx
121
        mov     edx, ecx
122
        shl     edx, 12
122
        shl     edx, 12
123
        push    edx
123
        push    edx
124
        or      edx, 101b
124
        or      edx, 111b
125
        mov     [eax+ecx*4], edx
125
        mov     [eax+ecx*4], edx
126
        pop     edx
126
        pop     edx
127
        add     edx, OS_BASE
127
        add     edx, OS_BASE
128
        mov     [eax+ecx*4+0x800], edx
128
        mov     [eax+ecx*4+0x800], edx
129
        inc     cl
129
        inc     cl