hello, i was browsing uae 0.8.29's sources and i noticed in memory.c; ... mapped_malloc ... id = shmget (IPC_PRIVATE, s, 0x1ff, file); if (id == 1) { canbang = 0; return mapped_malloc (s, file); } shmget either returns -1 (failed) or identifier, so compare should be against -1 not 1. cheers, -mustafa.