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

Re: [MiNT] booting and _mint_setenv



> 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?

This was things remain elegant, and we don't need TOS environment anyways.

--
CVV
Konrad M.Kokoszkiewicz, http://draco.atari.org

** Ea natura multitudinis est,
** aut seruit humiliter, aut superbe dominatur.
** Taka to juz natura pospólstwa, albo sluzalczo sie plaszczy,
** albo bezczelnie sie panoszy. (Liwiusz XXIV, 25).