home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / dsp / 1810 < prev    next >
Encoding:
Text File  |  1992-07-22  |  2.4 KB  |  56 lines

  1. Newsgroups: comp.dsp
  2. Path: sparky!uunet!mcsun!Germany.EU.net!mpifr-bonn.mpg.de!speckled.mpifr-bonn.mpg.de!mlelstv
  3. From: mlelstv@speckled.mpifr-bonn.mpg.de (Michael van Elst)
  4. Subject: Re: Adress of memory beyond 1M on PC
  5. Message-ID: <1992Jul22.163525.3983@mpifr-bonn.mpg.de>
  6. Sender: news@mpifr-bonn.mpg.de
  7. Nntp-Posting-Host: speckled
  8. Organization: Max-Planck-Institut f"ur Radioastronomie
  9. References: <1992Jul22.064616.3401@swanee.ee.uwa.oz.au>
  10. Date: Wed, 22 Jul 1992 16:35:25 GMT
  11. Lines: 43
  12.  
  13. Hello,
  14.  
  15. first, your news system seems to be misconfigured as it doesn't put a
  16. valid reply address in the header. You may ask your sysadm to fix the
  17. problem.
  18.  
  19. In <1992Jul22.064616.3401@swanee.ee.uwa.oz.au> zhang@zeus (Zhang Ya Xin) writes:
  20.  
  21. >    We have a TANG IBM/PC 386 which has 4M of memory. Normally the adress
  22. >of memory in the PC consists of a segment plus an offset, say, ****:****.
  23. >1M is the limitation. My question is how can I access the memory beyond 1M?
  24. >In other words, is there an adress of the memory beyond 1M in the PC?
  25.  
  26. A 80386 processor can work in several modes (assuring backwards compatibility
  27. with older processors). If you use MS-DOS then use the processor in 8086
  28. compatibility or _real_ mode which is indeed limited to 1MB. The higher
  29. modes of the processor (so-called protected modes) can access up to 4GB.
  30. There are several methods to access that memory.
  31.  
  32. From MS-DOS you can access the memory as 'Expanded memory'. The EMM386
  33. driver supports accessing the memory above 1Meg in 64k chunks. This needs
  34. quite some work and special treatment of that memory in your programs.
  35. You can also access it as 'Extended memory' which means that you temporarily
  36. swithch to protected mode and use protected mode instructions to address
  37. that memory. This can go as far as running your complete application in
  38. protected mode under control of a 'DOS extender' which traps calls to
  39. the operating system and restores real mode for the duration of the
  40. system call.
  41. There are special versions of the common compilers that can generate
  42. protected mode programs.
  43.  
  44. As far as I know there's better support for protected mode under Windows
  45. or OS/2.
  46.  
  47. If you choose to run UNIX as an operating system everything will run in
  48. protected mode.
  49.  
  50. Hope this helps,
  51. -- 
  52. Michael van Elst
  53. UUCP:     universe!local-cluster!milky-way!sol!earth!uunet!unido!mpirbn!p554mve
  54. Internet: p554mve@mpirbn.mpifr-bonn.mpg.de
  55.                                 "A potential Snark may lurk in every tree."
  56.