[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] Invalid S?_MAGIC
On Sun, 2 Oct 2011 19:51:00 , Peter Persson <pep.fishmoose@gmail.com> wrote:
>
>
> 2 okt 2011 kl. 19:35 skrev Peter Slegg:
> >
> > The point being that this is the first time anyone has suggested that
> the
> > problem is not in Thing and that there is a fix for it even if it is a
> > case of trial and error.
> >
> > Can the flag be set from Thing or is it a cli hack ?
>
> Hmmà normally you can set it from within Thing, but you can do it from
> the command line too using Flags. Don't ask me for the syntax though,
> because I've forgotten it. For some reason it can't be done with all
> binaries though (and use with caution - som binaries *will* break if you
> change these flags at random).
>
> -- PeP
>
I vaguely remembered hacking the flags on something, took a guess it was
my old version of Texel.
bash-2.05a# flags -P /d/texel.16/texel.app -v
Current flags: 0x00000037.
Fastload flag is set (heap doesn't get cleared).
Altload flag is set (load into alternate RAM).
Altalloc flag is set (allocate memory from alternate RAM).
Program's memory is readable.
bash-2.05a# flags -P /d/texel/texel_e.app -v
Current flags: 0x00000007.
Fastload flag is set (heap doesn't get cleared).
Altload flag is set (load into alternate RAM).
Altalloc flag is set (allocate memory from alternate RAM).
Program's memory is fully protected.
bash-2.05a# flags -R /d/texel/texel_e.app
Current flags: 0x00000037 (were 0x00000007).
bash-2.05a# flags -P /d/texel.16/texel.app -v
Current flags: 0x00000037.
Fastload flag is set (heap doesn't get cleared).
Altload flag is set (load into alternate RAM).
Altalloc flag is set (allocate memory from alternate RAM).
Program's memory is readable.
It seems to have fixed Texel. Thanks.
Regards,
Peter