Commit Graph

2282 Commits

Author SHA1 Message Date
davidhay
00072016e5 fix psikyo4 region without breaking eeprom even ;-) 2008-08-02 22:06:20 +00:00
R. Belmont
86c919a2d7 Backported a bunch of FM OPN (YM2608/2612) fixes from Genesis Plus GX. All of
this was verified on real hardware.  [Eke-Eke, Nemesis, Alone Coder, AamirM]

- implemented PG overflow, aka "detune bug" (Ariel, Comix Zone, Shaq Fu, Spiderman...)
- fixed SSG-EG support
- modified EG rates and frequency
- fixed EG attenuation level on KEY ON (Ecco 2 splash sound)
- fixed LFO phase update for CH3 special mode (Warlock, Alladin)
2008-08-02 22:05:24 +00:00
davidhay
a433ae612f fix region jumper on psikyo4 (loderndf) no idea when this got broken.. looks to have been broken for a while tho. 2008-08-02 22:03:56 +00:00
Brian Troha
12b53262fc updated info from "bonus" material for the PCB I bought to decap/dump the MB8841 CPU 2008-08-02 17:18:47 +00:00
Andrew Gardner
14f225e1d3 Adds readmes for Galaga, The Outfoxies, Splatter House, and Top Racer. 2008-08-02 15:53:23 +00:00
Andrew Gardner
3ea67aa8c9 Memory map merge for drivers: blmbycar, blockade, blockhl, blockout, bombjack, boogwing, and bottom9. 2008-08-02 05:31:21 +00:00
Aaron Giles
6d5941e085 Disks opened by the romload module are no longer identified by index.
Instead, they are identified by the region they were loaded in. This
generally means one disk per region. get_disk_handle() now takes a
region name in place of an index. Updated all callers to do this.
The SCSI modules in particular posed a challenge to make this work,
so watch out for potential bugs there.

Changed the IDE interfaces to default to choosing the region with the
same tag as the device for its master disk (assuming no slave). Added
support for specifying explicit master/slave disk regions as part of
the configuration, though slave disks are still not supported yet.

Change the laserdisc interface to no longer require a disk number or
a custom sound device. Both are now assumed to be tagged the same as
the laserdisc device. Updated all drivers accordingly.
2008-08-01 23:11:08 +00:00
Roberto Zandona
9a456202dd fix height of the hw window (1 pixel) 2008-08-01 18:19:43 +00:00
Aaron Giles
a0c9cf2939 More gottlieb cleanup. Fixed rev 2 sound again, fleshed out memory
maps and behaviors according to the schematics. Hooked up coin
counters.

Added new functions cputag_set_input_line() to assert input lines
via CPU tag instead of index.
2008-08-01 16:39:12 +00:00
Roberto Zandona
6a2eccda3a some improvements to kothello:
- hooked up inputs
- promoted to working
dipswitcha are not implemented; for this reason are necessary 5 coins for 1 credit
2008-08-01 12:19:40 +00:00
Nathan Woods
6ddfa127af Minor MESS compilation fix 2008-08-01 10:59:32 +00:00
Luca Elia
ee4b5bca15 Older "Champion Poker" set with Tuning copyright
Formerly known as pokerigs in iqblock.c (wrong driver).
I've renamed it to cpokert and moved it to csk.c.
It works now.

New clones added
----------------
Champion Poker (v200G) [Luca Elia]
2008-08-01 09:50:27 +00:00
Roberto Zandona
6f12257687 better implementation of CPY command 2008-08-01 06:40:34 +00:00
Brian Troha
69e1dc9d8d Adds a note in the romdef about the default settings for both INDY 500 sets. Changed game names to INDY 500 Twin & INDY 500 Deluxe. 2008-08-01 05:56:06 +00:00
Brian Troha
dab2689f02 New clone: Indy 500 Deluxe
Note: it works as well as the parent ;-)
You can watch it run in MAME

New clones added
----------------
Indianapolis 500 Deluxe [Kris Anks]
2008-08-01 03:14:06 +00:00
Aaron Giles
444cde4388 Added cropping of the VBI data. 2008-08-01 02:36:23 +00:00
Aaron Giles
776b251aa2 Removed per-frame metadata support from chdman. Creating an A/V
now simply requires an AVI file input.

Relaxed VBI Manchester code clocking to allow for a little bit
of wiggle when finding the clock.

Changed laserdisc support to parse white flags and other data
from the VBI data directly, rather than relying on the textual
metadata. Expanded video frame cache to 3. Changed the way
frames are assembled to decrease the likelihood of getting an
interlaced weave. Fixed sound creation so that it is done at
reset time instead of device start, when the sound devices aren't
yet live.

Fixed bug in winwork that caused the creation of single work 
items to return NULL, and thus lead to massive memory leaks when
using A/V CHDs.
2008-08-01 02:23:26 +00:00
Derrick Renaud
c43a103858 Minor optimization to the DISCRETE_INPUT modules. The node output is now calculated when a discrete_sound_w() is called instead of each step in the simulation.
Removed the Enable line from the DISCRETE_ADJUSTMENT modules.  They should never be disabled.

Some before/after speed tests:
dkong - from 203% to 204%
firetrk - from 418% to 429%
phoenix - from 253% to 257%
polaris - from 448% to 476%
2008-08-01 00:08:42 +00:00
Roberto Zandona
bab5dcbbbb fix sprite-sprite priorities in spinlbrk (mantis #02060) 2008-07-31 21:49:16 +00:00
Roberto Zandona
9fe219e5c5 fixed gfx in kothello 2008-07-31 18:13:58 +00:00
Luca Elia
9f8e261997 Driver for "Jingle Bell" by IGS
(roms in current/j/jingbell.zip)

The background (slot reels) is not emulated properly,
hence it's not playable and marked as not working.

New games marked as GAME_NOT_WORKING
------------------------------------
Jingle Bell [Luca Elia]
2008-07-31 16:52:17 +00:00
Roberto Zandona
89e879e806 add infos to the 1943 driver (video) about priorities encoded in PROM 2008-07-31 10:39:05 +00:00
Luca Elia
eb89942ce4 Preliminary driver for "Quiz Punch 2"
Like some other Space games (mosaic.c), it is protected by an MCU
that supplies the addresses to jump to.

I've done some basic simulation that at least shows the service mode.

This is a candidate for decapping / trojaning, or for Nicola to examine
like he did with Mosaic ;-)

Note to Guru: u118 is probably bad, it fails the rom test.

New games marked as GAME_NOT_WORKING
------------------------------------
Quiz Punch 2 [Luca Elia]
2008-07-31 09:41:24 +00:00
Aaron Giles
57bd1856b5 Cleanups/version bump. 2008-07-31 09:00:13 +00:00
Aaron Giles
e8f2759a0c (From Atari Ace. Note that I only took the first patch, which applied
to whole functions. The other one I'm not so sure about. Commented
code is usually hilighted differently, making it very easy to spot.)

Hi mamedev,

This set of patches has one aim only, to identify chunks of code that
have been disabled by the use of C/C++ comments, and to disable them
instead by using the preprocessor.  The C comment approach to
disabling code isn't safe (embedded comments will trip it up), and the
C++ comment approach isn't elegant (you shouldn't need to touch every
line to disable a chunk of code).  Using #if...#endif is preferable
always, excepting perhaps if (0) { ... }.

The patch has three parts.  The first only handles cases where full
functions were disabled.  The second handles cases where parts of
functions were disabled.  The third then tries to restore the
whitespace that the use of comments converted from tabs to spaces via
srcclean.exe.  It also cleans up the whitespace in a handful of the
files in areas outside of the original two patches.

~aa
2008-07-31 08:30:22 +00:00
Aaron Giles
e0409bc7b1 From: Oliver Stoeneberg [mailto:oliverst@online.de]
Subject: a few cleanups

This patch contains:
- removal of unprintable chars (newlines) in SH-2 disassembler (I 
submitted this in the past nd it wasn't included)
- a few unnecessary checks after malloc_ort_die() calls
- changes two romload.c warnings to use GAMENOUN instead
- adds "deprecat.h" in a  few src/mame/drivers files (would be 
necessary, if the debugger.h one would be removed)
- cleans up the mame.mak by adding all missing defines and grouping 
them based on cpu.mak
- renamed video_exit() to winvideo_exit() for consistency in function 
names
2008-07-31 08:26:39 +00:00
Aaron Giles
a69088c498 Added new options 'cheatpath' to specify one or more paths for cheat
files. Removed old option 'cheat_file'.

Updated xmlfile.c to specify the line number for each node, for more
accurate error reporting.

Removed old cheat.c/.h and replaced them with code that will read and
write the new XML-based cheat format using the new cheatpath option
(cheats still need to be enabled in order to load at all). Note that
the cheats are not implemented yet, but they are fully parsed. To test
saving, whenever a cheat file is successfully loaded, it is immediately
written back out as 'output.xml' to the cheat directory for validation.
2008-07-31 08:19:53 +00:00
R. Belmont
252f254ab3 New game marked as NOT WORKING: Bust a Move 2 (JAPANESE ROM ver. 1999/07/17 10:00:00)
Game is NOT WORKING because it uses an H8/3644 MCU plus an IDE HDD to emulate the home PS1 version's redbook audio tracks.  Cross your fingers for decapping.
2008-07-31 04:53:53 +00:00
R. Belmont
818cfdc705 Fixed 64-bit GCC compile. 2008-07-31 04:49:54 +00:00
R. Belmont
252395e70a Enable strict PC relative loads for ST-V games; at least Cotton Boomerang needs them. 2008-07-31 04:42:51 +00:00
Brian Troha
7011feedf2 New Clone: Killer Instinct 2 (v1.3k, upgrade kit)
actual driver mod

Not working like v1.4k, upgrade kit

New clones added
----------------
Killer Instinct 2 (v1.3k, upgrade kit) [Brian Troha]
2008-07-31 01:16:02 +00:00
Brian Troha
ee24c4259f New Clone: Killer Instinct 2 (v1.3k, upgrade kit)
Not working like v1.4k, upgrade kit

New clones added
----------------
Killer Instinct 2 (v1.3k, upgrade kit) [Brian Troha]
2008-07-31 01:15:12 +00:00
Aaron Giles
5a17b8a274 Changed symbol table reference parameters to void * from UINT32. 2008-07-31 00:19:30 +00:00
Aaron Giles
2583b3cb6a Fixed menu handling so it doesn't swallow the tab key. 2008-07-30 22:36:30 +00:00
Luca Elia
fb63d91e65 Driver for "Galaxi", an italian gambling game.
Roms are in current/g/galaxi.zip.

New games added or promoted from NOT_WORKING status
---------------------------------------------------
Galaxi [Luca Elia]
2008-07-30 17:17:29 +00:00
R. Belmont
a6991f7085 Fix audio in F3 games after recent region changes. 2008-07-30 17:06:47 +00:00
Roberto Fresca
db1052137d New clones added
----------------
Pool 10 (italian, set 3) [Roberto Fresca]
2008-07-30 17:03:25 +00:00
Aaron Giles
975eccb12c Simplified shift/rotate instruction implementations.
The ROL/ROR/SHL/SHR opcodes provide the carry flags typically generated by
almost all CPUs. The RORC/ROLC opcdes map directly to the rotate through 
carry of most CPUs as well.
2008-07-30 14:49:40 +00:00
stephh
9e81e14705 Replaced "cpu1" and "cpu2" instances by "main" and "slave". 2008-07-30 14:32:25 +00:00
Aaron Giles
2a503b0899 Fixed overaggressive search & replace. That will teach me to try out
a new editor. :)
2008-07-30 14:13:11 +00:00
Aaron Giles
7d732d1f06 Remaining obvious regressions from region change. 2008-07-30 13:30:02 +00:00
Aaron Giles
03c86e0aa7 Fixed several regressions due to the region changes. 2008-07-30 05:21:01 +00:00
Aaron Giles
53491603bb Added region and regionbytes fields to the deviceconfig, which are
auto-filled by the device manager before starting the device. This
simplifies the auto-binding process for devices.

Added new selector for device-specific ROM regions. Not yet wired
up in the ROM loader.
2008-07-30 02:57:19 +00:00
Aaron Giles
3b3cd0ffb2 Removed ancient /* audio CPU */ comments that were remnants
from when we removed the CPU_AUDIO_CPU flag. Now that all the
CPU are tagged, it is quite clear which CPU is audio-related.
2008-07-30 02:35:56 +00:00
davidhay
fa5592836c preliminary work on key file format 2008-07-29 23:14:34 +00:00
davidhay
35ac4bed2d Naomi updates [Samuele Zannoli]
1) refactors many global and static variables in video\dc.c into a
structure to hold the tile accelerator state
2) textures should be better decoded with more pixel formats
3) adds placeholders for some register probably used by the dimm board
4) corrects a little error in a rom board register (very important, now at
least the gdrom games try to start)
2008-07-29 22:14:41 +00:00
Wilbert Pol
c67737a40c i8051 cpu core timer updates:
- Added support for timer mode 0 (13 bit timer)
- Cleaned up timer code a bit, fixing some off-by-one errors when timers overflow.
2008-07-29 18:29:01 +00:00
Aaron Giles
3052db3fa9 From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Sent: Sunday, July 27, 2008 2:46 PM 
To: submit@mamedev.org 
Subject: misc patches 

Hi, 

enclosed please find a few more patches based on 126u2. It's just a few 
minor bugfixes because I'm quite busy and I still have to test the other 
changes to tagged inputs (I will send them in the next few days) 

In misc2.zip you'll find a few corrections to my previous patches and a 
few new bugfixes: 

* cachat.diff: It fixes bug 2046. This is a bug I introduced misreading 
the default value of the flip dip when updating taito_l.c to use 
taitoipt.h definitions. My bad, sorry. 

* witch.diff: It fixes another small 'mistake' I introduced when tagging 
the ports in witch.c. I searched and replaced a few too many 'port' 
occurrences, making some comments unreadable. Again, sorry for the 
inconvenience. 

* btime.diff: It's an updated version of my previous patch, following 
your suggestions. 'Off' comes always first now and manual settings which 
do not work on the emulated game are commented out 

* skyfox.diff: It fixes bug 2050. Being at it, I also added dip 
locations to the driver and updated memory maps to use AM_READ_PORT 

* combatsc.diff: It fixes bug 456, solving both the regression which 
made disappear all sprites (they were covered by the non-transparent 
text layer since 118u1) and the corruption of the graphics in title 
screen (due to the wrong drawing order). Mind that bug 400 (scrolling 
problems present since 0.79) is not fixed yet, unfortunately. 

Regards, 

Fabio
2008-07-29 17:13:56 +00:00
Aaron Giles
e70d4b0a85 (Modified to allow for overwrites of RAM ranges only.)
From: Atari Ace [mailto:atari_ace@verizon.net] 
Subject: [patch] Stricter ADDRESS_MAP checks

Hi mamedev,

The current implementation of address maps is lacking some useful
checks of the initial tokens.  In particular, it doesn't validate that
a particular entry doesn't try to define the same handler multiple
times.

The attached patch adds this and some other validations as fatalerrors
in address_map_detokenize, and fixes the affected maps.  The errors
generally fall into the following categories.

1.  AM_RAM AM_WRITE(...).  Should have been AM_RAM_WRITE(...)
2.  AM_RAM AM_READWRITE(...).  The AM_RAM is a NOP.
3.  AM_RAM AM_RAMBANK(...).  The AM_RAM is a NOP.
4.  AM_ROM AM_ROMBANK(...).  The AM_ROM is a NOP.
5.  AM_ROM AM_READ(...).  The AM_ROM is a NOP.

One peculiar error was in equites.c, where there were two AM_BASE
entries.

~aa
2008-07-29 17:08:43 +00:00
Aaron Giles
212c069fd9 Fixed CPS1 audio CPU names to prevent crash. 2008-07-29 15:21:58 +00:00