Commit Graph

2505 Commits

Author SHA1 Message Date
Aaron Giles
0941eb004e Fix m68k irq line support.
Before this patch a:
      cpunum_set_input_line(5, ASSERT_LINE);
      cpunum_set_input_line(3, ASSERT_LINE);
      cpunum_set_input_line(3, CLEAR_LINE);
    
    loses the state of line 5.  This patch fixes it by adding an explicit
    but optional "virtual irq line" support to the 68k interface.

    Fix m68k interrupt handling by some drivers.
    
    Clearing the NMI line to clear all the IRQ lines worked, but it just
    doesn't make sense.  Now that the irq lines are really independant,
    the handling can be simplified.
2008-08-20 02:11:14 +00:00
Brian Troha
a9d7211726 I have a minor issue with two source trees... I only update half the stuff in both :-(
Anyways, removes the extra Wave Runner from mamedriv.c and corrects the year in model2.c

sorry for so many "fixes"
2008-08-20 01:31:21 +00:00
Aaron Giles
44019c7433 From: Atari Ace [mailto:atari_ace@verizon.net]
Subject: [patch] fd1089 external keys
Hi mamedev,

The attached patch moves the fd1089 decryption keys out of the source
of MAME and into the ROM files.  Nicola suggested this would now be
reasonable, so long as the incomplete ones were marked with BAD_DUMP.

~aa
2008-08-20 01:26:42 +00:00
Brian Troha
01c0923170 Moves Wave Runner from Model 2B to 2C like it should be ;-) 2008-08-20 01:25:38 +00:00
Aaron Giles
cf07a5a784 From: Atari Ace [mailto:atari_ace@verizon.net]
Subject: [patch] More reset/multisession cleanup

Hi mamedev,

This patch eliminates more cases of .data objects, in an effort to
make more drivers multisession/reset safe.  The changes should not
change the first time run behavior at all, except perhaps the ygv608.c
change, which had a suspicious use of a static rectangle.

~aa
2008-08-20 01:25:28 +00:00
Derrick Renaud
384422ee09 Discrete cleanups and fixed discrete logging. 2008-08-20 01:02:57 +00:00
Brian Troha
39ea677641 Top Skater (USA)
Currently not working any better then the parent
Restores old Wave Runner (Rev A, Model 2B) as a single non clone game

New clones added
----------------
Top Skater (USA) [Gerald (COY)]
2008-08-20 00:04:00 +00:00
Brian Troha
37fc923ccf Wave Runner (Model 2C)
Currently not working and missing a rom

New clones added
----------------
Wave Runner (Model 2C) [Gérald (COY)]
2008-08-19 21:10:23 +00:00
Wilbert Pol
38a811b727 Some MESS specific fixes. 2008-08-19 19:18:43 +00:00
Roberto Zandona
cc9883d312 fixed cpx and cpy when a ptn or a agcpy command is executed 2008-08-19 15:09:54 +00:00
Nathan Woods
15969c0428 Readded generic calls to install memory handlers that were in long before
0.126u5 - these are useful on the MESS side for things like the PC driver
2008-08-19 11:13:43 +00:00
smf-
cbe9983e42 changed DIRECTINPUT & DIRECT3D handling, so they can be overridden by environment variables. 2008-08-19 08:03:38 +00:00
davidhay
c9f47d831f minor updates to megadriv.c / genesis code.
My mail is broken (or I'm not on the list anymore?) so I don't know how the suggestion went down, but given that within the space of a week simply updating the tree completely broke my compile again I *need* these files maintained to develop with if we're going to see accurate genesis emulation in MAME.  There's too much to split out of MAME.

I haven't included driver definitions, but the source files at least need to compile or I'm going to go completely bananas.
2008-08-19 07:39:53 +00:00
Aaron Giles
0523e9feb7 Cleanups and version bump. 2008-08-19 07:31:55 +00:00
Aaron Giles
e959018aa8 02105: qbert and clones: Misplaced graphics 2008-08-19 07:17:30 +00:00
Aaron Giles
76be0ad854 02119: cischeat, bigrun: no sound 2008-08-19 07:05:24 +00:00
Aaron Giles
c44c835ab3 02121: reactor: input controls and startup tone 2008-08-19 06:47:15 +00:00
Roberto Zandona
49db9ee772 new implementation of agcpy command in hd63484 2008-08-19 06:37:36 +00:00
Aaron Giles
8b8585328c From: Christophe Jaillet [mailto:christophe.jaillet@wanadoo.fr]
Subject: Profiler related
Hi,

here is a smalll patch that :
   - remove include "profiler.h" to files that do not use profiling function
        * emu/machine/laserdsc.c
        * osd/windows/video.c

    - use PROFILER_USER2 instead of PROFILER_USER1 in mame/video/tx1.c
      USER1 was used twice, USER3 once. I guess that USER1 should be used
only once and USER2 used in the 2nd place

   - remove unused MACRO in emu/memory.c

Best regards,
Christophe JAILLET
2008-08-19 06:13:26 +00:00
Aaron Giles
7b53d0a62e From: Lei Wu [mailto:lanewu@hotmail.com]
Subject: Shogun Warriors (Europe Rev.xx)

1. added Shogun Warriors (Europe Rev.xx)(Kaneko 1992), detailed description in source code [Pythagoras573]
2. fixed a cps1 typo
2008-08-19 06:12:05 +00:00
Aaron Giles
13a3d3fb89 From: Oliver Stoeneberg [mailto:oliverst@online.de]
Subject: Various cleanups

A couple of minor cleanups sitting on my disk for a while:
- removed obsolete ENABLE_DEBUGGER occurance
- removed more unprintable characters in SH-2 disassembler
- memset() usage cleanups
- removed duplicated TMS5110 entry in sound.mak
- use machine in uigfx.c where it's already available
2008-08-19 06:10:43 +00:00
Aaron Giles
de5cd6e5a8 Added cheat functions frombcd() and tobcd() to convert numbers to/from
BCD format. Changed "Activate" to "Set" in the menus.
2008-08-19 06:08:24 +00:00
Nicola Salmoria
74777c6420 more CPS1 PALs 2008-08-19 05:42:10 +00:00
Aaron Giles
1d26d347e1 From: Guy Hufkens [mailto:guy.hufkens@telenet.be]
Subject: dooyong.c dips

Added DIP locations
2008-08-19 05:13:56 +00:00
Aaron Giles
719eca9c82 Added validity check to ensure that ports referenced by a condition
actually exist. Fixed a case where this was violated.
2008-08-19 05:12:45 +00:00
Andrew Gardner
35ee8d5279 Added new Guru readme for namcos22 driver.
Please credit Guru.
2008-08-19 04:50:19 +00:00
Aaron Giles
6c21097922 Added validity check to ensure that AM_READ_PORT() macros reference
valid ports. Fixed several cases where the check failed.
2008-08-19 04:33:19 +00:00
Brian Troha
e58907ac1a Corrects BPROM type after verifying against the schematic vs a hi-res pic which is hard to tell. 2008-08-19 02:59:45 +00:00
Brian Troha
79c1a8fc2c Slight documentation update.
Removes bad_dump from WW3 as readme said "most" reads matched the Red Alert sound rom.  Also it the read me stated the BPROM also matched the Red Alert BPROM.
2008-08-19 02:28:44 +00:00
R. Belmont
7d762634aa Reduce YM2612 DAC level relative to FM. This better matches real hardware. 2008-08-19 02:21:37 +00:00
Aaron Giles
2e422e5b72 Final SHA1 for Cube Quest. 2008-08-19 02:13:32 +00:00
Aaron Giles
d62faabec6 From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Subject: small submission
Hi,  

enclosed please find a tiny diff which makes megadriv_vdp_r & megadriv_vdp_w 
handlers in megadriv.c non-static (and includes them in megadriv.h).

This small change, while making essentially no difference for MAME, would make 
life easier to maintain pico emulation in MESS.

--

From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Subject: fix for MT bug 2115
Hi, enclosed please find a small fix for the typo causing berlwall inputs 
breakage. No matter how extensively I test my changes, some typos always 
succeed to slip through my cross checks :( 

Anyway, this regression is fixed. 

--

From: Fabio Priuli [mailto:doge.fabio@gmail.com] 
Subject: Fix for MT bug 2114

Hi, 

enclosed please find a patch which fixes the red/blue inversion for eolith.c 
games. It regressed in 0.124, when the driver it's been converted from bitmap_format_rgb15 
to bitmap_format_indexed16 with the wrong palette_init.
2008-08-19 02:13:13 +00:00
Aaron Giles
87066dc341 From: MASH [mailto:mameinfo@ewetel.net]
Hi there,

Astro Wars (Zaccaria 1980) can be added to the galaxia.c.
The attract mode works and it uses the same hardware and
the rom names/lacations are identical.
The picture shows three screenshots of Astro Wars, the left and middle uses
only one of the gfx roms and the right both.

M*A*S*H

New game NOT WORKING: Astro Wars
2008-08-19 02:01:55 +00:00
Couriersud
2dc5c0648b dkong3 - added prom
* added address decode prom 5e from roms/unemulated/Nintendo/dk3prom.zip to dkong3/dkong3j
2008-08-19 00:44:21 +00:00
Couriersud
7d16a28e7f New games/clones: WW III (Irem 1981), I P M Invader (Incomplete Dump)
* Added roms/unemulated/Irem/iremM10_incomplete.zip as ipminva1 to m10.c
* Marked as GAME_NOT_WORKING
* The roms are all different from ipminvad, one is missing. The game does 
  enough to see that it is some sort of invaders type game.

* Added roms/unemulated/Irem/ww3_roms.zip as ww3 to redalert.c
* Dumped by Stefan Lindberg
* Please credit Stefan Lindberg as well 
* Either redalert is the clone or ww3 is the clone. Redalert has a speech board in addition
  to the m37b audio board.

New games marked as GAME_NOT_WORKING
------------------------------------
I P M Invader (Incomplete Dump) [unknown dumper, Couriersud]
 
New games added or promoted from NOT_WORKING status
---------------------------------------------------
WW III [Stefan Lindberg, Couriersud]
2008-08-18 23:25:42 +00:00
Aaron Giles
c0fae223af Increased blank reporting threshold. Fixed error in blank tracking. 2008-08-18 16:38:40 +00:00
smf-
c860d00f1b reverted incorrect checkin, caused by lack of concentration when retrying the checkin due to an update being required. 2008-08-18 12:10:31 +00:00
smf-
e334a63782 reverted unit mask changes and removed the unused & unsafe memory_install functions. 2008-08-18 12:08:08 +00:00
Nicola Salmoria
b51601cc66 use proper gfx ROMs (+ PALs) for varthj
load correct A-Board PALs for QSound games
2008-08-18 12:05:11 +00:00
Roberto Zandona
94abf9470d implemeted service mode switch in skattv 2008-08-18 07:15:18 +00:00
Roberto Zandona
3d33c20559 modified 68681 to return 0xff if input port is NULL 2008-08-18 06:31:15 +00:00
Aaron Giles
284b5a0d95 Added new generic laserdisc VIDEO_UPDATE handler to the laserdisc code.
This handler works for both disc-only games and those with overlays. 
For disc-only games, the base macro is sufficient. For games with 
overlays, an additional set of configuration macros are provided:

   MDRV_LASERDISC_OVERLAY - specifies update function, width, height,
      and bitmap format of the overlay
   MDRV_LASERDISC_OVERLAY_CLIP - specifies the visible area of the
      overlay bitmap
   MDRV_LASERDISC_OVERLAY_POSITION - specifies default x,y position
   MDRV_LASERDISC_OVERLAY_SCALE - specifies default x,y scale factors

The update function provided to MDRV_LASERDISC_OVERLAY is identical to
a normal VIDEO_UPDATE callback, so a standard one can be used. All
existing laserdisc drivers have been updated to support this new
rendering mechanism, removing much duplicated code.

Added the ability to configure the overlay position and scale 
parameters at runtime. Added OSD menus to control them. Added logic
to save/restore the data in the game's configuration file.

Added new macros MDRV_LASERDISC_SCREEN_ADD_NTSC and _PAL, which
defines a standard screen with the correct video timing characteristics
and update function for laserdiscs. Updated all drivers to use these
macros instead of defining their own screens.

Added DISK_REGIONS to all laserdisc drivers.

Added DISK_IMAGE_READONLY_OPTIONAL to support games (like Cube Quest)
where the disk is non-essential to the game's operation.

Fixed bug in identifying the custom sound driver for the laserdisc.

Updated ldverify to identify blank regions of the disc for post-
processing.

Fixed rendering 16bpp with alpha using bilinear filters (fixes
screenshots of laserdisc games with overlays).

Included support for parsing .gdi files in chdman. [ElSemi]

Added new driver for Cube Quest. This includes CPU cores for the three
bitslice processors, as well as laserdisc support for the hacked
laserdisc that was used to drive the games. 
[Philip Bennett, Joe Magiera, Warren Ondras]

Note that the SHA1/MD5 for the laserdisc will likely undergo at least
one more change before being finalized.
2008-08-18 04:31:08 +00:00
Roberto Zandona
d0eb89399f removed speedup patch in timecris;
with this commit and commit 2565 the bug 01992: (timecrsa, timecris: SubCPU start wait fails test) is fixed
2008-08-17 18:43:28 +00:00
Roberto Zandona
0a0a3ef383 fixed INT_ACK initialization 2008-08-17 17:24:55 +00:00
Wilbert Pol
ab1030258c Some MESS specific changes 2008-08-17 15:02:15 +00:00
smf-
3297ac117d identified compatible timekeeper used by midway zeus ii.
removed all the timekeeper memory handlers, except for 8 bit & changed the drivers to use the conversion built into the memory system.
2008-08-17 11:47:26 +00:00
smf-
5c5337424a Added unit mask to all memory installs that override the bus width. You couldn't install a handler with a different width before, as it complained about the lack of the unit mask. So I've assumed it's safe for all current calls to be changed to the one that picks up the cpu bus width. 2008-08-17 10:15:22 +00:00
R. Belmont
f118954dc5 Split out SH-4 non-interpreter-specific stuff to sh4comn.c. 2008-08-17 04:44:02 +00:00
R. Belmont
a6210713da SH-2 DRC updates:
- Moved IRQ handling front-end into recompiled code
- Added TSTM/ANDM/XORM instructions
- Added SH-1 CPU support, including lower precision on MAC.W and locking out SH-2 only instructions
2008-08-16 16:50:41 +00:00
R. Belmont
9c671d6ecf 64-bit GCC fix. 2008-08-16 16:47:03 +00:00