A20 handler

A20 handler

The A20 handler is IBM PC memory manager software controlling access to the High Memory Area. Extended memory managers usually provide this functionality. A20 handlers are named after the 21st address line of the microprocessor, the A20 line.

The Intel 8088 CPU used in the original IBM PC was capable of addressing memory using 20 binary digits ("bits"). But the registers in the 8088 were only 16 bits wide. A 20-bit memory address was created by left shifting the 16-bit Segment Address (in effect multiplying it by 16) and adding the 16-bit offset address to it yielding a 20-bit result.

For example, using hexadecimal values with a Code Segment (CS) of 1000 and an Instruction Pointer (IP) of 2000, the actual memory address of CS:IP is, as follows:

CS : 1000 shifted left by 4 bits gives 10000 So the result is 10000 + 2000 = 12000

In reality, the result can be 21 bits wide since the total of the two registers can be more than FFFFF hexadecimal, e.g. repeating the above example with CS = FF00 and IP = FFFF. It is possible to generate references to slightly less than 64 KiB that are outside the addressing range of the 8088. When the 80286 CPU which had more than 20 address lines was developed, it became necessary to deal with code that referenced the 64 KiB addressable by ordinary addressing but not present in the 8088. As it turned out, it was sometimes desirable to set the 21st address line, and sometimes desirable not to. A logic gate was added on the motherboard to control the 21st address line. Not surprisingly, this was called the "A20 gate".

Controlling the A20 line was an important feature at one stage in the growth of the IBM PC architecture, as it added access to an additional 65520 bytes (64 KiB - 16 B) of memory in real mode without dramatic software changes.

ee also

* Computer storage
* Computer software

References

* Intel 8086
* Intel 80286

External links

* [http://www.win.tue.nl/~aeb/linux/kbd/A20.html A20 - a pain from the past]


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать курсовую

Look at other dictionaries:

  • Handler — may refer to:a person who handles something: ** animal handler, person who conducts animal training or is a wrangler (profession). ** a sports handler, a coach (sport) or sports agent of a sports player, or a promoter (entertainment) ** agent… …   Wikipedia

  • High Memory Area — High Memory Area, HMA  начальный участок дополнительной памяти объёмом 65520 байт (64 килобайта минус 16 байт) с адресами от 10000016 до 10FFEF16 (сразу после Upper Memory Area), доступный в реальном режиме через верхние сегменты адресного… …   Википедия

  • High Memory Area — The High Memory Area (HMA) is the RAM area consisting of the first 64 kibibytes (KiB), minus 16 bytes, of the extended memory on an IBM PC or compatible microcomputer.In real mode, the segmentation architecture of the Intel 80286 and subsequent… …   Wikipedia

  • List of IBM products — The following is a list of notable products from the International Business Machines (IBM) Corporation and its predecessor corporations, beginning in the 1890s, and spanning punched card machinery, time clocks, and typewriters, via mainframe… …   Wikipedia

  • Liste der BIOS-Signaltöne — Dieser Artikel wurde aufgrund von inhaltlichen Mängeln auf der Qualitätssicherungsseite der Redaktion Informatik eingetragen. Dies geschieht, um die Qualität der Artikel aus dem Themengebiet Informatik auf ein akzeptables Niveau zu bringen. Hilf… …   Deutsch Wikipedia

  • Eckenfelder — Selbstbildnis um 1924 Friedrich Eckenfelder (* 6. März 1861 in Bern; † 11. Mai 1938 in Balingen) war ein deutscher impressionistischer Maler. Das Talent des aus bescheidenen Verhältnissen stammenden Künstler wurde bereits früh erkannt, so dass er …   Deutsch Wikipedia

  • Kovats — Mirko Kovats (* 3. August 1948 in Wien) ist ein österreichischer Investor, vor allem bekannt durch seine Rolle als Gründer, Mehrheitseigner (indirekt, über seine Privatstiftung M.U.S.T.) und Vorstandsvorsitzender des ATX Unternehmens A TEC… …   Deutsch Wikipedia

  • Mirko Kovacs — Mirko Kovats (* 3. August 1948 in Wien) ist ein österreichischer Investor, vor allem bekannt durch seine Rolle als Gründer, Mehrheitseigner (indirekt, über seine Privatstiftung M.U.S.T.) und Vorstandsvorsitzender des ATX Unternehmens A TEC… …   Deutsch Wikipedia

  • Rotterdam — Gemeinde Rotterdam Flagge Wappen Provinz …   Deutsch Wikipedia

  • Proxy Mobile IPv6 — (or PMIPv6, or PMIP) is a network based mobility management protocol standardized by IETF and is specified in RFC 5213. It is a protocol for building a common and access technology independent of mobile core networks, accommodating various access …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”