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

Re: reset vector (was Re: [MiNT] Black crashes)



> > It seems Frank will have two patches for same thing then... this weekend
> > I added the demanded relocation of RESET handler from fast RAM to ST RAM.
> 
> I didn't add a relocation code of RESET handler - I simply added
> 
> if (oldcookie == NULL)
>    install_reset_handler;
> 
> as was suggested by several people here on the list.
> 
> This solution is OK because FastRAM exists only in TOS 2.06 and higher
> (MaddAlt) - and TOS 2.06 handles clearing p_cookie properly. So if you
> have an older TOS that needs a reset handler for clearing p_cookie you
> can't have a FastRAM so relocation of the handler is not needed.

Ok, I like simplicity of your solution.

--
Konrad M.Kokoszkiewicz
|mail: draco@mi.com.pl                  | Atari Falcon030/TT030/65XE |
|http://www.obta.uw.edu.pl/~draco/
|http://draco.atari.org

** Ea natura multitudinis est,
** aut servit humiliter, aut superbe dominatur (Liv. XXIV,25)
*************************************************************
** U pospolstwa normalne jest, ze albo sluzy ono unizenie,
** albo bezczelnie sie panoszy.