home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / msdos / misc / 6138 < prev    next >
Encoding:
Text File  |  1992-11-14  |  2.4 KB  |  54 lines

  1. Newsgroups: comp.os.msdos.misc
  2. Path: sparky!uunet!microsoft!hexnut!jenk
  3. From: jenk@microsoft.com (Jen Kilmer)
  4. Subject: Re: Is dos 6.0 gonna multitask? Or have no memory barrier????
  5. Message-ID: <1992Nov13.065801.22564@microsoft.com>
  6. Date: 13 Nov 92 06:58:01 GMT
  7. Organization: Microsoft Corporation
  8. References: <1992Nov10.174211.1@csc.canterbury.ac.nz> <1992Nov10.060504.10390@netcom.com> <BxKoEC.JC8@news.cso.uiuc.edu>
  9. Lines: 43
  10.  
  11. In article <BxKoEC.JC8@news.cso.uiuc.edu> walk@mrcnext.cso.uiuc.edu (Todd Walk) writes:
  12. >DOS doesn't have a 640K barrier.  DOS will use as much CONTINOUS memory it
  13. >can find.  Since the upper 384K of the 1st meg. is reserved for hardware,
  14. >(and bios) DOS can only "see" 640K.  One thing that may be possible is
  15. >to use to 386 memory mapping to fool DOS into thinking that more memory
  16. >is availiable, and then having a device driver handle the mem. swaps.
  17.  
  18. Technically, Todd, this is quite true. A friend of mine with a 386 
  19. that has a hercules monitor gets 700K conventional memory this way
  20. with MS-DOS 5.
  21.  
  22. (Namely, in config.sys he includes:
  23.  
  24. device=c:\dos\himem.sys
  25. device=c:\dos\emm386.exe i=a000-afff
  26. dos=umb
  27.  
  28. Emm386 gets xms memory from himem, which it maps into unused areas
  29. in the uma - including the A000 segment - which emm386 makes available
  30. via the xms umb calls. DOS=UMB instructs MSDOS.SYS to request any & all
  31. xms umbs and add them to the MS-DOS memory pool. Since the A000 segment
  32. is contiguous with the rest of 'conventional' memory, it gets folded
  33. into it. Nice, eh?)
  34.  
  35. However...it is amazing the number of commercial applications that 
  36. do not run properly in this configuration. They complain about too
  37. little memory, or a memory error, or a memory allocation error, or
  38. simply hang. If my friend does not include the A000 segment, or only
  39. includes A400-AFFF (separating that memory from the conventional
  40. pool, making it a "normal" umb) these same applications work.
  41.  
  42. This may be more of what Ralf was talking about when he said that
  43. a DOS which breaks the 640k limit would not be DOS. It won't run 
  44. the existing DOS machine base applications (still more DOS platforms
  45. out there than Mac, Windows, and OS/2 platforms combined).
  46.  
  47. And, of course, breaking the the 1M limit imposed by the 8086 (and 
  48. the 1M + 64K - 16 bytes imposed by real mode on 80x86s) would be
  49. even tougher to break.  Current solutions include Windows [either
  50. native Windows apps or DOS-mode apps using DPMI] or OS/2 apps.
  51.  
  52. -jen
  53. no, not speaking for microsoft....
  54.