Commit Graph

7506 Commits

Author SHA1 Message Date
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
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