2 ms·
Since those lines start counting at A0, it's the 21st bit. The thing is, with 20 bits you can address one megabyte, but without a 21st line, any calculated off
by pgeorgi 15y ago
Since those lines start counting at A0, it's the 21st bit.
The thing is, with 20 bits you can address one megabyte, but without a 21st line, any calculated offset (be it indirect addressing or, more commonly, segments) will roll over.
For compatibility with some ancient programs that exploited the rollover (access 0xfffff+0x400 -> 0x3ff), 80286+ gained the "A20 Gate", which allows to simulate the rollover effect (by always forcing A20, the 21st line, to 0) or not (in which case you can go above 1MB using offsets).
Note that the A20 Gate is only active in 16bit modes, otherwise even more fun trickery becomes possible (since half the 32bit accesses with A20 pulled low would change, too)