Commit Graph

7156 Commits

Author SHA1 Message Date
Phil Bennett
d536755b09 Removed some rogue occurrences of 'x1snd' resulting from device tag mass-change 2009-11-20 10:08:25 +00:00
Fabio Priuli
737b583448 Added driver data struct to beaminv.c
Added driver data struct and save states to blmbycar.c
2009-11-20 09:58:37 +00:00
Aaron Giles
f0cdba5b11 Cleanups and version bump. 2009-11-20 06:50:40 +00:00
Jim Stolis
620a6cbe4b drw80pkr - more code cleanup, no additions to whatsnew here 2009-11-20 04:38:07 +00:00
Brian Troha
8b7f643612 enable a couple of Naomi games that are now old enough to be included. Revert in needed. no what's new 2009-11-20 02:24:36 +00:00
Fabio Priuli
d9967c1e94 forgot to save one last change I did to arkanoid.c... 2009-11-20 00:47:32 +00:00
Fabio Priuli
dcb1342d42 - Added driver_data struct to arkanoid.c
- Added driver_data struct and save states to hexa.c
2009-11-20 00:41:58 +00:00
Jim Stolis
ad5a31d1d3 drw80pkr - more graphics/memory cleanup and preliminary input support 2009-11-20 00:13:15 +00:00
Fabio Priuli
cba7af8e5b Added save states to bionicc.c
Out of whatsnew: this driver also has 99% of driver data stored in the struct. 
it still misses paletteram16, which currently uses a generic handler(and hence does not fit the struct approach), but I wanted save states so much for this game that I commit it anyway :-)
2009-11-19 23:22:24 +00:00
Phil Bennett
aa2e1eb445 Fixed possible NULL pointer dereference in video/dec0.c [Oliver Stoneberg]
---------- Forwarded message ----------
From: Oliver Stöneberg <oliverst@online.de>
Date: Mon, Nov 16, 2009 at 7:59 PM
Subject: possible NULL pointer dereference
To: submit@mamedev.org


This pacth fixes a possible NULL pointer dereference in
src/mame/video/dec0.c reported by cppcheck.
2009-11-19 23:18:09 +00:00
Fabio Priuli
205846afd7 Added driver_data struct to astrof.c, ambush.c and angelkds.c 2009-11-19 23:16:22 +00:00
Phil Bennett
d433391568 Added dual screen output to the Konami GX Type 3/4 games [David Haywood]
-----Messaggio originale-----
Da: David Haywood [mailto:neohaze@nildram.co.uk]
Inviato: martedì 17 novembre 2009 0.44
A: Philip Bennett; Angelo Salese
Oggetto: Konami GX Type3/4 dual output

this starts to add dual screen output to the Koanmi GX Type 3 /4 games.

they're probably missing a sprite base register, because if you turn the
dipswitch for 2nd monitor on they're using the wrong spritelist, even in
Soccer Superstars, but otherwise the games automatically bank the
tilemaps in an appropriate way.

Kale, they seem to trigger extra protection writesi in this mode?

btw, Aaron, is there a way to tell MAME to default to a SINGLE screen
layout, but still give the dual screen layout in the video options, that
would better suit these games than displaying 2 screens by default
(because the 2nd screen only tells you that it's disabled at the moment)
2009-11-19 23:10:11 +00:00
Fabio Priuli
5020027c32 Added driver_data struct to appoooh.c and boxer.c. Also merged boxer video emulation into drivers/boxer.c.
Notice that state saves still do not work for boxer, due to timers which need to be untangled. I hope to work more on this issue in the weekend.
2009-11-19 20:36:19 +00:00
Fabio Priuli
d6ab329f41 Added driver_data struct and save states to bankp.c, battlane.c, blockade.c, blueprnt.c, brkthru.c and bsktball.c 2009-11-19 20:32:12 +00:00
Angelo Salese
4f0e1dc0a8 hng64: work-around to get to the character screen in Samurai Shodown 64, hangs again after it 2009-11-19 19:31:05 +00:00
Wilbert Pol
d28c77d4fb Added missing sound type check. 2009-11-19 19:31:04 +00:00
Jim Stolis
752068a42c drw80pkr - additional graphic fixes. 2009-11-19 13:53:03 +00:00
Fabio Priuli
a7d1114325 Added driver_data struct and save states to battlex.c, carjmbre.c, popper.c and spaceg.c
...some Omori love ;)
2009-11-19 08:40:17 +00:00
Aaron Giles
cf62f4e8bc Put minimum tag length back to 2 characters for now. 2009-11-19 05:34:46 +00:00
Jim Stolis
5709ada61a Renamed drw80pkr to drw80pk2. Appears to be later version and MN jurisdiction specific.
Replaced drw80pkr with older dump from [Team Europe].

drw80pkr:
- Added various graphics improvements and corrected colors.  Game boots much farther and cleaner.
2009-11-19 04:10:44 +00:00
Fabio Priuli
15b0c50409 Added driver_data struct and save states to astinvad.c and avalnche.c 2009-11-19 00:57:14 +00:00
Angelo Salese
511f74f7f6 hng64: removed Program Counter-based routines in Samurai Shodown 64 1/2, this fixes the first episode that can now be coined up, however it hangs soon after that 2009-11-19 00:34:33 +00:00
Angelo Salese
6787330805 hng64: improved MCU simulation and added inputs in Beast Busters 2nd Nightmare, it can now reach gameplay mode too. 2009-11-19 00:01:08 +00:00
Fabio Priuli
69e98c3a1e Forgot to commit this: Added driver_data struct to aeroboto.c 2009-11-18 23:26:26 +00:00
Fabio Priuli
df5e775183 Added driver_data struct and save states to atarifb.c 2009-11-18 23:24:43 +00:00
Fabio Priuli
b5af35345a Added driver_data struct and save states to n8080.c 2009-11-18 23:20:30 +00:00
Fabio Priuli
09cb5b9ffc Added driver_data struct to adp.c, albazc.c and arabian.c
Out of credits, I also added: 
* save states to adp.c (because part of the struct was already there), but nothing is working => no flag; 
* save states to albazc.c, but I don't want credit, since no variable needed to be saved (i.e. save states were already there)
2009-11-18 23:12:34 +00:00
Angelo Salese
68f3c5b386 hng64: rewritten the MCU simulations, basically to be more clean than before 2009-11-18 20:19:56 +00:00
Fabio Priuli
462870d6ad Added driver_data struct to ace.c 2009-11-18 19:22:01 +00:00
Scott Stone
4eb5f07a9c Verified/changed clocks and vsyncs on the following games: Aerofighters (only vsync), Power Spikes, Turbo Force (only vsync), Guzzler/Swimmer (same pcb), Exerion and Karate Champs Vs. [Corrado Tomaselli] 2009-11-18 19:02:03 +00:00
Fabio Priuli
d1903dddb1 Fixed wrong order parameters in memset (spotted by Beledgol) 2009-11-18 18:32:07 +00:00
Aaron Giles
ad062c9e43 Fix TLBMOD exceptions so they also properly set BadVAddr. 2009-11-18 15:46:52 +00:00
Fabio Priuli
0e9664b331 Added driver_data struct to 1942.c and 1943.c. Also moved 1943.c to use memory_configure_bank in place of memory_set_bankptr.
Side-notes (not worth mention): 
* I fear we were missing a local static array in 1942 save states (now it is saved)
* I haven't found a better way to configure 1943 banks than to split the 0x4000 bank into 4 pieces. can anyone come up with a better approach?
2009-11-18 15:30:40 +00:00
Fabio Priuli
ea72b5770d Added tentative PORT_CUSTOM(eepromdev_bit_r) for EEPROM devices.
Not 100% sure this is the better way to implement this (we pass the eeprom tag as parameter of the PORT_CUSTOM), but I haven't been able to find a better solution.

No driver uses this yet, so I'm open to any suggestion before to use it extensively ;)
2009-11-18 13:26:30 +00:00
Fabio Priuli
778aebca90 Updated 20pacgal to use EEPROM device. Proper save state support still needs some work (to handle the rom banking mechanism).
Updated galgbios to use EEPROM_NODEFAULT.
2009-11-18 12:59:47 +00:00
Fabio Priuli
514c637bbe Added a MDRV_EEPROM_NODEFAULT_ADD macro for drivers which do not need default data size / data
I don't like too much this solution, but now the code is self contained: hence, better fixes (e.g. no MDRV_DEVICE_CONFIG_DATAPTR(eeprom_config, default_data, &_data) at all for the NODEFAULT eeprom?) could be added without further modifying the behavior across the drivers.
2009-11-18 12:56:36 +00:00
Fabio Priuli
1a9e28c419 Added driver_data struct to 4enraya.c 2009-11-18 12:51:25 +00:00
Jonathan Gevaryahu
2aa28ef3d9 fix crash bug 2009-11-18 08:56:19 +00:00
smf-
2fb6585733 removed include of non existant irem.h 2009-11-18 08:37:46 +00:00
Jonathan Gevaryahu
3dbbc11f0d Got rid of R->OldNoise since it causes problems for gamegear/sms. Changed noise taps accordingly. Redid change to gamegear/sms for XOR vs XNOR, now verified by Justin Kerk. Verified gamegear noise taps thanks to sample provided by Justin Kerk.
Add stereo sound support to sn76496.c for gamegear. [Lord Nightmare, Justin Kerk]
2009-11-18 08:09:19 +00:00
Fabio Priuli
c3ea836b07 Not worth any mention: fixed a couple of unknown manufacturer 2009-11-18 07:29:43 +00:00
Fabio Priuli
d8588f632f Added save state support and driver data struct to m10.c, m14.c, m52.c, m57.c, m58.c, m62.c, m63.c and travrusa.c.
Merged some include files and merged audio/fghtbskt.c in drivers/m63.c.
2009-11-18 06:47:40 +00:00
Aaron Giles
693024974e Fix assertion in DRC. 2009-11-18 06:12:50 +00:00
Angelo Salese
f9a9cbe81b hng64: Improved the Samurai Shodown 64 2 i/o simulation comms, now inputs works and enters into proper gameplay 2009-11-17 23:43:08 +00:00
Scott Stone
ef6e492a40 Fix for r7200 changes to allow nndmseal to boot once again. [David Haywood] (no whatsnew needed) 2009-11-17 22:35:24 +00:00
Phil Bennett
6fbe49dcb9 Replaced model3.c fatalerror() calls with development-friendly logerror() calls. Also allows dayto2pe to boot again. 2009-11-17 20:40:34 +00:00
Fabio Priuli
5d6b32a8a5 it might help to save latest version of the files before commit: this properly adds save state flag to marineb.c games 2009-11-17 18:55:47 +00:00
Fabio Priuli
2548154f87 Added save state support to marineb.c
Added driver data struct to espial.c, marineb.c & zodiack.c
2009-11-17 18:51:55 +00:00
Fabio Priuli
112a759ceb Added driver data struct and save state support to pandoras.c 2009-11-17 18:07:30 +00:00
Fabio Priuli
0ce54a4eda Fix for MT03535: 3stooges: P1-P2-P3 button does not match documentation (input (this game))
Please credit Haze for this fix.
2009-11-17 17:48:19 +00:00