Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Why does Ms DOS only use 640k ram?  (Read 3862 times)

0 Members and 1 Guest are viewing this topic.

Extrememan321

    Topic Starter


    Starter

    • Experience: Experienced
    • OS: Windows 7
    Why does Ms DOS only use 640k ram?
    « on: July 15, 2014, 05:26:36 PM »
    It will not run programs because it doesn't have enough memory, PLEASE HELP!!!!!

    BC_Programmer


      Mastermind
    • Typing is no substitute for thinking.
    • Thanked: 1140
      • Yes
      • Yes
      • BC-Programming.com
    • Certifications: List
    • Computer: Specs
    • Experience: Beginner
    • OS: Windows 11
    Re: Why does Ms DOS only use 640k ram?
    « Reply #1 on: July 15, 2014, 05:53:47 PM »
    What Programs are you trying to run?
    I was trying to dereference Null Pointers before it was cool.

    Extrememan321

      Topic Starter


      Starter

      • Experience: Experienced
      • OS: Windows 7
      Re: Why does Ms DOS only use 640k ram?
      « Reply #2 on: July 15, 2014, 06:16:39 PM »
      Falcon3

      Extrememan321

        Topic Starter


        Starter

        • Experience: Experienced
        • OS: Windows 7
        Re: Why does Ms DOS only use 640k ram?
        « Reply #3 on: July 15, 2014, 06:26:44 PM »
        Is that the max ram you can use? Or can I use more of what I have installed on the machine?

        BC_Programmer


          Mastermind
        • Typing is no substitute for thinking.
        • Thanked: 1140
          • Yes
          • Yes
          • BC-Programming.com
        • Certifications: List
        • Computer: Specs
        • Experience: Beginner
        • OS: Windows 11
        Re: Why does Ms DOS only use 640k ram?
        « Reply #4 on: July 15, 2014, 08:00:10 PM »
        Is that the max ram you can use? Or can I use more of what I have installed on the machine?

        How are you running it? How are you booting DOS? Do you have any memory managers installed (himem.sys, emm386.exe)?
        I was trying to dereference Null Pointers before it was cool.

        foxidrive



          Specialist
        • Thanked: 268
        • Experience: Experienced
        • OS: Windows 8
        Re: Why does Ms DOS only use 640k ram?
        « Reply #5 on: July 15, 2014, 08:39:07 PM »
        Do you have any memory managers installed (himem.sys, emm386.exe)?

        As mentioned you need to create high memory, XMS, EMS etc.

        Geek-9pm


          Mastermind
        • Geek After Dark
        • Thanked: 1026
          • Gekk9pm bnlog
        • Certifications: List
        • Computer: Specs
        • Experience: Expert
        • OS: Windows 10
        Re: Why does Ms DOS only use 640k ram?
        « Reply #6 on: July 15, 2014, 09:16:37 PM »
        MS-DOS was created to run on the 8088 CPU in the original IBM PC. The CPU only can address one mega byte. of memory. The upper area of memory was reserved for BIOS and memory mapped video. The design allowed a maximum of 640K of RAM for DOS.

        Now those limits have little meaning. With the introduction of the Intel 386 chip much larger memory was available. And by the way, the introduction of the 386 was vital to the birth of the Linux system.





        Squashman



          Specialist
        • Thanked: 134
        • Experience: Experienced
        • OS: Other
        Re: Why does Ms DOS only use 640k ram?
        « Reply #7 on: July 16, 2014, 06:58:52 AM »
        And by the way, the introduction of the 386 was vital to the birth of the Linux system.
        Well considering that was the most prominent chip in use at the time I guess you could say it was vital.

        Geek-9pm


          Mastermind
        • Geek After Dark
        • Thanked: 1026
          • Gekk9pm bnlog
        • Certifications: List
        • Computer: Specs
        • Experience: Expert
        • OS: Windows 10
        Re: Why does Ms DOS only use 640k ram?
        « Reply #8 on: July 16, 2014, 07:18:54 AM »
        Well considering that was the most prominent chip in use at the time I guess you could say it was vital.
        The 286 was a dud.  It piratically destroyed Digital Research.
         Intel changed  the design in mid-stream. But The 386 was developed to be areal 32 bit CPU and backward compatible with the original 8086 instruction set.
        The History of the i386 CPU.


        Extrememan321

          Topic Starter


          Starter

          • Experience: Experienced
          • OS: Windows 7
          Re: Why does Ms DOS only use 640k ram?
          « Reply #9 on: July 16, 2014, 09:09:46 AM »
          It is working now thanks

          patio

          • Moderator


          • Genius
          • Maud' Dib
          • Thanked: 1769
            • Yes
          • Experience: Beginner
          • OS: Windows 7
          Re: Why does Ms DOS only use 640k ram?
          « Reply #10 on: July 16, 2014, 09:13:46 AM »
          How ?
          " Anyone who goes to a psychiatrist should have his head examined. "

          Squashman



            Specialist
          • Thanked: 134
          • Experience: Experienced
          • OS: Other
          Re: Why does Ms DOS only use 640k ram?
          « Reply #11 on: July 16, 2014, 09:47:20 AM »
          It is working now thanks
          How ?
          As my Mother likes to say, "The Little Green Men inside fixed it!"

          foxidrive



            Specialist
          • Thanked: 268
          • Experience: Experienced
          • OS: Windows 8
          Re: Why does Ms DOS only use 640k ram?
          « Reply #12 on: July 16, 2014, 10:26:08 AM »
          It is working now thanks

          As the guys comment - it would be nice to see your solution as a forum like this is dedicated to provide an answer for a problem, and then others in the future can get help to similar issues merely by searching.

          By providing your solution you will repay the forum and the helpers.