home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.ibm.pc.hardware:34526 comp.sys.ibm.pc.misc:16253
- Path: sparky!uunet!olivea!charnel!rat!ucselx!newshub.sdsu.edu!chemteca.sdsu.edu!massoud
- From: massoud@chemteca.sdsu.edu (Massoud Ajami)
- Newsgroups: comp.sys.ibm.pc.hardware,comp.sys.ibm.pc.misc
- Subject: Re: Memory addressing in protected mode (specifically address pin A20)
- Message-ID: <massoud.168.725839715@chemteca.sdsu.edu>
- Date: 31 Dec 92 22:08:35 GMT
- References: <1992Dec29.193519.13638@verdix.com>
- Organization: San Diego State University
- Lines: 24
- NNTP-Posting-Host: 130.191.227.22
-
- In article <1992Dec29.193519.13638@verdix.com> drew@verdix.com (Drew Johnson) writes:
- >From: drew@verdix.com (Drew Johnson)
- >Subject: Memory addressing in protected mode (specifically address pin A20)
- >Date: 29 Dec 92 19:35:19 GMT
- >I am trying to run some code on a 'bare' IBM AT board, ie no DOS. I have
- >everything working fine except for one problem: I cannot get the board
- >to recognize address bit 20. If I access memory at address 0x100000, it
- >is the same memory as at address 0x0. I am switching the board into protected
- >mode 'manually', not by using the BIOS function. Does anybody out there
- >know what I have to do to get a PC board to use bit 20 in protected mode?
- >On a PS/2, there is a configuration I/O address that you have to write to
- >to turn on gate A20 addressing. I can find no equivalent for the AT.
- >
- >Any help would be greatly appreciated.
- >
- >Drew Johnson
- >drew@verdix.com
-
- For AT, it is the keyboard chip output port that controls A20. Bit 1 of this
- port is connected to A20 gate select, and can be accessed with the read/
- write port command of 8042 at I/O 0x64.
- --
- Peace and Prosperity!
- ---==< 110 >==---
-