GNU Emacs 22.3 for DOS/DJGPP (Announce)
> GNU Emacs 22.3 "stable" was released on September 5, 2008.
> 
> http://www.gnu.org/software/emacs/
Another problem is (maybe) fixed below:
P.S. Vista seems to have problems with REL_ALLOC (unlike XP), so you can try defining SYSTEM_MALLOC instead (in CONFIG.H) to work better, but my experience has been that it seems to consistently crash upon compiling somewhere (no matter what I try). Even the few random times it seemed to work, I'm not sure it truly dumped itself correctly.
> > > ... the DPMI call used by Emacs to find out how much free
> > > memory is there lies on Windows XP.  I fixed this in Emacs 23, I
> > > think.
> >
> > I know of no good solution for something like that. What did your 
> > fix entail?
>
> I replaced this implementation of get_lim_data in vm-limit.c:
 #ifdef MSDOS
 void
 get_lim_data ()
 {
   _go32_dpmi_meminfo info;
   _go32_dpmi_get_free_memory_information (&info);
   lim_data = info.available_memory;
 }
 #else /* not MSDOS */
> with this:
 #ifdef MSDOS
 void
 get_lim_data ()
 {
   _go32_dpmi_meminfo info;
   unsigned long lim1, lim2;
   _go32_dpmi_get_free_memory_information (&info);
   /* DPMI server of Windows NT and its descendants reports in
      info.available_memory a much lower amount that is really
      available, which causes bogus "past 95% of memory limit"
      warnings.  Try to overcome that via circumstantial evidence.  */
   lim1 = info.available_memory;
   lim2 = info.available_physical_pages;
   /* DPMI Spec: "Fields that are unavailable will hold -1."  */
   if ((long)lim1 == -1L)
     lim1 = 0;
   if ((long)lim2 == -1L)
     lim2 = 0;
   else
     lim2 *= 4096;
   /* Surely, the available memory is at least what we have physically
      available, right?  */
   if (lim1 >= lim2)
     lim_data = lim1;
   else
     lim_data = lim2;
   /* Don't believe they will give us more that 0.5 GB.   */
   if (lim_data > 512U * 1024U * 1024U)
     lim_data = 512U * 1024U * 1024U;
 }
 #else /* not MSDOS */
---
Know your limits.h
Complete thread:
- FTE version 0.50.01-cvs available (port) - rr, 16.10.2008, 16:32 (Announce) 
![Open in board view [Board]](img/board_d.gif)
![Open in mix view [Mix]](img/mix_d.gif)
- FTE version 0.50.01-cvs available (port) - Japheth, 16.10.2008, 18:38
- FTE version 0.50.01-cvs available (port) - Rugxulo, 16.10.2008, 23:52
 - FTE version 0.50.01-cvs available (port) - Rugxulo, 17.10.2008, 01:32
- FTE version 0.50.01-cvs available (port) - Japheth, 17.10.2008, 07:58
- FTE version 0.50.01-cvs available (port) - DOS386, 18.10.2008, 00:57
 
 
 - FTE version 0.50.01-cvs available (port) - Japheth, 17.10.2008, 07:58
 - FTE version 0.50.01-cvs available (port) - rr, 17.10.2008, 10:06
- FTE version 0.50.01-cvs available (port) - DOS386, 18.10.2008, 01:00
- FTE version 0.50.01-cvs available (port) - marcov, 18.10.2008, 12:50
- FTE version 0.50.01-cvs available (port) FPIDE @marcov - DOS386, 20.10.2008, 08:45
 
 - FTE version 0.50.01-cvs available (port) - Rugxulo, 18.10.2008, 21:36
- FTE version 0.50.01-cvs available (port) - marcov, 26.10.2008, 11:51
- GNU Emacs 22.3 for DOS/DJGPP - Rugxulo, 12.11.2008, 00:36
- GNU Emacs 22.3 for DOS/DJGPP - Rugxulo, 25.11.2008, 06:42
 
 
 - GNU Emacs 22.3 for DOS/DJGPP - Rugxulo, 12.11.2008, 00:36
 
 - FTE version 0.50.01-cvs available (port) - marcov, 26.10.2008, 11:51
 
 - FTE version 0.50.01-cvs available (port) - marcov, 18.10.2008, 12:50
 - Tools/Shell command also has some problems in DOS - Japheth, 18.10.2008, 14:28
- Tools/Shell command also has some problems in DOS - Rugxulo, 18.10.2008, 21:29
- highlights of FTE - DOS386, 19.10.2008, 01:27
- highlights of FTE - rr, 20.10.2008, 15:02
 
 - Tools/Shell command also has some problems in DOS - Japheth, 19.10.2008, 10:03
- Tools/Shell command also has some problems in DOS - DOS386, 20.10.2008, 09:26
- Tools/Shell command also has some problems in DOS - Steve, 23.10.2008, 07:33
 
 - The most archaic abandonware ever ! only 1808 years old :-D - DOS386, 29.10.2008, 10:02
- The most archaic abandonware ever ! only 1808 years old :-D - rr, 29.10.2008, 10:24
 - The most archaic abandonware ever ! only 1808 years old :-D - Japheth, 29.10.2008, 15:18
- The most archaic abandonware ever ! only 1808 years old :-D - Rugxulo, 29.10.2008, 19:38
 
 - The most archaic abandonware ever ! only 1808 years old :-D - rr, 10.11.2008, 22:16
- The most archaic abandonware ever ! only 1808 years old :-D - DOS386, 11.11.2008, 14:54
- The most archaic abandonware ever ! only 1808 years old :-D - rr, 11.11.2008, 20:28
- README.1ST for DOS release - ecm, 12.11.2008, 18:01
 - vegi - DOS386, 29.12.2008, 01:55
- GNU Emacs 23.0 - Rugxulo, 29.12.2008, 22:58
 - vegi - Steve, 02.01.2009, 08:20
 
 
 
 - The most archaic abandonware ever ! only 1808 years old :-D - rr, 11.11.2008, 20:28
 
 - The most archaic abandonware ever ! only 1808 years old :-D - DOS386, 11.11.2008, 14:54
 
 
 - Tools/Shell command also has some problems in DOS - DOS386, 20.10.2008, 09:26
 
 - highlights of FTE - DOS386, 19.10.2008, 01:27
 
 - Tools/Shell command also has some problems in DOS - Rugxulo, 18.10.2008, 21:29
 
 - FTE version 0.50.01-cvs available (port) - DOS386, 18.10.2008, 01:00
 
 - FTE version 0.50.01-cvs available (port) - Deniska, 17.10.2008, 02:51
- FTE version 0.50.01-cvs available (port) - rr, 17.10.2008, 10:04
 
 
 - FTE version 0.50.01-cvs available (port) - Japheth, 16.10.2008, 18:38
 
Mix view