"Collins Chen" <"collins_chen"@ali.com.tw> writes:

> Dear Konstantin,
>      I guess maybe the GDT in "start32.inc" cause my switchingreal mode code
> invalid. If some bit in GDT will be limitative to switching protected mode to
> real mode?

Add into the descriptor a 16 bit code segment.

The procedore is:
>From 32bit protected mode
Switch to 16bit protected
Switch to 16bit real mode.

And of course freebios/tools/mkelfImage/elf32-i386/head.S already
has code to do this.

Eric

Reply via email to