--------------------------------------------
The Last Starfighter (prototype) [Phil Bennett, Ken Van Mersbergen]
Air Race (prototype) [Phil Bennett, Ken Van Mersbergen]
--
From: Atari Ace <atari_ace@frontier.com>
Date: Tue, Aug 3, 2010 at 3:03 PM
Subject: [patch] Convert seta/seta2/ssv to driver_data
To: submit@mamedev.org
Cc: atariace@hotmail.com
Hi mamedev,
This patch removes all global variables from seta.c, seta2.c and
ssv.c. The number of AM_BASE() macros drops by 4% from 3111 to 2989.
Note: ssv.h and seta2.h are new files.
~aa
[Atari Ace]
--
From: Atari Ace <atari_ace@frontier.net>
Date: Mon, Aug 2, 2010 at 5:07 AM
Subject: [patch] Remove globals from gaelco, namco and nile sound cores
To: submit@mamedev.org
Cc: atariace@hotmail.com
Hi mamedev,
This patch removes some global variables from the gaelco, namco and
nile sound cores. Properly implemented devices should have
all their variables in their device state to allow for multiple
instances.
~aa
Defined new class driver_data_t, which all driver_data classes must
derive from. Updated all class definitions to inherit from the new
class, and to call it in the constructor. Also changed the alloc()
signature to return a driver_data_t pointer instead of a void *.
Renamed and hid machine->driver_data as machine->m_driver_data.
Added a new templatized method machine->driver_data<class> which returns
a properly downcast'ed version of the driver data. Updated all code
which looked like this:
mydriver_state *state = (mydriver_state *)machine->driver_data;
to this:
mydriver_state *state = machine->driver_data<mydriver_state>();
The new function does a downcast<> which in debug builds dynamically
verifies that you're actually casting to the right type.
Changed atarigen_state to be a base class from which all the related
Atari drivers derive their state from.
For MESS: this was mostly a bulk search/replace, in 4 steps in
src/mame:
1. Add ": public driver_data_t" to each driver state class definition:
Search: (class [a-z0-9_]+_state)$
Replace: \1 : public driver_data_t
2. Change the static alloc function to return a driver_data_t *:
Search: static void \*alloc\(
Replace: static driver_data_t \*alloc\(
3. Change the constructor to initialize driver_data_t:
Search: ([a-z0-9_]+_state\(running_machine \&machine\)) { }
Replace: \1\r\n\t\t: driver_data_t(machine) { }
4. Replace the state fetchers to use the new templatized function:
Search: \(([a-z0-9_]+_state) \*\)(.*)machine->driver_data
Replace: \2machine->driver_data<\1>()
New Clones Added
------------------------------------
Super Megatouch IV Turnier Version (9255-51-50 ROA, Bi-Lingual ENG/GER version) [bodger319, Smitdogg, The Dumping Union]
Megatouch 5 Turnier Version (9255-70-50 RON, Bi-Lingual ENG/GER version) [bodger319, Smitdogg, The Dumping Union]
up the definition, rather than the whole tokenizing system, which lost type
checking. Added a new module addrmap.c which implements the address map
classes, and changed the macros to call methods on the address_map and
address_map_entry classes which are strongly typed.
Fixed a few incorrectly specified memory map entries along the way. Please
double-check to make sure the behavior is expected in: twincobr.c, lordgun.c,
galaxold.c.
This change also means that since the address_maps are now constructor
functions, they are detected when not used, so a number of #ifdef UNUSED_CODE
were added around dangling address map definitions.
Also included with this change:
- removed cputag_clocks_to_attotime() and cputag_attotime_to_clocks() in
favor of just expanding the class
- same for cputag_suspend() and cputag_resume()
Since it's driven by a HD647180X0CP6 (Subsino - SS9600)
plus SS9601 and SS9602 (for video and I/O respectively),
it's possible that needs to be moved to a new driver in
a near future. Also added technical notes. [Roberto Fresca]
New games marked as GAME_NOT_WORKING
------------------------------------
Magic Train [Roberto Fresca]
* Initial release.
* Preliminary memory map.
* Hooked both PIAs, but need more analysis to confirm the offsets.
* Accurate graphics and color decode.
* Added main PCB and daughterboard layouts.
* Added partial docs and diagrams about the CPU/MCU/ROMs addressing.
* Added debug and technical notes.
New games marked as GAME_NOT_WORKING
------------------------------------
Mega Double Poker (conversion kit) [Roberto Fresca, ChrisQC, Smitdogg]
* Added a new complete set. Now set as parent.
* Corrected Xtal frequency.
* Mapped the PIA MC6821 (not wired since is not totally understood).
* Preliminary attempt to decode the color PROM.
* Mapped the AY-3-8910, but still needs ports and some checks.
* Added debug and technical notes.
New games marked as GAME_NOT_WORKING
------------------------------------
Mini Boy 7 (set 1) [Roberto Fresca, Siftware]
* Identified several more sets as MVS / AES Version and tagged them properly
* Updated game PCB info
* bakatono: Removed BAD_DUMP from m1 - is correct, corrected game name
* mahretsu: Added correct s1, corrected game name
* strhoop: Added correct v2
* sdodgeb: Replaced 16mbit v1/v2 with 32mbit v1 as found on two original cards
* Added Japan J3 bios
New clones added
================
Quiz King of Fighters (Korean release)
Real Bout Fatal Fury Special / Real Bout Garou Densetsu Special (Korean release)
Quiz Daisousa Sen - The Last Count Down (Korean release)
-----------------------------------------------------------------------------------------------
Submission from Johnboy for Mame v0.138u4
Changed files:
===============
src\mame\mamedriv.c
src\mame\drivers\neodrvr.c
Changes:
========
. Identified several more sets as MVS / AES Version and tagged them properly
. Updated game pcb info
. bakatono: Removed BAD_DUMP from m1 - is correct, corrected game name
. mahretsu: Added correct s1, corrected game name
. strhoop: Added correct v2
. sdodgeb: Replaced 16mbit v1/v2 with 32mbit v1 as found on two original cards
. Added Japan J3 bios
----------------
NOTE: I ported three Korean sets from WinKawaks. I do NOT want to be named/credited for these sets (quizdaisk, quizkofk, rbffspeck).
----------------
The required binaries can be found here (too big to attach): http://www.sendspace.com/file/4e84ph
---------- Forwarded message ----------
From: Sandro Ronco <sandro.ronco@gmx.com>
Date: Mon, Jul 26, 2010 at 6:07 PM
Subject: [HD63701]Fix slp opcode
To: submit@mamedev.org
Fixed SLP opcode basing on HD63701 and HD6303 datasheet.
This is need for psion driver in MESS, but I did some testing in MAME
and I have not seen regressions.
Probably nobody noticed this before because this opcode is almost
unused in arcade machine.
If you want have a confirmation of this you can see the diagram at
page 14 of the HD63701 datasheet or at page 24 of the HD6303
datasheet, where it is clear that the "sleep cancel signal" is not
conditional at the IRQ mask.
Regards
Sandro Ronco
---------- Forwarded message ----------
From: Atari Ace <atari_ace@verizon.net>
Date: Sun, Jul 25, 2010 at 4:38 PM
Subject: [patch] Fix print_game_rom to search all parents for merges
To: submit@mamedev.org
Cc: atariace@hotmail.com
- Hide quoted text -
Hi mamedev,
One minor problem I noticed awhile ago is a discrepancy between
romload.c and info.c. Romload.c will load a rom for a clone from any
of its parents, but info.c only considers roms in the immediate
parents to be merge roms. This patch fixes that, making info.c search
all parents for merges. In practice this can only go to two parents
(a parent and a bios) due to constraints in validity.c, but that's
enough for it to affect a few games in suprnova.c (e.g. galpani4k).
~aa
Southern Systems & Assembly, Ltd. Figured out the memory map.
Also added technical notes about the hardware. [Roberto Fresca]
New games marked as GAME_NOT_WORKING
------------------------------------
Southern Systems Joker Poker [Roberto Fresca, Siftware]
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Speed Drop [Brian Troha, Luca Elia, The Dumping Union]
--------- Forwarded message ----------
From: Atari Ace <atari_ace@verizon.net>
Date: Sat, Jul 24, 2010 at 12:49 AM
Subject: [patch] driver_data changes for drivers using atarigen
To: submit@mamedev.org
Cc: atariace@hotmail.com
Hi mamedev,
I noticed that atarigx2, beathead, and offtwall were only partially
converted to use driver_data. This patch migrates additional static
variables.
~aa
---------- Forwarded message ----------
From: Atari Ace <atari_ace@verizon.net>
Date: Sun, Jul 18, 2010 at 9:43 PM
Subject: [patch] Fix 03318: -burnin causes crash in vector games
To: submit@mamedev.org
Cc: atariace@hotmail.com
- Hide quoted text -
Hi mamedev,
This patch fixes bug 03318, a crash associated with -burnin on vector
games. -burnin doesn't work for vector games (they lack bitmaps), but
at least it won't crash anymore. I also fixed the code to not assume
the bitmaps were identically sized. update_burnin made that
assumption, but finalize_burnin did not in some places.
~aa
mediagx.c: Converted to use driver_data [Atari Ace]
---------- Forwarded message ----------
From: Atari Ace <atari_ace@verizon.net>
Date: Sun, Jul 18, 2010 at 5:15 PM
Subject: [patch] Fix 03777 a51site4: Hang after loading via internal
UI (multisession)
To: submit@mamedev.org
Cc: atariace@hotmail.com
Hi mamedev,
This patch converts mediagx to use driver_data, which as a side effect
fixes bug 03777.
~aa
* Added missing PALs as reference to most of remaining sets
* Dumped and added TK24B1.1A to dynwar [Corrado Tomaselli]
* Fixed LW-13.10D rom loading in forgottn to match real pcb
* Identified, verified and documented a ton of pcbs, adding/fixing missing/wrong infos as ROMs labels and positions, B-Board, C-Board and CPSB IDs, PALs [Stefan Lindberg, Dlfrsilver, MKL]
* Reordered all sets per release date in cps1.c and video\cps1.c
* Updated games table in video\cps1.c and added some notes on PALs table
* Minor cleanups
Correct rom names as per labels which lists the sum16 values of the roms.
Marked the tms320e15.bin as BAD_DUMP with a note about it being hand repaired.
Eventually the MCU from this PCB will be sent for decapping to compare against what we have.
New Clone Added
--------------------------------
AmeriDarts (set 3) [Brian Troha, The Dumping Union]
Standardized rom names, reordered the Mortal Kombat sets to descending order like all the other sets. Added "Prototype" to the Trog PA6 game description.
New Clone Added
--------------------------------------
Terminator 2 - Judgment Day (rev LA4 08/03/92) [Gor, Smitdogg, The Dumping Union]
- Updated parse_ini_file so before INI is loaded set of driver name is done, and therefore needed callback is executed.
This fixes issue that when running MESS you are able to mount images even if you did not start driver directly, before this change we got unknown ini options warnings. (no whatsnew)