Path: chuka.playstation.co.uk!news From: Christoph Luerig Newsgroups: scee.yaroze.programming.codewarrior Subject: Re: SIOCONS compatibility solved Date: Thu, 12 Nov 1998 09:15:04 +0100 Organization: PlayStation Net Yaroze (SCEE) Lines: 43 Message-ID: <364A9908.84A95884@immd9.informatik.uni-erlangen.de> References: <3646BFA9.D7B25BD6@immd9.informatik.uni-erlangen.de> <3646F8CA.AA180937@hinge.mistral.co.uk> NNTP-Posting-Host: faui90.informatik.uni-erlangen.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.04C-SGI [en] (X11; I; IRIX 6.3 IP32) Craig Graham wrote: > Christoph Luerig wrote: > > > This brings me to a quite interesting extension idea, that would solve > > this whole problem. The idea would be to implement a malloc routine, > > that gets besides thed required memory the position where this memory > > > should start as an extra parameter. As a result this method would return > > Better is a heap manager that understands a non-contiguous memory pool(so, > you would in effect call an 'extend heap' type function to add an extra > chunk of memory to the heap (which would then be allocated from > transparently using standard malloc/free). This is a pretty simple extension > > This would be of course the better solution, as it would probably also reduce memory fragmentation. > > either success or not. I know that this is absolutely ridiculous, but > > the fact, that the batch file uses absolute addresses for their data to > > preload and the fact that some people > > insist on using this method, makes it necesarry to think about absolute > > addressing problems in the program. This is very pitty to my mind, as I > > think, that > > the Codewarrior programming environment shields the programmer quite > > effectively from these uninteresting low level details. > > A better solution (I keep saying) is to do a serial based fileserver. I'm > sureMaurice Sibrandi could add it to Yaroze Master easily as it already does > This was the solution I originally implemented. I think it is also the best one. The reason, why I have switched over to the discussed solution can be deduced from the CodeWarrior and Net Yaroze thread above. Christoph