Page 1 of 1

V86 mode

Posted: Fri Jan 11, 2002 12:00 am
by chatamballi
Hi everyone,
I've been trying to execute a V86 task for some
time. This is what I tried -

1. I had a piece of code under [BITS 16] block in
my protected mode code.
2. Made a code selector entry in the GDT pointing
to the 16bit code.
3. Created a TSS pointing to the 16BIT code.
The VM bit in the EFLAG slot was set.
4. Made a TSS selector entry in the GDT pointing
to the TSS.

but jumping in to the TSS selector simply reboots
my computer. Is there anything I am missing out?!!

I will greatly apprecite if someone can help.
regards,
Chatamballi