Commit Graph

7524 Commits

Author SHA1 Message Date
Angelo Salese
2bc8347910 Some improvements 2009-12-24 21:15:41 +00:00
Aaron Giles
2f0c0ab622 Convert all Leland games to use EEPROM device. Removed hard-coded
default EEPROM data.
2009-12-24 19:56:19 +00:00
Andrew Gardner
9af1d07681 Some more comments / variable name cleanups (not whatsnew worthy). 2009-12-24 18:41:00 +00:00
Fabio Priuli
421e03f73a Updated qdrmfgp.c to use Konami video devices
This basically leaves only konamigx.c (and mystwarr.c, which includes konamigx.h) to use the old implementation from konamiic.c. Of course, this is also the hardest driver to convert, but I'll look into it only after 0.136...
2009-12-24 17:44:53 +00:00
Angelo Salese
f64aa7e017 Basic driver for Cycle Mahbou 2009-12-24 17:17:17 +00:00
Pierpaolo Prazzoli
72de6bf3cd Fixed: 03593: captaven & clones: Intro text scrolls from wrong direction 2009-12-24 14:56:54 +00:00
Scott Stone
64f770d382 Reverted 'bad code' mistakenly submitted in r7745. I'll keep the other code I submitted mistakenly as commented below:
sub.c - Put in board ETAL and came up with some seeming better clock speed approximations until board readings can be done.
tron.c - Sets tron3 and tron4 don't appear to have a valid working cocktail mode video or controls (upright player2 works fine).  Flagged as GAME_NO_COCKTAIL.
subs.c - Added DIP LOCATIONS.
2009-12-24 14:52:02 +00:00
Angelo Salese
ac7d6dcbff Added a bunch of new protection handlers for Spark Man 2009-12-24 12:19:41 +00:00
Fabio Priuli
b99e364eae Split ADC1038, Konami 033906 and Konami 056230 emulation from gticlub.c and konppc.c. Also, converted them to be devices and updated PPC Konami games to use the new code
Just out of curiosity: did sscope/sscope2 ever pass through the initial hw checks or did they regressed at some point?
2009-12-24 11:38:43 +00:00
Aaron Giles
98f248b3be And one more tonight: raiden2 and rbmk use the eeprom device. 2009-12-24 09:02:35 +00:00
Aaron Giles
87d9c3e12c Updated segas32, simpl156, seibuspi, ssv, and stlforce to use eeprom device. 2009-12-24 08:54:09 +00:00
Aaron Giles
afac4a56ba Converted stv, superchs, underfire to use eeprom device.
Removed use of in-game auto_malloc in stvvdp2.
2009-12-24 08:02:09 +00:00
Roberto Zandona
3bfb249228 cb2001: added new opcodes 2009-12-24 05:42:49 +00:00
Aaron Giles
1467be2fbb Converted unico to eeprom device. 2009-12-24 04:43:37 +00:00
Aaron Giles
047af689a7 Converted gaelco2, xorworld, and vamphalf over to the eeprom device. 2009-12-24 04:39:59 +00:00
Aaron Giles
81194a54ae Converted konamigv over to eeprom device. 2009-12-24 04:19:11 +00:00
Scott Stone
a8957469f9 Actual file to be commited for the Outrun fixes. Need someone to revert r7745, please. 2009-12-24 03:55:30 +00:00
Scott Stone
25a430ea9b Fixed 03597: outrun, outrunra, outruno, outrundx, outrunb: Incorrect vsync speed on Outrun
Comment:  I failed to look at the video timing when Guru's readme, this should correct the behavior.  I also added the cpu/video bd numbers listed on Stefan Lindberg's reference board for Outrun.
2009-12-24 03:51:45 +00:00
Aaron Giles
75b4c8078e Fixed auto EEPROM region to properly handle 16-bit data.
Updated mitchell.c to use the EEPROM device. Removed spang hacks in
favor of preloaded eeprom data.
2009-12-24 03:36:44 +00:00
Aaron Giles
67bef66987 Changed behavior of -watchdog option to act like a real watchdog. It now
specifies the number of seconds after the last video update that will
cause auto-termination of MAME. Also modified it to output a message
when the watchdog triggers the exit.

Updated windows.txt to reflect this option and the debugger_font options
which were never previously documented.
2009-12-24 02:52:17 +00:00
Fabio Priuli
83175680b7 as usual, it would help to commit latest version of the source... 2009-12-23 22:33:10 +00:00
Fabio Priuli
51d81e0b49 New games added or promoted from NOT_WORKING status
---------------------------------------------------
Final Fight (Japan, hack) [bonky0013, JacKc, Fabio Priuli]
2009-12-23 22:29:51 +00:00
Andrew Gardner
c973e03224 RoadsEdge & XRally polygons are now visible.
(If you try this out, please be patient and wait through the wacky 10fps HNG64 logo animation in each game)
2009-12-23 20:42:15 +00:00
Aaron Giles
c285eb9bcd Cleanups and version bump. 2009-12-23 18:10:25 +00:00
Aaron Giles
79b8f09ad8 From: Samuele Zannoli <samuele.zannoli@sparkbio.it>
Date: Tue, Dec 22, 2009 at 11:57 AM
Subject: Core for PIC 16c62x series of processors
To: submit@mamedev.org


Hello,
         this patch contains a core for the PIC 16c62x series of processors.

It has been made starting from the pic16c5x that is already present.
This version stil misses the various internal devices, however the
opcodes and i/o ports work, and it is enough to run the emulation of
the security pics used with the gd-roms.

Bye,
       Samuele Zannoli
2009-12-23 18:01:49 +00:00
Aaron Giles
505f0d7caf From: Atari Ace <atari_ace@verizon.net>
Date: Tue, Dec 22, 2009 at 4:44 PM
Subject: [patch] Fix srcclean/src2html bugs, misbalanced tokens and
visible whitespace errors
To: submit@mamedev.org
Cc: atariace@hotmail.com


Hi mamedev,

While experimenting with srcclean and src2html as indentation
validators, I stumbled across a couple of bugs.  The first is that
srcclean doesn't properly handle /*...*//.  It sees the last / char at
the end as the second / of an inline comment, where it might be a
division token or the start of either type of comment.

The second bug is that src2html improperly handles strings with
embedded quotes preceded by escaped backslashes, e.g. "ab\\\"cd".  It
believes the string terminated in the middle, and the last quote
starts a new string.  This issue is unlikely in actual code, but
should be handled correctly.

The first patch fixes these, and a some cases where there are
dangling/missing tokens which my validation tools are noticing.  These
occur in some unused macros, dead code sections, and in some macros
that are deliberately misbalanced (v9938.c, psx.c).  In the deliberate
cases, I balanced the braces by making exactly one open and one close
macro and using those throughout.

The second patch is then a set of visible whitespace "problems". Cases
where the closing brace isn't at the same indent level as the open
brace, and some cases where the indent level isn't a multiple of four.
In the case of ssv.c I folded the assignments into init_ssv() to
simplify the code and restore the brace balance, otherwise I kept to
simply adding or removing whitespace.

~aa
2009-12-23 17:59:08 +00:00
Aaron Giles
668dc94b00 Updated readme for Race Drivin' Compact. [Guru] 2009-12-23 17:55:09 +00:00
Aaron Giles
a825a2427f ---------- Forwarded message ----------
From: Barry Rodewald <bsr@xnet.co.nz>
Date: Wed, Dec 23, 2009 at 2:37 AM
Subject: Yet more i386 fixes
To: submit@mamedev.org


Hi,

Here's two more small i386 fixes.

First, is an implementation of the LSL protected mode instruction.
While it's far from perfect (ie: it doesn't check for anything other
than a null segment selector), it does help get a little bit further
for some FM Towns applications.

Second, is a fix for the REP instruction when used with a segment
prefix.  Essentially, it reverses the use of the segment_override and
segment_prefix variables compared to other instructions.  This fixes
sprite data copied into sprite RAM on the FM Towns version of Raiden
Trad.

Thanks,
Barry Rodewald
mailto:bsr@xnet.co.nz
2009-12-23 17:53:33 +00:00
Aaron Giles
de3ffd84b3 Removed old index-based DISCRETE_ADJUSTMENT, and renamed
DISCRETE_ADJUSTMENT_TAG to replace it. Updated all callers.

Removed input_port_by_index, as it is no longer needed.
2009-12-23 17:23:51 +00:00
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