Rev 928 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 928 | Rev 996 | ||
---|---|---|---|
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: 928 $ |
8 | $Revision: 996 $ |
9 | 9 | ||
Line 10... | Line 10... | ||
10 | ; Virtual-8086 mode manager |
10 | ; Virtual-8086 mode manager |
Line 92... | Line 92... | ||
92 | pop esi |
92 | pop esi |
93 | ; now V86 specific: initialize known addresses in first Mb |
93 | ; now V86 specific: initialize known addresses in first Mb |
94 | pop eax |
94 | pop eax |
95 | ; first page - BIOS data (shared between all machines!) |
95 | ; first page - BIOS data (shared between all machines!) |
96 | ; physical address = 0x1f0000 |
96 | ; physical address = 0x1f0000 |
97 | ; linear address = BOOT_VAR = OS_BASE + 0x1f0000 |
97 | ; linear address = 0 |
98 | mov dword [eax], (BOOT_VAR - OS_BASE) or 111b |
98 | mov dword [eax], 111b |
99 | mov dword [eax+800h], BOOT_VAR |
99 | mov dword [eax+800h], OS_BASE |
100 | ; page before 0xA0000 - Extended BIOS Data Area (shared between all machines!) |
100 | ; page before 0xA0000 - Extended BIOS Data Area (shared between all machines!) |
101 | ; physical address = 0x9C000 |
101 | ; physical address = 0x9C000 |
102 | ; linear address = 0x8009C000 |
102 | ; linear address = 0x8009C000 |
103 | ; (I have seen one computer with EBDA segment = 0x9D80, |
103 | ; (I have seen one computer with EBDA segment = 0x9D80, |
104 | ; all other computers use less memory) |
104 | ; all other computers use less memory) |