[uae] Re: Pointer trails

  • From: Richard Drummond <evilrich@xxxxxxxxxxxxxx>
  • To: uae@xxxxxxxxxxxxx
  • Date: Mon, 8 Mar 2004 23:27:14 -0500

Hi Keith

On Monday 08 March 2004 11:08 pm, you wrote:
> Well I think I've just confirmed your theory.

Great stuff! I now know when it is caused . . . if not precisely why. ;-)

It is, as I suspected, caused when the JIT is enabled but direct memory is 
not. I see from your config, etc. you are allocating 128MB of ZIII memory. 
This causes NATMEM to fail, because glibc cannot allocate a shmem segment 
that large (32MB is the max). Try running UAE with 32MB of ZIII memory to 
confirm this, please.

Thanks for all your hard work testing this . . . Sorry. I should have realized 
what was causing this sooner.

I've been meaning to rewrite the direct memory stuff to use mmap() and friends 
rather than shmget() etc to overcome this limitation. First, though, I'll see 
if I can sort out what's causing the P96 problem when NATMEM is diabled.

Cheers,
Rich

Other related posts: