Rev 820 | Rev 960 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 820 | Rev 891 | ||
---|---|---|---|
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: 820 $ |
8 | $Revision: 891 $ |
9 | 9 | ||
Line 10... | Line 10... | ||
10 | ; Virtual-8086 mode manager |
10 | ; Virtual-8086 mode manager |
Line 107... | Line 107... | ||
107 | @@: |
107 | @@: |
108 | lea eax, [edx + OS_BASE] |
108 | lea eax, [edx + OS_BASE] |
109 | mov [edi+800h], eax |
109 | mov [edi+800h], eax |
110 | lea eax, [edx + 111b] |
110 | lea eax, [edx + 111b] |
111 | stosd |
111 | stosd |
- | 112 | add edx, 0x1000 |
|
112 | loop @b |
113 | loop @b |
113 | pop eax |
114 | pop eax |
114 | pop edi |
115 | pop edi |
115 | ; addresses 0xC0000 - 0xFFFFF - BIOS code (shared between all machines!) |
116 | ; addresses 0xC0000 - 0xFFFFF - BIOS code (shared between all machines!) |
116 | ; physical address = 0xC0000 |
117 | ; physical address = 0xC0000 |