flat assembler
Message board for the users of flat assembler.
Index
> OS Construction > Exit from Virtual 8086 Mode in Protected Mode |
Author |
|
neo-92 13 Aug 2014, 16:23
Please, can someone help me?
|
|||
13 Aug 2014, 16:23 |
|
BAiC 14 Aug 2014, 00:45
FYI: the USE32 is in the wrong place. when you return from "int 10h" your still in 16bit mode.
|
|||
14 Aug 2014, 00:45 |
|
neo-92 14 Aug 2014, 08:39
BAiC wrote: FYI: the USE32 is in the wrong place. when you return from "int 10h" your still in 16bit mode. Ok Stefan. But, how do i get out of a v86 task and return in pmode? The code |
|||
14 Aug 2014, 08:39 |
|
BAiC 14 Aug 2014, 11:35
what is the perspective of the code your dealing with? I mean; are you trying to jack the CPU from within a v86 task? Virtual-86 mode is a protected mode; your not supposed to "get out" of it. your supposed to finish your work then signal the OS/Hypervisor to terminate your task for you (an 'int' tied to a task gate would be the most ideal IMO).
- Stefan _________________ byte me. |
|||
14 Aug 2014, 11:35 |
|
neo-92 14 Aug 2014, 13:18
How do i to return from a v86 task 'iret' in pmode?
|
|||
14 Aug 2014, 13:18 |
|
neo-92 14 Aug 2014, 13:45
I want kill the v86 task, is there a solution?
|
|||
14 Aug 2014, 13:45 |
|
BAiC 14 Aug 2014, 14:00
from what I understand you don't 'return' from a v86 task. you invoke an OS service to end the task for you. this shit is complicated. why are you determined to do such work when you don't even know the simpler stuff?
|
|||
14 Aug 2014, 14:00 |
|
BAiC 14 Aug 2014, 14:19
look at this site:
http://css.csail.mit.edu/6.858/2013/readings/i386/s15_03.htm |
|||
14 Aug 2014, 14:19 |
|
neo-92 14 Aug 2014, 16:04
I looked the site, but using 'iret' in v86 through another task i get a triple fault. Why? Is right the task switch or wrong?
|
|||
14 Aug 2014, 16:04 |
|
BAiC 14 Aug 2014, 16:11
I gave you that link to help you learn. the patchwork methods you are using don't fucking work for anything as complex as a Hypervisor ("Monitor"). stop skipping the meat of the OS. your not helping yourself at all.
BTW: I'm not helping you patch together a petty v86 hypervisor. you need to build a system. a fucking function will not cut it. - Stefan |
|||
14 Aug 2014, 16:11 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.