Subject: [patch] gcc 4.3.0 fixes
Hi mamedev,
GCC 4.3.0 was recently released, and some adjustments need to be made
to MAME to compile successfully with it. The idectrl.c change is only
needed to silence gcc's overwrite warnings, the code is correct as
written. The tx1.c change on the other hand is a bug spotted by the
stricter checks in the new compiler.
[Note only the tx1 changes were accepted]
Subject: Removal of Periodic int hack
Removed improper use of PERIODIC_INT in mpu4, to use new timer devices.
Also corrected 50Hz timer in MPU4 Video games.
Subject: fix for 01560
--
From: RansAckeR
Subject: fix for 01525
As is noted in the source: "The NMI handler just handles the "Stop Mode" dip
switch."
0xf801 is written to when the game is continued in stop mode, this should
not have been changed to watchdog_reset_w in 0.73
Off course this is all just a guess.
Subject: [bugfix] gnga: load correct graphics roms
I used to play the alternate version of Ghost'n'goblins in my arcade,
and I can remember the cross as the last weapon instead of the shield,
which on the other side, is shown in the square below the playing
ground.
In MAME that version was once known as a clone named "gngcross", which
was then renamed to "gnga" starting with 0.35rc2, and merged with
original set.
Unfortunately, rom list for the clone is wrong: it's been pasted from
original set "gng", whilst a couple of graphics roms must be loaded from
"makaimur" instead. You can see this by yourself comparing sources from
0.35rc1 and 0.35rc2.
The attached patch was obtained from SDLMAME on a Linux box, on release
0.123u6. I can't test it compiling MAME code, however this obviously
affects mainline too.
Thanks and keep up your good work!
Cheers,
Cesare Falco
(SDLMAME Ubuntu maintainer).
In drivers\seta.c, the zombraid gun input ports should be changed as
per the attached text file. The current crosshair settings work only
with the default power-on settings. The updated code works with
calibrated settings.
Subject: Unnecessary assert in video.c
The assert
assert(machine->config->devicelist != NULL);
in video.c causes the MESS mk1 driver to fail because it doesn't have
any devices - no screens and no sound devices. It works fine when the
assert is removed.
--Dirk
Removed malloc/calloc/realloc/free link-time overrides; we now
rely exclusively on compile-time overrides.
Made a few tweaks toward getting mingw-w64 working, but there
are still linker issues.