.global _v86
_v86:
pushfw
pop %eax
or $1<<17,%eax
push %eax
popfw
ret
at\t syntax
is this correct for setting v86 mode
Re: is this correct for setting v86 mode
No - you need to set up a task and switch to that. v86 mode always runs in ring 3, therefore you need some method (system call, scheduler interrupt) to get back to protected mode again too.
Cheers,
Adam
Cheers,
Adam