How to build Mog's optimized CMI2x (in a nutshell)

Поделиться
HTML-код
  • Опубликовано: 20 окт 2024
  • 1. Download the sourcecode from here:
    github.com/Moo...
    2. Download the source files for the Motorola 6840PTM here;
    github.com/Moo...
    github.com/Moo...
    and copy the files to 'mame-cmi-optimization\src\devices\machine\'
    3. Read the instructions on how to set up the compiler environment for MAME here:
    docs.mamedev.o...
    4. Set the following options in MAKEFILE:
    OPTIMIZE=3
    LDOPTS=-FUSE-LD=LLD
    DEBUG=0
    PROFILER=0
    SYMBOLS=0
    STRIP_SYMBOLS=1
    5. Compile MAME with ARCHITECTURE FLAGS to optimize the code for your CPU:
    A list of the x86 options for the GNU C++ compiler can be found here:
    gcc.gnu.org/on...
    Example:
    make SUBTARGET=mame SOURCES=src\mame\fairlight\cmi.cpp ARCHOPTS="-march=ivybridge"...
    6. Download the preconfigured MAME-CMI2x program folder from here:
    drive.google.c...
    and copy your mame.exe into this folder.
    When using a CPU with a single-thread performance of less than 3,000 MOps/s (Passmark PT11), it is recommended to additionally remove some parts from the emulation.
    Some already optimised source files and a few add-ons are available here:
    drive.google.c...
    © 2024 by B.ART

Комментарии • 1

  • @juliziz
    @juliziz 7 дней назад

    Thanks - you're an absolute hero for putting this together