[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] booting and _mint_setenv



Hello!

With that the _mint_setenv() doesn't need to be changed and would
look fine. Frank?

Wouldn't it be better to just release the old TOS environment (with TOS
function Mfree(_base->p_env)), zero out the pointer, and then allocate (with
MiNT functions) new block of RAM and setup it as empty environment?

Yes, definitly. I just overseen that the initial pointer is inherited from TOS.


Regards,
Frank

--
ATARI FALCON 060 // MILAN 060
-----------------------------------------
http://www.cs.uni-magdeburg.de/~fnaumann/
e-Mail: fnaumann@freemint.de