Commit Graph

7545 Commits

Author SHA1 Message Date
Aaron Giles
6f4ff3c823 Moved machine->gfx initialization out of the video module and
into drawgfx. We now call this before devices are initialized,
so that devices can dynamically append to the machine->gfx as
needed.
2009-12-23 17:15:41 +00:00
Aaron Giles
201ea424db Get rid of explicit resource tracking for state saving. Now we just use
the auto_ allocators, since registration is restricted to initialization.
2009-12-23 16:44:55 +00:00
Aaron Giles
680184085a Added "new" command -listdevices (or -ld) to list the devices attached
to a driver. I notice that MESS has a command with the same name; hopefully
the behaviors can be combined eventually.
2009-12-23 16:37:09 +00:00
Aaron Giles
caf41f8f39 Fixed recent regression reports.
Converted rtc65271 to a device.
2009-12-23 16:16:12 +00:00
Fabio Priuli
edaf5442b9 Updated konamigx.c, tmnt.c and mystwarr.c to use eeprom device (and removed init hacks)
Added missing save items in konicdev.c

Also, cleaned up tmnt.c from some dead code I forgot to remove earlier
2009-12-23 08:09:18 +00:00
Roberto Zandona
2b0dc14468 cb2001: added 2 opcodes 2009-12-23 06:59:05 +00:00
Andrew Gardner
06bdbdbe52 Reworked the polygon chunk recovery code to be more crash-proof.
Documented what's known about the 3d data much better.
Fixed vertex ROM loading for fatfurwa and buriki.

(No games should segfault anymore, but they all appear to use the hardware in different ways, 
so this could be fun.)
2009-12-23 06:56:15 +00:00
Aaron Giles
7eace0d29e EEPROM device now looks for a matching memory region to fetch the
default values from. Fixed bug in ROM loader that would change the
memory region flags to match devices with no address bus. Updated
groundfx to use the new default loading scheme.
2009-12-23 06:06:20 +00:00
Angelo Salese
656c6e1f2e Spark Man: Refactored the protection, implemented thrash protection that's used after the title screen 2009-12-23 00:56:16 +00:00
Fabio Priuli
5719b6c623 Converted gaelco3d.c to use eeprom device code. This fixes the regression reported by Tafoid. 2009-12-23 00:24:10 +00:00
Fabio Priuli
367be04864 Updated asterix.c, gijoe.c, hornet.c, lethal.c, moo.c, overdriv.c, rungun.c, vendetta.c, xexex.c & xmen.c to use eeprom device
Also, removed eeprom init hack in all the above drivers and in simpsons.c
2009-12-23 00:10:54 +00:00
Angelo Salese
74966517a9 Fixed sprite bank bit in Spark Man 2009-12-22 23:52:33 +00:00
Roberto Zandona
aa0c3f245f cb2001: 6 new opcodes 2009-12-22 22:45:58 +00:00
Brian Troha
cfecdd9fac New Clone add: Mortal Kombat 4 v1.0 (not working)
Roms pass the self test, but the 3D is messed up.  Aaron will have to check into that.

from the DU list: "credit goes to xrodney (from
Malta, Europe) with the help of HobbyRoms and Patrick McCarron".
2009-12-22 22:44:30 +00:00
Fabio Priuli
742e9eccc9 uncommented a line (my mistake in previous commit) 2009-12-22 22:04:16 +00:00
Fabio Priuli
e9fe258647 Fixed gigamn2 problem at init (and a second issue with sound banking)
Also, done a small cosmetic change to pgm.c (not worth to be mentioned)
2009-12-22 21:50:42 +00:00
Roberto Zandona
b6161dc7f5 cb2001 added 3 opcodes 2009-12-22 20:58:41 +00:00
Angelo Salese
62a8aa1675 Added flickering effect in Super Slams title screen [Angelo Salese, Guru] 2009-12-22 19:18:07 +00:00
Roberto Zandona
8cf551295f cb2001: fixed two opcodes 2009-12-22 18:06:49 +00:00
Fabio Priuli
42dfa7d420 updated plygonet.c to use Konami video devices and input_port_write for eepromdev_read_bit
added supports save flag to cvs.c since Aaron's recent work fixed the remaining issues
2009-12-22 17:56:23 +00:00
Aaron Giles
953ef60d7b Quick cleaning of eepromdev. 2009-12-22 15:33:36 +00:00
Aaron Giles
354a6677eb Converted eeprom to eeprom device in simpsons and plygonet.
This begs the question: shouldn't we remove the auto-init hacks
from games like simpsons? We force most other Konami games to use
the F2/F3 reset technique.
2009-12-22 15:27:42 +00:00
Fabio Priuli
ff7213f6f1 Added save states to ics2115 sound device
Added driver data struct and save states to psikyo.c and pgm.c

Added driver data struct to psikyo4.c and psikyosh.c
2009-12-22 14:49:27 +00:00
Phil Bennett
30dff4284a New clones added
----------------

Pipi & Bibis / Whoopee!! (Z80 sound cpu, set 2) [Dlfrsilver]
2009-12-22 11:26:02 +00:00
Phil Bennett
d4553e147a New clones added
----------------

Caveman Ninja (bootleg) [Dlfrsilver] (NOT WORKING)
2009-12-22 11:16:56 +00:00
Aaron Giles
607d93047b Last round of fixups based on Tafoid's regression list.
Please report anything else you find.
2009-12-22 07:10:15 +00:00
Jonathan Gevaryahu
3d59567c5d Fix megadrive emulation to use the SMSIII version of the sn76489 sound chip.
[Lord Nightmare, DFJustin]
2009-12-22 06:54:37 +00:00
Fabio Priuli
9656342b9a Updated bishi.c and djmain.c to use Konami video devices
Removed unused VIDEO_START from tmnt.c
2009-12-22 01:32:15 +00:00
Phil Bennett
e2368bf447 New clones added
----------------

Blood Bros. (set 3) [Dlfrsilver]
2009-12-22 00:54:13 +00:00
Angelo Salese
33c2b67c39 Fixed Brick Zone parent set bitplane graphics 2009-12-22 00:33:10 +00:00
Phil Bennett
2434ce3fab Eliminated the use of generic.colorram and generic.videoram in several drivers [Atari Ace]
---------- Forwarded message ----------
From: Atari Ace <atari_ace@verizon.net>
Date: Mon, Dec 14, 2009 at 5:43 AM
Subject: [patch] Eliminate generic.colorram
To: submit@mamedev.org
Cc: atariace@hotmail.com


Hi mamedev,

generic.colorram and generic.videoram are unused by the MAME core, and
are simply slots convenient for driver use.  As such, the drivers are
better off using their own driver_data slots for these.  To discourage
further use of colorram, this patch eliminates all current uses of it,
and the uses of videoram as well in the affected drivers.  This is
partially a retrograde step, since ideally we'd like to introduce the
driver_data structs as well for these drivers, but eliminating
colorram and disentangling the various uses of generic makes it on the
balance an improvement IMHO.

~aa
2009-12-21 23:26:32 +00:00
Phil Bennett
2fd263c18b Removed the global "includes" include and instead specify the "includes" path in all #include occurences. [Oliver Stoneberg]
---------- Forwarded message ----------
From: Oliver Stöneberg <oliverst@online.de>
Date: Sat, Dec 12, 2009 at 3:27 PM
Subject: includes cleanup
To: submit@mamedev.org


This patch removes the global "includes" include and explcitly
specifies the "includes" path in all #include occurances.
2009-12-21 23:09:02 +00:00
Roberto Zandona
6e99f3e7c8 cb2001 another opcode 2009-12-21 22:49:57 +00:00
Fabio Priuli
8b75692d5c Updated dbz.c, lethal.c, metro.c, rungun.c, tail2nos.c, tmnt.c, ultraman.c, wecleman.c, xmen.c & zr107.c to use Konami video devices instead of konamiic.h code 2009-12-21 22:28:54 +00:00
Roberto Zandona
1becf25fd5 cb2001 more decrypted opcodes 2009-12-21 22:17:25 +00:00
Brian Troha
432b5eca8e found matching CRC32 checksums for files that had different names. Converted the wrong name to the proper rom label 2009-12-21 22:14:58 +00:00
Roberto Zandona
40716c8bdc cb2001: added another opcode and confirmed two opcodes 2009-12-21 19:51:16 +00:00
Roberto Zandona
ab47438586 cb2001: added 3 new opcodes and some info about the relation between cmv4 and cb2001 2009-12-21 19:32:20 +00:00
Fabio Priuli
c3b3bf2f93 Fixed silly regression introduced in suprslam while trying to fix f1gp2 (in svn 7621). Also, decided for fixed linectrl ram in 053936 2009-12-21 17:14:28 +00:00
Phil Bennett
685bac3770 Removed deprecated core function decodegfx() [Christophe Jaillet]
---------- Forwarded message ----------
From: Christophe Jaillet <christophe.jaillet@wanadoo.fr>
Date: Mon, Dec 14, 2009 at 9:56 PM
Subject: Removal of a deprecated function
To: submit@mamedev.org


Hi,

a function in "drawgfx.c" is declared in "deprecat.h"
This function ("decodegfx(...)") is not used any more in the code, so it
could be removed.

Hope this help.
Best regards,

CJ
2009-12-21 16:32:45 +00:00
Phil Bennett
bc485032d7 03583: Windows Debug: Stack crawl is not generated anymore [Oliver Stoneberg]
---------- Forwarded message ----------
From: Oliver Stöneberg <oliverst@online.de>
Date: Tue, Dec 15, 2009 at 5:40 PM
Subject: Stack Crawl
To: submit@mamedev.org


This patch enables the stack crawl on windows platforms again (bug
3583).
2009-12-21 16:25:32 +00:00
Aaron Giles
ead42740ca And some more. Converted the ds2404 to a device along the way. 2009-12-21 16:10:00 +00:00
Aaron Giles
a9697769d9 A few more fixes. 2009-12-21 10:06:40 +00:00
Aaron Giles
90c6e390f0 2nd batch of initialization cleanups. 2009-12-21 08:34:28 +00:00
Scott Stone
9f87b44bbd Added Guru's board notes to the Outrun/Super Hang-0n Driver. 2009-12-21 03:20:54 +00:00
Brian Troha
002000c4fb fix a typo in a rom name correction for the merit.c driver 2009-12-21 02:10:08 +00:00
Brian Troha
69bd1e2df4 more rom name corrections for the merit.c driver [Brian Troha]
don't mention this part:
I had to download the zips and info text files from softwarethis.com and compare the CRC32 values of the file then match the file with info for the correct rom label. Big thumbs down for the naming convention when dumping the roms (IE: metit2_1.1 ect), but at least a thumbs up for making and keeping the info files with correct label info.
2009-12-21 02:05:11 +00:00
Aaron Giles
d0af9ba1e8 First round of fixes for post-initialization allocs.
In the process, converted 7474, 74148, and 74153 to
devices.
2009-12-20 23:57:25 +00:00
Angelo Salese
8a90eaaa0b That's why I hate blind faith... 2009-12-20 21:22:53 +00:00
Angelo Salese
6293f5e1be Reorganized parent-clone relationship in sranger and friends (no whatsnew) 2009-12-20 21:20:46 +00:00