Commit graph

18233 commits

Author SHA1 Message Date
Aaron Giles
4f205d64be (From Atari Ace)
Fix memleak0122u2ora
2008-01-11 06:33:08 +00:00
Aaron Giles
fd5b288fd3 (From Dave Dribin)
Here's a patch that fixes compile errors when compiling a C++ source file including "render.h"
and "palette.h".  C++ (at least g++) does not like typedef's for an enum coming before the actual enum.
2008-01-11 06:32:16 +00:00
Aaron Giles
c96a3b766a (From AtariAce)
While investigating alternate gfx layout schemes, I stumbled across
the fact that some drivers are allocating graphics with one layout and
then decoding them with another (!).  There's no guarantee this will
work, but for the drivers that do so (all Konami games), the layouts
are similar enough that it does.  A related potential bug is that many
drivers are decoding using the layout provided to allocgfx, not the
layout attached the element returned from allocgfx.  If the element
had scaling applied to it, this would be incorrect, but since scaling
is rare these are also benign.  It would also be a problem if the
layout data had a different internal representation (which is
something I'm experimenting with), so to reduce the possibility of
coding errors and allow for future changes, I'd like to remove the
layout parameter from decodechar.

So here's two patches, the first fixes the affected Konami drivers to
allocate and decode using the same layouts.  It changes the notion of
plane_order and bpp in the functions somewhat to let the start
routines select the appropriate layout, but acceptably so IMHO (I can
clean this up further if there are loud objections).  The second patch
then removes the layout parameter from all the decodechar() calls.

I also reviewed MESS to see if it had similar problems and didn't find
any.
2008-01-11 06:31:19 +00:00
Zsolt Vasvari
d0c7416adf Unified memory maps
Reversed ROM set names of Cuebrick World and Japan versions
Changed some function names to reflect parent set
cuebrckj0102u5gre doesn't happen (I didn't fix it)
2008-01-11 00:17:47 +00:00
davidhay
47cf2c7874 log:
- added MESS PC-Engine emulatation
- added Blazing Lazers (working)
- added Paranoia (non-working due to lack of jamma interface 
emulation)
- fixed MAME debug build under VC2003

Please co-credit Charles MacDonald & Mr. Do for Blazing Lazers.

Note to Nathan: video/vdc.* re taken as-is from MESS, for the 
machine stuff I extracted common code (to be shared by MAME and 
MESS) and created machine/pcecommn.*
2008-01-10 22:34:51 +00:00
Brian Troha
d194ca43eb Adds version 1.2 of "The Grid" to the midzeus.c driver
Simple clone addition & minor commentes added to the
Invasion - The Abductors.
2008-01-10 21:58:00 +00:00
Aaron Giles
8240d56dd9 Added support for outputting 64-bit target addresses. 2008-01-10 18:14:50 +00:00
Aaron Giles
c09a3df1e9 System 2 driver cleanup.
Proper video timing.
Full memory maps.
Save state support.
Removed 720 sound CPU hack in favor of prepopulated EEPROM like the other games.
2008-01-10 17:57:26 +00:00
Zsolt Vasvari
e48263b694 Fixes tmnt095gre - emulated reset line's effect on the UPD7759 controlling flip-flops 2008-01-10 16:14:02 +00:00
Phil Bennett
c4a20b32bb Added another QOS revision and shuffled existing sets (oldest is now qosb).
Credit HIGHWAYMAN.
2008-01-10 13:30:36 +00:00
Zsolt Vasvari
6b561ebbc2 Clears up memory map 2008-01-10 10:46:58 +00:00
Zsolt Vasvari
46fc94dad9 Removed no longer needed patching from Cosmon, Space Fortress and Gold Bug 2008-01-10 04:49:27 +00:00
Zsolt Vasvari
4260f4f8ab Fixed disassembly of Flag Out bit
Fixed incorrect argument order in OUT instruction
Corrected spacing
2008-01-10 04:47:58 +00:00
R. Belmont
6cbe41fbc1 Fixes hang/crash on empty config file. (patch by Wilbert Pol) 2008-01-10 04:23:41 +00:00
Zsolt Vasvari
19205daeb0 Fixed the disassembly of the Sense bit 2008-01-10 03:07:17 +00:00
Zsolt Vasvari
6257a5476e Remove CVS BIOS entry (ROM sets will need to be updated) 2008-01-10 01:46:52 +00:00
Zsolt Vasvari
ad0e78bc1c Added speech CPU
Removed cvsdrvrc.c
2008-01-10 00:57:25 +00:00
davidhay
43fcffd195 actually lowering the interleave rate seems to fix it..
probably not an ideal solution, but I was unable to reproduce deadang0119u2red with lower interleave values.
2008-01-09 23:58:58 +00:00
davidhay
11d50bcf20 Adds Guru's Lead Angle (Dead Angle Japan ver) dump. I haven't fixed the lockup bug that was introduced recently however. 2008-01-09 23:46:31 +00:00
davidhay
15eeeaa04d Fixes scan functions for Bg.. they were swapped.. no idea who broke this, or when it broke... 2008-01-09 23:15:18 +00:00
davidhay
7088b5139e Reorganization of Raiden 2 driver.. a bit of extra documentation of the 'V33' based set, which I've renamed..
nothing new working.
2008-01-09 23:10:20 +00:00
davidhay
eaf4e19272 Add's 'Name Club Ver.3' to stv.c, it seems to run, you can coin it up, select the images / text.. although you can't print anything. Could do with some speedups. 2008-01-09 21:49:13 +00:00
davidhay
ce332b954b Adds Guru's dump of Sega Marine Fishing (NOT WORKING)
+ Adds Guru's NAOMI cart readme.
2008-01-09 21:04:22 +00:00
Couriersud
377d2b5372 sauro.c:
* Hooked up sp0256 sound
* analyzed and commented some ports
* added palette_bank support without real success
* removed game_imperfect_sound
2008-01-09 15:16:36 +00:00
Zsolt Vasvari
c06b5027d3 Reogranized and started to clean up the CVS driver.
Moved ROM definition into its own file, like the NeoGeo driver
2008-01-09 09:48:39 +00:00
Aaron Giles
16c5f688fa Cleaned up brkthru/darwin memory maps.
Changed both games to use identical video timing parameters based on measurements of darwin.
Guessed based on available information at the master clock and derived all game clocks from it.
2008-01-09 07:06:55 +00:00
Aaron Giles
29f2a7862a Wow. I can't believe I got away for months without saving RBP.
Should fix linux crashes with 64-bit DRC.
2008-01-09 06:35:07 +00:00
Aaron Giles
90e0297191 (From Corrado Tomaselli)
Changed and verified frequencies on Ikari Warriors h/w, Tnk3, Hyper Sports, Jackal and S.A.R
Updated xtal.h to support the 13.4mhz crystal found on Ikari warriors and TNK3 h/w

Verified and corrected a lot of frequencies and oki6295 pin 7 on pcbs:
Double Dribble, Chequered Flag, Diet gogo, Boulderdash, Sly Spy, Psycho 
Nics Oscar, Captain Silver, Magical Cat Adventure, Raiden, Superman, 
Twin Hawk, Vimana, Ghox, Dogyunn, truxton2, Pipi and Bibis, Fix Eight 
and Money Money

They were all verified with frequency counter, even the strangest ones 
are right.
2008-01-09 05:27:45 +00:00
Phil Bennett
3cda58d8c6 Also corrected Cycle Warriors DIP switches... 2008-01-09 02:17:16 +00:00
Phil Bennett
d720998264 Added correct DIP switch settings for Big Fight. 2008-01-09 01:44:09 +00:00
davidhay
1efa9a8c06 (Testing SVN account)
Added Guru's dump of Suchie3, all roms pass service check.
2008-01-09 00:58:35 +00:00
Phil Bennett
352e1e6879 TX-1 improvements (co-credit Guru):
* Fixed remaining arithmetic unit issues
* Added correct object colour pixel LUT PROM to tx1a
* Fixed x-flipping
* Added engine sounds
2008-01-09 00:17:09 +00:00
Couriersud
9756e82982 audio/dkong.c:
* fixed LS123 constant to match TI datasheet diode circuit constant
2008-01-08 20:48:35 +00:00
Couriersud
e8be9779ee mario.c:
* discrete sound
* hooked up z80dma
* combined memory maps
* statics in mario_state struct
* fixed save state issues
* combine sh_* writes into one routine

The skid sound is different from the samples. Reducing the LS123 capacitor by 40% will give the same sound, so I assume this is due to capacitor aging on the board the samples were recorded.
2008-01-08 20:46:56 +00:00
Aaron Giles
5ef1f5ec19 (With help from Mamesick)
Implemented proper video timing and scanline interrupts.
Fixes m72_0115u3yel
2008-01-08 17:55:04 +00:00
Zsolt Vasvari
bc7e03ec5e Fixes DAC sounds 2008-01-08 16:34:03 +00:00
Zsolt Vasvari
c559bb4b4a Removed a bunch of dead code 2008-01-08 12:32:54 +00:00
Aaron Giles
1b378f7136 Simplified Y-unit DMA rendering.
Fixes term20103u4gre and term20104u2gre
2008-01-08 10:29:22 +00:00
Zsolt Vasvari
ecfd14305e Fixed lasso056gre_1 and lasso056gre_2 (same bug, really.) Adjusted CPU clock to the same as the Rock-Ola games of the same era. The hardware is related. With this new CPU clock, the between-level music finishes
perfectly.

Also cleaned-up the driver a bit.
2008-01-08 09:57:40 +00:00
Aaron Giles
c846ce37d9 Added a workaround for umk3059gre and umk3137b5gre.
It's a hack, but a well-understood and clearly documented one.
Maybe smf can fix it for real in the distant future.
2008-01-08 09:26:12 +00:00
Aaron Giles
6f0b1f3e0f Added a comment about why the SRAM test fails and why it won't ever be fixed. 2008-01-08 08:27:18 +00:00
Aaron Giles
f504e2c12c Added XTALs to the DCS system.
Removed unnecessary sound board reset in MACHINE_RESET of kinst.
Fixes kinstc081u7gre and kinst2083gre
2008-01-08 08:26:16 +00:00
Aaron Giles
8fc9bc85e4 Yet another attempt to fix the MIPS 64-bit Linux crash. 2008-01-08 07:48:36 +00:00
Aaron Giles
3a0b58f14e Fixed winwork to use proper tchar functions for getenv. 2008-01-08 07:17:22 +00:00
Aaron Giles
f7ea81a055 (From robiza)
Fix for blktiger060gre
2008-01-08 06:55:31 +00:00
Aaron Giles
a3b57f5fd5 (Windows only)
Added code to debug 64-bit builds to allocate all address space below 4GB to help find 64-bit errors.
Added environment variable OSDDEBUGMALLOC which, if set, explicitly overrides the debug malloc debug settings.
Added environment variable OSDDEBUG4GB which, if set, explicitly overrides the new 64-bit address space allocations.
(Sadly this is necessary due to my nvidia D3D drivers being 64-bit unclean....)
2008-01-08 06:19:50 +00:00
Zsolt Vasvari
1ee549675e This fixes qbert37b14gre1. I changed some of the speech samples to start based on the phonemes played, instead of intercepting the sound command sent. This fixes the start-up sounds in Q*Bert and Reactor, which are triggered by the audio CPU without the main CPU having to send it a command. There are still a bunch more samples that could be converted. 2008-01-08 04:10:15 +00:00
Aaron Giles
a211ba264b (From Atari Ace)
Small fix to the gfxlayout cleanups included in u4.
2008-01-08 03:06:02 +00:00
Aaron Giles
990bc873d6 (From AtariAce)
Added machine and cpunum parameters to INTERRUPT_GEN callbacks.
Fixed several places that were not using INTERRUPT_GEN or OPBASE_HANDLER macros.
2008-01-08 03:05:19 +00:00
Zsolt Vasvari
f57292b93c Adds Road Runner (Midway) GAME_NOT_WORKING due to bad ROM 1E (shame) 2008-01-07 23:31:51 +00:00