Release Date

MAME 0.145u1 was released on 19 February 2012.


The known contributors for this version are, in alphabetical order:

Specific Contributions

The known contributions for this version are, in the order specified in the whatsnew:

  • Andrew Gardner provided minor improvements to the Cool Riders text layer.
  • O. Galibert updated the m68k core: 68040 MMU improvements.
  • Carl updated the i386 core: Fixes for DOS4GW 1.97.
  • Carl updated the i386 core: Trap flag support.
  • O. Galibert provided a new modern object-oriented bus-signals-available SCSI implementation.
  • Miodrag Milanovic made IDE controller support two slots, currently used devices are made as slot devices.
  • Phil Bennett provided Namco System 21/2 changes:
    • Writing a C148 IRQ priority register now clears the prior interrupt state (required by dirtfoxj and winrun).
    • Changed 'Winning Run Suzuka Grand Prix (Japan)' setname to winrungp.
    • Promoted winrungp and winrun91 to working.
  • Takahiro Nogi updated tsamurai.c: Fixed clocks and audio pitch.
  • Ryan Holtz added polynew.h multithreaded-render support to N64 RDP emulation. Speedup ratios of 1.6x to 2.8x observed.
  • hap redid 30test layout, resembling the cabinet more.
  • couriersud updated sdl os-core to compile against stock SDL-2.0:
    • The SDL team has moved from 1.3 to 2.0. At the same time, changes were made to allow SDL1.2 and SDL2.0 to coexist. All SDL2.0 include files are now in /usr/include/SDL2.
  • Added sdlinc.h to avoid having tons of #ifdef .. #include in the code.
    • Scalemode is no longer a per-window setting.
    • Fixed a bug in YUV rendering.
    • Use SDL_GetClipboard (SDL2.0).
    • Updated README_SDL20.txt.
    • Currently, SDL 2.0 is only supported on *nix. Volunteers welcome.
  • Ryan Holtz provided various N64 stability fixes.
  • Phil Bennett updated Steel Talons: Fixed controls and removed the MSP speedup hack which was causing the game to reset at certain points.
  • Ryan Holtz updated the N64 driver: Partially fix PIF access, several more games recognize cart SRAM, cart FlashROM, cart EEPROM, and controller paks.
  • O. Galibert updated the 68040 core: Fix for fsave opcode.
  • Couriersud added support for (track)balls to osd/sdl.
  • Couriersud fixed testkeys to work with SDL2.0. Keymaps can now contain SDL1.3 and SDL2.0 mappings. Updated km-de.txt as an example.
  • Aaron Giles provided a major CHD/chdman update:The CHD version number has been increased from 4 to 5. This means any diff CHDs will no longer work. If you absolutely need to keep the data for any existing ones you have, find both the diff CHD and the original CHD for the game in question and upgrade using these commands: rename diff\game.dif diff\game-old.difchdman copy -i diff\game-old.dif -ip roms\game.chd -o diff\game.dif -op roms\game.chd -c none. Specifics regarding this change:
    • Defined a new CHD version 5. New features/behaviors of this version:
      • support for up to 4 codecs; each block can use 1 of the 4.
      • new LZMA codec, which tends to do better than zlib overall.
      • new FLAC codec, primarily used for CDs (but can be applied anywhere).
      • upgraded AVHuff codec now uses FLAC for encoding audio.
      • new Huffman codec, used to catch more nearly-uncompressable blocks.
      • compressed CHDs now use a compressed map for significant savings.
      • CHDs now are aware of a "unit" size; each hunk holds 1 or more units (in general units map to sectors for hard disks/CDs).
      • diff'ing against a parent now diffs at the unit level, greatly improving compression.
    • Rewrote and modernized chd.c. CHD versions prior to 3 are unsupported, and version 3/4 CHDs are only supported for reading. Creating a new CHD now leaves the file open. Added methods to read and write at the unit and byte level, removing the need to handle this manually. Added metadata access methods that pass astrings and dynamic_buffers to simplify the interfaces. A companion class chd_compressor now implements full multithreaded compression, analyzing and compressing multiple hunks independently in parallel. Split the codec implementations out into a separate file chdcodec.*.
    • Updated harddisk.c and cdrom.c to rely on the caching/byte-level read/ write capabilities of the chd_file class. cdrom.c (and chdman) now also pad CDs to 4-frame boundaries instead of hunk boundaries, ensuring that the same SHA1 hashes are produced regardless of the hunk size.
    • Rewrote chdman.exe entirely, switching from positional parameters to proper options. Use "chdman help" to get a list of commands, and "chdman help <command>" to get help for any particular command. Many redundant commands were removed now that additional flexibility is available. Some basic mappings:
      • Old: chdman -createblankhd <out.chd> <cyls> <heads> <secs> New: chdman createhd -o <out.chd> -chs <cyls>,<heads>,<secs>
      • Old: chdman -createuncomphd <in.raw> <out.chd> .... New: chdman createhd -i <in.raw> -o <out.chd> -c none ....
      • Old: chdman -verifyfix <in.chd> New: chdman verify -i <in.chd> -f
      • Old: chdman -merge <parent.chd> <diff.chd> <out.chd> New: chdman copy -i <diff.chd> -ip <parent.chd> -o <out.chd>
      • Old: chdman -diff <parent.chd> <compare.chd> <diff.chd> New: chdman copy -i <compare.chd> -o <diff.chd> -op <parent.chd>
      • Old: chdman -update <in.chd> <out.chd> New: chdman copy -i <in.chd> -o <out.chd>
    • Added new core file coretmpl.h to hold core template classes. For now just one class, dynamic_array<> is defined, which acts like an array of a given object but which can be appended to and/or resized. Also defines dynamic_buffer as dynamic_array<UINT8> for holding an arbitrary buffer of bytes. Expect to see these used a lot.
    • Added new core helper hashing.c/.h which defines classes for each of the common hashing methods and creator classes to wrap the computation of these hashes. A future work item is to reimplement the core emulator hashing code using these.
    • Split bit buffer helpers out into C++ classes and into their own public header in bitstream.h.
    • Updated huffman.c/.h to C++, and changed the interface to make it more flexible to use in nonstandard ways. Also added huffman compression of the static tree for slightly better compression rates.
    • Created flac.c/.h as simplified C++ wrappers around the FLAC interface. A future work item is to convert the samples sound device to a modern device and leverage this for reading FLAC files.
    • Renamed avcomp.* to avhuff.*, updated to C++, and added support for FLAC as the audio encoding mechanism. The old huffman audio is still supported for decode only.
    • Added a variant of core_fload that loads to a dynamic_buffer.
    • Tweaked winwork.c a bit to not limit the maximum number of processors unless the work queue was created with the WORK_QUEUE_FLAG_HIGH_FREQ option. Further adjustments here are likely going to be necessary.
    • Fixed bug in aviio.c which caused errors when reading some AVI files.
  • Ryan Holtz fixed an issue with text being missing in some Aleck 64 games.
  • Ryan Holtz reduced memory usage in the N64 driver.
  • Ryan Holtz added warm reset support to N64 hardware.
  • David Haywood added new CHD codec: CD-FLAC which knows how to shuffle CD data to more optimally use FLAC. Updated flac wrapper to implement a tell callback so FLAC can tell us how much we've decoded. Updated chdman to use CD-FLAC codec in preference over the existing codecs for CDs by default.
  • Aaron Giles made CHDMAN fail initializing the CD-FLAC codec if the hunk size is not CD-compatible.
  • Aaron Giles centralized detection of existing output files. Add detection (require --force) for extracted files as well. Move checks outside of try/catch so that the files are not subsequently deleted.
  • Aaron Giles moved all-0 detection to the write path. Use hunk_info on the compression path to detect whether the write went through.
  • Tafoid changed sample pack names for alphamc07 -> equites and aristmk4 -> 3bagflvt to match up sample to an actual setname.
  • Hans Ostermeyer updated the mc146818 core: remove previous Apollo hack, fix 32768 Hz. Updates.
  • Hans Ostermeyer updated the m68k core: fix FSGLMUL/FSGLDIV plus some minor MMU improvements.
  • Guru updated the namcos23 driver: documentation update.
  • Dave Haywood updated vamphalf.c: Added correct speed up to Diet Family.
  • Ryan Holtz provided assorted N64 SP/DP/CPU comms accuracy fixes.
  • Aaron Giles rewrote SAMPLES as a modern device. Updated all callers. FLAC reading is now done using the FLAC wrapper. There is now a samples_iterator class to centralize the logic for handling the sample list walking.
  • Aaron Giles redid the cheesy half-baked votrax device since it relied on some old samples-based handling. Until we have a real implementation, it would be good to route the various clients through the current one to at least wire it up properly, even if it just plays samples in the end. Will look into that shortly.
  • Carl added windows implementation of pseudo tty access functions over pipes.
  • Ryan Holtz fixed N64 RDP to not try to render a triangle with no spans.
  • Brian Troha provided a Sega Model 2 update:
    • Dumped and hooked up Dynamite Baseball.
    • Dynamite Baseball 97 renamed as dynabb97.
    • Properly renamed 4 MASK ROMs in dynabb97 to match pcb manual.
    • Minor cleanups and fixes.

Game Support

New games added or promoted from NOT_WORKING status

New clones added

New games marked as GAME_NOT_WORKING