Rev 2130 | Rev 2151 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2130 | Rev 2150 | ||
---|---|---|---|
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: 2130 $ |
8 | $Revision: 2150 $ |
9 | 9 | ||
Line 10... | Line 10... | ||
10 | ; Virtual-8086 mode manager |
10 | ; Virtual-8086 mode manager |
Line 840... | Line 840... | ||
840 | ; ret |
840 | ; ret |
Line 841... | Line 841... | ||
841 | 841 | ||
842 | align 4 |
842 | align 4 |
843 | v86_irq: |
843 | v86_irq: |
844 | ; push irq/pushad/jmp v86_irq |
844 | ; push irq/pushad/jmp v86_irq |
845 | ; eax = irq |
845 | ; ebp = irq |
846 | lea esi, [esp+1Ch] |
846 | lea esi, [esp+1Ch] |
847 | lea edi, [esi+4] |
847 | lea edi, [esi+4] |
848 | mov ecx, 8 |
848 | mov ecx, 8 |
849 | std |
849 | std |
850 | rep movsd |
850 | rep movsd |
851 | cld |
851 | cld |
852 | mov edi, eax |
852 | mov edi, ebp |
853 | pop eax |
853 | pop eax |
854 | v86_irq2: |
854 | v86_irq2: |
855 | mov esi, [v86_irqhooks+edi*8] ; get VM handle |
855 | mov esi, [v86_irqhooks+edi*8] ; get VM handle |
856 | mov eax, [esi+V86_machine.pagedir] |
856 | mov eax, [esi+V86_machine.pagedir] |