A20 and protected mode
Posted: Fri Jan 18, 2008 3:37 am
Hello,
Sorry me English is not very well.
I don't understand why we must activate A20 line before switch to protected mode. Actually i don't make this and my program work fine.
With A0 to A19 address line we can acces from 0 to FFFFF memory (1Mo).
With A20 activated, we can acces from 0 to 1FFFFF memory (2Mo).
In protected mode adresse are coded on 32 bits, from 0 to FFFFFFFF (4Go).
What's the role of A20 line here ? To acces to memory from 1 to 2Mo if i return to real mode ?
Can you explain me ?
Thank you very much !
Sorry me English is not very well.
I don't understand why we must activate A20 line before switch to protected mode. Actually i don't make this and my program work fine.
With A0 to A19 address line we can acces from 0 to FFFFF memory (1Mo).
With A20 activated, we can acces from 0 to 1FFFFF memory (2Mo).
In protected mode adresse are coded on 32 bits, from 0 to FFFFFFFF (4Go).
What's the role of A20 line here ? To acces to memory from 1 to 2Mo if i return to real mode ?
Can you explain me ?
Thank you very much !