On Jul 12, 2006, at 2:01 PM, Nickos wrote:

First,
I commented out HAVE_MMAP=1 & Xmame.SDL does build on Zeta, but there is another problem.

When I go to run Xmame.SDL 0.106 (& also tested with Xmame.SDL 0.104 with same result) I get the following errors:
Error in zipfile mslugx.zip
The zipfile seems to be corrupt, please check it
...
Error in zipfile neogeo.zip
The zipfile seems to be corrupt, please check it

Over & over on the screen.

I *believe* I used to get this error when I used the Zlib included with Xmame, but I have it commented out.
# BUILD_EXPAT = 1
# BUILD_ZLIB = 1


and I don't believe Xmame's Zlib is being used. I'm not sure what is causing this problem.

Xmame Versions 0.99 & 0.102 compile & run without issues - work well. I have not tested out 0.103.

So, this *bug* may have been introduced in 0.103 OR 0.104. Any clues on what is causing it?

Does this happen with all roms, or just these files? It's possible the roms have changed for newer versions of MAME.

Second,
I was hoping to get mmap to work. If I knew more about mmap, then maybe I could get it to work. Zeta has an mmap binary file about 15K in size. Also, there is a partial mman.h file (enough that it works).

I'm just not sure when mmap & mapmun are called, how it works. Does it look for them to be defined in header files? Are they in binary format? Are they in the libraries?

They're used by the DRC (dynamic recompiler) CPU emulators, such as MIPS, to allocate memory that can be executed. Without them, newer Intel and AMD CPUs with an NX bit won't be able to run these games. On CPUs or OSes that don't support the NX bit, they don't have any tangible effect.

mmap() and munmap() are defined in <sys/mman.h> and are part of the system libraries on most or all UNIX and similar systems.


_______________________________________________
Xmame mailing list
[email protected]
http://toybox.twisted.org.uk/mailman/listinfo/xmame

Reply via email to