home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / ibm / pc / hardware / 34526 < prev    next >
Encoding:
Internet Message Format  |  1992-12-30  |  1.7 KB

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