> > NestorMan is a resident dynamic memory manager.
>
> So what is the added value compared to the MSXDOS-2 routines for memory
> management?
DOS 2 only lets you to reserve a whole segment. With NestorMan you can
reserve smaller blocks within the reserved segments. Besides, next
version will include also chained list management routines.
> And what is the added value to Memman?
I was expecting this question 8-)
I don't know the answer, because I don't know about MemMan capabilities.
I just wanted to program my own memory manager, and I put it in my web
page so maybe someone will find it useful.
> And how about a memory
> manager that makes it possible to define large structures (>64kB) from
> within a C program?
I think this can be done in a (relatively) easy way using the chained
list routines mentioned above.
> Kind of like a malloc() in C ?
Yes, but with the obvious difference: MALLOCed memory is directly
accessible, but to access NestorMan reserved blocks you need to use the
segment read/write/switch/data transfer routines (except if you reserve
memory on TPA)
> Does it use Memman ?
No, it bases only on the DOS 2 segment management routines.
> I don't think a third kind of memory management that is incompatible with the
> two others will be verry usefull, esp. since DOS2 and Memmam have a userbase
> and yours is brandnew without any clear advantages.
Okay okay, don't punch me too strong! X-)
As I said before, I don't intend to create a new standard but just to
make my last NestorWare available for everyone. Maybe someone finds it
useful for a concrete application.
But BTW, I don't see any incompatibility, as long as MemMan uses DOS 2
memory routines correctly.
> (most people will ask for
> mapper pages of 16kB so having multiple ranges of a few bytes doesn't seem an
> advantage to most MSX programmers.)
You said it. MOST programmers, but not ALL programmers. ;-)
Maybe you will change your thinking when NestorMan has chained list
management routines. This is a bit more useful, right? (^o^)
*** XIX MSX USERS MEETING IN BARCELONA: APRIL 29th 2001 ***
--------------------------------------------------------------------------------------------------------------------------
Konami Man - AKA Nestor Soriano (^^)v
http://www.konamiman.com - [EMAIL PROTECTED]
ICQ#: 18281450
"Celebrating the imprudences must be unfailingly consequent with it said,
not for the fact in itself, but for some that another onomatopoeia to the use"
--------------------------------------------------------------------------------------------------------------------------
--
For info, see http://www.stack.nl/~wynke/MSX/listinfo.html