Re: [hatari-devel] Feature idea/question: primitive memory manager

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


On Mon, 1 Jan 2024 at 16:05, Thorsten Otto <admin@xxxxxxxxxxx> wrote:

But 0x5a0 is only the jar pointer. The actually Jar may be anywhere. And in a lot of cases, it contains pointers to structures that point to some resident program.

True but see below.

And there are certainly other cases where a program legally accesses memory which does not belong to it (think of AV-protocoll etc), and where Hatari cannot track it. And when running mint, you could even have shared memory segments. Lots of things that would have to be tracked, and, most importantly, checked for every memory access.

Maybe I should have mentioned it in the first post: my aim is to avoid running FreeMiNT for detection of illegal memory.. Because if I do run aranym-mmu + freemint, debugging is 10x harder than just firing up Hatari and seeing what's wrong. So I certainly wouldn't use any protocols, ACCs, cookie jars and whatnot. Just run the app, fix, repeat.

So that's why I think even such a crippled version would be hugely useful for developers.

--
http://mikro.atari.org


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/