Commit Graph

2439 Commits

Author SHA1 Message Date
Brian Troha
aa0aa81c7d New clones added
----------------
Red Hawk (Haedong Corp.) [Tirino73 / Mame Italia] (Not Working)
Snow Bros. - Nick & Tom (Dooyong license) [Tirino73 / Mame Italia]
2008-08-15 03:26:04 +00:00
Brian Troha
71ebf50919 corrects a spelling mistake 2008-08-15 02:16:23 +00:00
davidhay
4e99cb9af4 adds correct CRCs for DOA2 [Guru] 2008-08-15 00:12:08 +00:00
Roberto Zandona
9c68b61e38 implemented read operation of MRA and MRB in 68681 device (this command is necessary for adp games) 2008-08-14 19:12:47 +00:00
Nicola Salmoria
56e734716a oops, QSound CPS1 games have a different A-board so the PLDs of the normal gmaes aren't valid. 2008-08-14 18:53:21 +00:00
Roberto Zandona
d7c9b3cf8f wip - a try to implement 68681 device in skattv 2008-08-14 15:00:52 +00:00
Roberto Zandona
7a8e9bb4b8 convert adp to 4 bpp rendering 2008-08-14 13:33:06 +00:00
R. Belmont
4303262b04 Another 64-bit GCC fix. 2008-08-14 13:14:46 +00:00
R. Belmont
06c0d541ed Another one... 2008-08-14 13:13:40 +00:00
R. Belmont
841c0ce03a Another 64-bit GCC fix. 2008-08-14 13:10:34 +00:00
R. Belmont
5b8cc47145 Fixes for 64-bit GCC. FPTR isn't just a good idea, it's the law. 2008-08-14 13:08:53 +00:00
Nicola Salmoria
8c07fef2d7 added more Universal game IDs from schematics 2008-08-14 08:21:35 +00:00
Aaron Giles
224eb1f58b Cleanups and version bump. 2008-08-14 08:05:35 +00:00
Aaron Giles
2e7d262931 02113: xymg: xymg title mispelled
02110: All sets in cps3.c: video from a DV cam proves the refresh rate of CPS3 in MAME is wrong 
02095: chqflag, chqflagj, -listxml: memory leaks
2008-08-14 07:36:27 +00:00
Aaron Giles
aeb7e74d74 Oops, missed deleted file. 2008-08-14 07:14:26 +00:00
Aaron Giles
4380531fc8 From: JoshuaChang [mailto:joshuachang2005@gmail.com]
Subject: cps3 sfiii3 title+linear zoom effect fix

fix the sfiii3's title animation (cps3.c line 1055)
also fix the linear zoom effect that OopsWare didn't improve properly
since 0.122u7(cps3.c line 1168,1189,1190)

i've attached 2 images to show the difference between the priginal and
fixed one~
hope this helps~
2008-08-14 06:33:31 +00:00
Aaron Giles
aa4b4b3e7d From: Oliver Stoeneberg [mailto:oliverst@online.de]
Subject: mame.mak - sound chip cleanup

Cleaned up and grouped the sound chip entries based on sound.mak.
2008-08-14 06:32:03 +00:00
Aaron Giles
ec66ef6ab0 From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Subject: two more patches

Hi,

enclosed please find the following patches

* portM.diff which completes the basic port cleanup in 
drivers starting with M. It's mostly conversion of 8bit 
-> 16/32bit inputs and usage of AM_READ_PORT in memory maps 
(plus a couple of eeprom_bit_r replaced with PORT_CUSTOM 
and daitorid_soundstatus_r in metro.c converted to a 
CUSTOM_INPUT as well)

* avgdvg.diff converts most of the games checking avgdvg_done() 
in inputs to use a CUSTOM_INPUT (which I added to video/avgdvg.c). 
avgdvg_done() is still in use in mhavoc.c (which requires some 
more changes, so I'll take a look later) and in omegrace.c (which 
reads it directly and not through inputs). While at it, I've 
also done a small cleanup of inputs in starwars.c and tempest.c.

Regards,
     Fabio
2008-08-14 06:31:06 +00:00
Aaron Giles
2ec0fea9c2 From: Atari Ace [mailto:atari_ace@verizon.net]
Subject: [patch] Collapse timer callbacks

Hi mamedev,

The following patch collapses timer callbacks in some cases to avoid
duplicating code.  In the case of crystal.c, it also refactors two DMA
handlers and shuffles the init/reset code around a bit.  I noticed
while doing this that h8_itu_read8 is missing cases 0x96,0x97 which is
almost certainly a bug, but I left it alone.

~aa
2008-08-14 06:27:52 +00:00
Aaron Giles
d6b6e913fa From: RansAckeR [mailto:RansAckeR@telenet.be]
Subject: clshroad.c dips

Added DIP locations
2008-08-14 06:22:07 +00:00
Aaron Giles
0921968934 From: Atari Ace [mailto:atari_ace@verizon.net]
Subject: [patch] Fix i386 bsr implementation

Hi mamedev,

The i386 cpu emulator will return the wrong result for bsr when the
highest bit is set (0 instead of 15 or 31).  The attached patch fixes
this.

~aa
2008-08-14 06:21:31 +00:00
Aaron Giles
5ad309b60f From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Subject: few more patches

Hi,

enclosed please find a few patches to continue the input port 
clean up (and to fix a mistake in the previous submission). In 
detail:

* hal21.diff: with my last submission I made a mistake in hal21.c 
(I converted it only partially to custom inputs, still returning 
1<<5 instead of 1 from the handler). please revert that change 
(it was in u4_custom04.diff) and apply this one, to fix the 
communication with sound cpu

* clean_new.diff: introduce AM_READ_PORT & c. in drivers starting 
with M (only few of them updated, more to come)

* custom_new.diff: improves input handling in mainsnk.c and marvins.c 
by using CUSTOM_INPUTs and AM_READ_PORTs

* gaelco3d.diff: converts radilkalb inputs to 32bit inputs (as 
they are), removing the need of AM_READ16 for those

* itech32.diff: converts inputs of later games to 32bit inputs and 
updates all the occurrences as needed. It also simplifies input 
handling by removing special_port_r from most of the maps (replaced 
by a CUSTOM_INPUT). Now only drivedge still uses 16bit inputs and 
special_port_r, but I'll investigate it later.

* arkanoid.diff: changes mcu reads to CUSTOM_INPUTS (and muxed 
inputs as well). Bootleg inputs has been slightly changed as well 
to cope with the new implementation of the protection

* irem.diff: this patch changes a lot of input related things in 
m10->m107 irem boards. First of all, it moves input definitions from 
drivers/m92.h to include/iremipt.h (which was already there, just 
a bit unused ;) ) and it removes completely drivers/m92.h (which 
only contained those definitions). Moreover, it adds more common 
inputs to iremipt.h and starts to use that file in m62->m107 instead 
of local #defines. Finally, it adds diplocations to all the games in 
m62->m107 which were missing and it implements coinage mode 2 through 
dipconditions in the drivers which didn't support it.

I tested as much as I could these changes and I can see no regressions.

Regards,
     Fabio
2008-08-14 06:20:42 +00:00
Aaron Giles
51c1079953 From: Atari Ace [mailto:atari_ace@verizon.net]
Subject: [patch] Fix 1802 cybrcomm, raveracw, raveracj, raveraja,
ridgerac, ridgerab, ridgeraj, acedrvrw, victlapw: No sound in games
after reloading via the MAME UI

Hi mamedev,

The problem with namcos22 games losing sound when running multisession
is actually an m37710 cpu initialization bug.  The attached patch
fixes it, and also collapses all the timer callbacks together as an
unrelated code cleanup.

Note: namcos22 has a lot of uninitialized state, so I wouldn't be
surprised if there are other multisession issues.
2008-08-14 06:13:56 +00:00
Aaron Giles
3b76b8e25e From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Subject: some more input clean-ups
Hi, 

attached please find a few patches against u4. These diffs improve 
input ports for drivers starting with F->L. In particular: they add 
AM_READ_PORT whenever suitable, they make inputs fully 32bit where 
needed, they remove indexed input read handlers from INITs, they 
replace many read handlers with appropriate CUSTOM_INPUTs. 

Additional improvements:

* added dip switches and locations to go2000 (even if they were 
partially documented in the source)
* fixed artmagic protection (it used a wrong tag, which probably 
I added somewhere in 0.125uX); even if I haven't experienced any 
problems due to the bug since the regression now it's fixed

More details on the patches:

* u4_clean01 -> u4_clean07: these are standard changes like the 
one I submitted previously (no custom inputs involved)
* u4_custom01 -> u4_custom04: here there are also changes involving 
custom inputs (they mainly deal with eeprom reads, but a few were a 
bit more interesting); I separated these from the other ones in 
case you want to check them more in detail
* itech8.diff: this patch improves ports & their handling in itech8.c. 
In particular, it replaces the 'special' handlers with a single 
custom input and I would like a confirmation that it was the right 
choice in this case.

Patches are independent one from the other and should apply with 
no problems. Let me know if this is not the case.

Regards,
    Fabio
2008-08-14 05:17:39 +00:00
Aaron Giles
15893eeed0 Fixed includes of rescap.h. 2008-08-14 04:51:04 +00:00
Brian Troha
6d0de192fa Updated the header of the ladybug.c driver with a little bit of info 2008-08-14 04:46:18 +00:00
Brian Troha
55a1654534 Correct rom names with PCB locations for Lady Bug and verified the dump against an original Universal Lady Bug PCB. Added information about the Universal PCB number and prom type.
Verified that Lady Bug, Cosmic Avenger & Snap Jack all use the same PCB set and adjusted the rom names as needed.
2008-08-14 04:34:28 +00:00
Derrick Renaud
a615a52ccb minor correction to Guru Read Me 2008-08-14 02:31:03 +00:00
Derrick Renaud
ad617cfb1e Added Guru ReadMe for madalina.
credit (Guru)
2008-08-13 23:57:00 +00:00
Roberto Fresca
37414e4353 Minor corrections to the notes and some acknowledgements. 2008-08-13 23:36:39 +00:00
Nicola Salmoria
ac821a6f88 implemented proper shadow handling. Some intial cleanup.
00233: ikari: The current implementation of the shadow in Ikari Warriors and Victory Road is wrong.
2008-08-13 17:53:31 +00:00
Aaron Giles
a0574bb473 Moved several include files from mame/ to emu/, as they were
included by generic components in emu/ and thus should have no
dependencies on the MAME code.

Added new target ldplayer, which is based on MAME but serves as
a standalone laserdisc player for CHDs. Right now only the
Pioneer LD-V1000 is connected, and limited commands are available.
Each player type is a driver, so you specify the player type on
the command-line. The driver then opens the first CHD it finds
in your ROM path and uses that as the laserdisc. The intention is
that you specify the -rompath each time on the command-line, so
a typical approach might be:

   ldplayer ldv1000 -rompath j:\mach3

where it will pick up the mach3.chd lurking in your j:\mach3
folder. Several basic commands are supported:

   Space = play/pause
   Alt   = toggle frame display
   Left  = scan forward (when playing) or step forward (when paused)
   Right = scan backward (when playing) or step backward (when paused)
   0-9   = enter numbers for search
   Enter = execute search to frame
2008-08-13 15:09:08 +00:00
Aaron Giles
16903498a4 Improved video signal warning reporting. 2008-08-13 05:18:02 +00:00
Aaron Giles
480df37d02 Added new flag to menu items: MENU_FLAG_DISABLE, which means the
item will be visible but not selectable.

Fixed bug that prevented the cheat engine from working when the
debugger was disabled.

Modified xmlfile.c to accept integer values in decimal or hex. The
default is decimal. Numbers may be prefixed by '#' for decimal
values, or by '$' or '0x' to indicate hexadecimal values. Also
added function xml_get_attribute_int_format() to return the format
of the attribute, so that it can be later replicated.

Updated cheat parser to preserve the format of attribute values
used for cheat parameters and items.

Added support for information-only cheat items, which will be
displayed in the menu but which are not selectable and have no
action associated with them. Empty information-only items are
automatically converted to menu separators.
2008-08-13 04:55:42 +00:00
R. Belmont
04239409b0 SH2DRC: Allow delay slot of a BSR to trash the PR if it wants. (Manis 2059) 2008-08-13 03:58:02 +00:00
Derrick Renaud
1daf41e218 Final CPU header updates. Mostly just re-naming the re-inclusions.
The structures/names were getting too complex for my macros to handle.  They would require hand editing and my computer is too slow to keep re-compiling.

Passes a clean compile.
2008-08-13 02:48:52 +00:00
R. Belmont
0f0b9208f6 Fix crash with DRC, now hangs waiting for impossible conditions again. 2008-08-13 02:33:22 +00:00
Tomasz Slanina
936c9c5275 Fixed ROM mapping and added preliminary video emulation. 2008-08-12 22:55:30 +00:00
davidhay
6debb2fb24 fix compile error pt2.
rule #1 of SVN, test before commit ...... not being able to compile the latest code is very annoying.
2008-08-12 22:47:00 +00:00
davidhay
216a0b5c3b fix broken compile. 2008-08-12 22:28:40 +00:00
Aaron Giles
111a34fea5 Added video level detection and reporting to ldverify.
Removed channels parameter from avcomp decode configuration.

Fixed incorrect test in winwork that led to spinning instead
of using the nicely allocated events we had on hand.

Forced a sound synchronization on each vsync in the laserdisc
playback. This prevents overwriting the tail end of the
buffer which was fouling up the MACH 3 audio decoding.

Removed obsolete size check for uncompressable audio data.
2008-08-12 17:37:53 +00:00
Brian Troha
c2b9cb3b7e corrects rom names for Road Riot 4WD 2008-08-12 17:36:22 +00:00
Roberto Zandona
906b6a5c39 now shanghai and adp use hd63484.c e hd63484.h in video folder 2008-08-12 15:29:20 +00:00
Nicola Salmoria
82494e9da3 updated Alpha 8302 MCU simulation to match newly dumped internal ROM.
Added the ROM to Champion Baseball 2.
2008-08-12 14:50:34 +00:00
Roberto Zandona
d6269d15fa use last version of HD63484 (like shanghai driver) 2008-08-12 12:23:24 +00:00
Roberto Zandona
526be2629c some improvements to shanghai video drivers:
1) convert framebuffer's ram from 8 bit to 16 bit
2) convert dma command from 8 bit to 16 bit
3) convert gfx command from 8 bit to 16 bit
4) implemented all gfx mode: 1,2,4,8,16 bpp
for now the rendering is only 8 bpp
now we can use this gfx chip for adp driver that use 4bpp
2008-08-12 12:04:21 +00:00
Aaron Giles
a85c4c754d Rejiggered huffman.c to support multiple interleaving
streams and a delta-RLE pre-encoding. Added optimized
case for the Y/Cb/Y/Cr video encoding case. Cleaned up
the code.

Updated avcomp.c to use the new huffman.c functions.
Reworked configuration options to allow for both input
and output of naturally aligned data streams. Updated
chdman and laserdsc to use the new interfaces. New
compression gives an additional 3-7% over previous
attempt and compresses the dummy CHDs down significantly.
2008-08-12 09:24:22 +00:00
Nicola Salmoria
d89508d201 Added reverse engineered PLD images to CPS1 games (A-board to all and B-board and C-board to many).
Credit Corrado Tomaselli and Charles McDonald.
2008-08-12 06:04:03 +00:00
Derrick Renaud
0ec9cda36e Fixed NMI on Mad Alien sound CPU. This fixes shot sound and various other sound glitches.
Marked madalien and madalina as Imperfect Graphics.  They are missing an effect.  When you shoot an enemy in the dark, the whole screen lights up.  Basically the headlights fill the whole screen.

credit Guru, Derrick Renaud
2008-08-12 03:51:29 +00:00
Derrick Renaud
d5d5d9449b structure, lower-casing functions and re-inclusion updates of the src\emu\cpu headers J - M. 2008-08-12 03:40:09 +00:00