home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.pascal.borland      Borland Pascal was actually pretty neat      2,978 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 2,923 of 2,978   
   sillyluis to All   
   Re: Why did Turbo Pascal implement its o   
   14 Mar 17 10:31:37   
   
   From: sillyluis@gmail.com   
      
   > ... Since MS-DOS ever since version 2.0 has memory management functions (INT   
   21h/AH=48h, INT 21h/AH=49h, and INT 21h/AH=4Ah), why did Borland feel it   
   necessary to implement their own heap manager?   
      
   Another probable reason is a bug in MS-DOS memory manager wherein requesting a   
   block bigger than the bigest available block produced an error *but* also   
   "reserved" the available memory w/out returning a pointer to it (depending on   
   he DOS version).   
      
   Note also that MS-DOS allocated memory in multiples of a paragraph (16 bytes),   
   which at that time was considered somewhat wasteful; thus the proliferation of   
   custom intra-application memory managers one could find everywhere.   
      
   --   
   Luis Caballero   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca