home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / smalltal / 2616 < prev    next >
Encoding:
Text File  |  1992-12-28  |  2.0 KB  |  51 lines

  1. Newsgroups: comp.lang.smalltalk
  2. Path: sparky!uunet!math.fu-berlin.de!mailgzrz.TU-Berlin.DE!cs.tu-berlin.de!muhr
  3. From: muhr@opal.cs.tu-berlin.de (Thomas Muhr)
  4. Subject: Re: Digitalks, V, graphics
  5. Message-ID: <1992Dec28.144925.27031@cs.tu-berlin.de>
  6. Sender: news@cs.tu-berlin.de
  7. Organization: Techn. University of Berlin, Germany
  8. References: <9212111458.AA07282@gwdu03.gwdg.de>
  9. Date: Mon, 28 Dec 1992 14:49:25 GMT
  10. Lines: 39
  11.  
  12. Joerg Rade <jrade1@GWDG.DE> writes:
  13.  
  14. >there is a solution for ii) i.e. ST/V 286 & HIMEM.SYS:
  15. >
  16. >    DEVICE=C:\DOS\HIMEM.SYS /INT15=2432
  17. >
  18. >This is for my 4MB machine. Some space is reserved for SMARTDRV. You
  19. >may have to experiment with the number to make it fit your needs.
  20. >This tip is orginally from Thomas Muhr.
  21.  
  22. The problem naturally, is not with himem.sys being declared in
  23. config.sys, but comes when an XMS-oriented program like Windows or smartdrv
  24. accesses it. When such a program is terminated, it doesnt restore the
  25. memory scheme to its original state. Old extended memeory managers
  26. like the  one ST/V 286 is using won't see any free extended mem
  27. thereafter. The above solution reserves 2MB from being gobbled up by
  28. an XMS program. The drawback is that it leaves exactly 2MB for either
  29. ST/V 286 or Windows which is not acceptable in most cases. 
  30. A solution which reserves all of memory for either environment is to
  31. use a mark/release utility before/after the invocation of a XMS
  32. program. One of these utilities is RESET. If you start Windows like this:
  33.  
  34. REM put this in a batch file stwin.bat
  35. RESET remwin
  36. pc-cache /extsiz=xxxxxxx
  37. win %1 %2 %3
  38. remwin
  39.  
  40. you can use ST/V 286 without rebooting your system.
  41. With Windows 3.1 comes smartdrv.exe which shifts memory blocks around
  42. so that RESET wouldn't be able to restore the previous state
  43. accurately. That's why I use PC_CACHE in the above example batch file.
  44.  
  45. - Thomas
  46. --
  47. Thomas Muhr - Project ATLAS - Technical University of Berlin
  48. Tel.: [+49] [30] 314-27882  FAX: -25959  
  49. INTERNET: muhr@cs.tu-berlin.de        Compu$erve: 100013,377
  50. In memoriam of John W. Lennon (Oct 9, 1940 - Dec 8, 1980) 
  51.