Commit Graph

7426 Commits

Author SHA1 Message Date
Fabio Priuli
d1903dddb1 Fixed wrong order parameters in memset (spotted by Beledgol) 2009-11-18 18:32:07 +00:00
Aaron Giles
ad062c9e43 Fix TLBMOD exceptions so they also properly set BadVAddr. 2009-11-18 15:46:52 +00:00
Fabio Priuli
0e9664b331 Added driver_data struct to 1942.c and 1943.c. Also moved 1943.c to use memory_configure_bank in place of memory_set_bankptr.
Side-notes (not worth mention): 
* I fear we were missing a local static array in 1942 save states (now it is saved)
* I haven't found a better way to configure 1943 banks than to split the 0x4000 bank into 4 pieces. can anyone come up with a better approach?
2009-11-18 15:30:40 +00:00
Fabio Priuli
ea72b5770d Added tentative PORT_CUSTOM(eepromdev_bit_r) for EEPROM devices.
Not 100% sure this is the better way to implement this (we pass the eeprom tag as parameter of the PORT_CUSTOM), but I haven't been able to find a better solution.

No driver uses this yet, so I'm open to any suggestion before to use it extensively ;)
2009-11-18 13:26:30 +00:00
Fabio Priuli
778aebca90 Updated 20pacgal to use EEPROM device. Proper save state support still needs some work (to handle the rom banking mechanism).
Updated galgbios to use EEPROM_NODEFAULT.
2009-11-18 12:59:47 +00:00
Fabio Priuli
514c637bbe Added a MDRV_EEPROM_NODEFAULT_ADD macro for drivers which do not need default data size / data
I don't like too much this solution, but now the code is self contained: hence, better fixes (e.g. no MDRV_DEVICE_CONFIG_DATAPTR(eeprom_config, default_data, &_data) at all for the NODEFAULT eeprom?) could be added without further modifying the behavior across the drivers.
2009-11-18 12:56:36 +00:00
Fabio Priuli
1a9e28c419 Added driver_data struct to 4enraya.c 2009-11-18 12:51:25 +00:00
Jonathan Gevaryahu
2aa28ef3d9 fix crash bug 2009-11-18 08:56:19 +00:00
smf-
2fb6585733 removed include of non existant irem.h 2009-11-18 08:37:46 +00:00
Jonathan Gevaryahu
3dbbc11f0d Got rid of R->OldNoise since it causes problems for gamegear/sms. Changed noise taps accordingly. Redid change to gamegear/sms for XOR vs XNOR, now verified by Justin Kerk. Verified gamegear noise taps thanks to sample provided by Justin Kerk.
Add stereo sound support to sn76496.c for gamegear. [Lord Nightmare, Justin Kerk]
2009-11-18 08:09:19 +00:00
Fabio Priuli
c3ea836b07 Not worth any mention: fixed a couple of unknown manufacturer 2009-11-18 07:29:43 +00:00
Fabio Priuli
d8588f632f Added save state support and driver data struct to m10.c, m14.c, m52.c, m57.c, m58.c, m62.c, m63.c and travrusa.c.
Merged some include files and merged audio/fghtbskt.c in drivers/m63.c.
2009-11-18 06:47:40 +00:00
Aaron Giles
693024974e Fix assertion in DRC. 2009-11-18 06:12:50 +00:00
Angelo Salese
f9a9cbe81b hng64: Improved the Samurai Shodown 64 2 i/o simulation comms, now inputs works and enters into proper gameplay 2009-11-17 23:43:08 +00:00
Scott Stone
ef6e492a40 Fix for r7200 changes to allow nndmseal to boot once again. [David Haywood] (no whatsnew needed) 2009-11-17 22:35:24 +00:00
Phil Bennett
6fbe49dcb9 Replaced model3.c fatalerror() calls with development-friendly logerror() calls. Also allows dayto2pe to boot again. 2009-11-17 20:40:34 +00:00
Fabio Priuli
5d6b32a8a5 it might help to save latest version of the files before commit: this properly adds save state flag to marineb.c games 2009-11-17 18:55:47 +00:00
Fabio Priuli
2548154f87 Added save state support to marineb.c
Added driver data struct to espial.c, marineb.c & zodiack.c
2009-11-17 18:51:55 +00:00
Fabio Priuli
112a759ceb Added driver data struct and save state support to pandoras.c 2009-11-17 18:07:30 +00:00
Fabio Priuli
0ce54a4eda Fix for MT03535: 3stooges: P1-P2-P3 button does not match documentation (input (this game))
Please credit Haze for this fix.
2009-11-17 17:48:19 +00:00
Aaron Giles
aeca44b1ca Fix PowerPC 603 translation so it doesn't get stuck in an infinite
loop after the first fixup.
2009-11-17 15:43:06 +00:00
Aaron Giles
39957739fd Fix broken DRC logging. 2009-11-17 15:40:48 +00:00
Jonathan Gevaryahu
0a647b65c9 revert gamegear/sms psg change, was probably correct before, but need a better sample of the waveform to make sure. 2009-11-17 13:34:30 +00:00
Aaron Giles
ccefa6749d MIPS3 TLB fixes:
- fixed bug in vtlb code that caused us to lose track of previously
    registered fixed page ranges
 - fixed MIPS3 behavior that would not clear out invalid page ranges
    from the VTLB under certain circumstances
 - added support for TLB sizes less than 48 entries
2009-11-17 06:09:38 +00:00
Brian Troha
ff8dd5641e Greyhound driver update:
Mark second "Super Poker" rom as BAD_DUMP, self test reports it as bad.  Added version number to amuse1 rom def and minor whitespace cleaning
2009-11-17 02:53:20 +00:00
mariuszw1
de54fe04aa Merged findout.c and getrivia.c into gei.c [Mariusz Wojcieszek] 2009-11-16 22:02:33 +00:00
Phil Bennett
ba64d1b501 New clones added
----------------
Steraranger (Moon Cresta bootleg) [Siftware]
2009-11-16 16:10:45 +00:00
Phil Bennett
9246ea1028 Fixed out-of-bounds array accesses in the peplus and videopkr drivers [Oliver Stöneberg]
---------- Forwarded message ----------
From: Oliver Stöneberg <oliverst@online.de>
Date: Sun, Nov 15, 2009 at 3:43 PM
Subject: fixes for cppcheck issues
To: submit@mamedev.org


The following patch fixes some issues reported by cppcheck:
- buffer out-of-bounds accesses in mame/drivers/peplus.c and
mame/drivers/videopkr.c (the latter hopefully fixing the long-
standing crashing issue)
- compilation of mame/machine/irobot.c when DISASSEMBLE_MB_ROM is set
to 1
2009-11-16 15:41:10 +00:00
Yasuhiro Ogawa
68d6aaaa55 added GAME_IMPERFECT_GRAPHICS flag to ohpaipee [Takahiro Nogi]
(garbages on both sides of title screen)
2009-11-16 14:06:54 +00:00
Ryan Holtz
7dd93bbb11 Potential fix for the 64-bit crashing issues in N64 [Harmony] 2009-11-16 13:21:06 +00:00
Yasuhiro Ogawa
5735810bcf New clone added
Popeye Man (hack) [Team Japump!!!]
2009-11-16 11:42:05 +00:00
Jonathan Gevaryahu
315b992f44 Add NCR7496 variant to sn76496.c
Switched the SMS and Game gear PSGs to use an XOR instead of XNOR feedback, but this needs further verification. Updated comments to show which chips are currently verified. Cleaned up comments.
2009-11-16 09:06:00 +00:00
Aaron Giles
19bf1b46ea MIPS3 TLB fixes:
- now properly generating TLB fill exceptions under correct circumstances
 - TLB exceptions no longer trash low 4 bits of Context
 - exceptions with the EXL bit set always go to vector 0x180
2009-11-16 06:45:54 +00:00
Jonathan Gevaryahu
a04f60c0f4 Fix screeching in regulus: When summing together four equal channels, the size of the max amplitude per channel should be 1/4 of the max range, not 1/3. oops. No idea when this bug is from, but its OLD. 2009-11-16 05:58:42 +00:00
Brian Troha
65dc27ae95 ID Snowboard "set 1" as version 2.0 as verified by ANY. Make version 2.1 the new parent 2009-11-16 03:32:53 +00:00
Ryan Holtz
2a9387c49d Reverting bad fix 2009-11-16 02:45:46 +00:00
Ryan Holtz
4cef27ecc9 - Fixed Context usage and TLB exception vectors in the MIPS core [Harmony] 2009-11-16 00:04:37 +00:00
Aaron Giles
e0d437dc1d Enforce a minimum tag length of 3 characters. This will enable
future lookup optimizations. 

By and large, the only things that used 2-character tags were bulk-
converted sound chips which were generally mapped to "ym" or "ay" 
(and a few others). These were changed to "ymsnd" and "aysnd", 
mimicking the way CPUs were changed from "main" to "maincpu" a while
back.
2009-11-15 22:02:27 +00:00
Ryan Holtz
f92412bc18 Warning removal and improvement of some functionality. No whatsnew. 2009-11-15 21:23:56 +00:00
Brian Troha
e3bba57afc corrected rom names for R-Type II world set as per verification by Andrew Welburn 2009-11-15 19:04:36 +00:00
mariuszw1
e9616290bd More Greyhound:
- added dip switches for Super Poker
- improved inputs in Sports Authority
2009-11-15 18:36:49 +00:00
Phil Bennett
ede2cb5bcf New clones added
-----------------
R-Type II (Japan, revision C) [Andrew Welburn]
2009-11-15 18:07:13 +00:00
Angelo Salese
0cc5c031ba Improved the V25S memory map in Batsugun, now CPUs starts to communicate properly, needs to find & implement the irq that clears the RAM flag and decrypt the relative opcodes in that 2009-11-15 18:04:52 +00:00
Luca Elia
e863bcf276 Another mjvegasa dip switch (no what's new) 2009-11-15 17:04:05 +00:00
Aaron Giles
bd11e46b0c Minor comment cleanup. 2009-11-15 15:47:37 +00:00
Phil Bennett
5eb822fc78 Cleaned up toaplan2 V25 support, enabled Batsugun V25 and added decryption table info for the other games [David Haywood] 2009-11-15 15:12:47 +00:00
Phil Bennett
e21bdc37b0 New games added
---------------
Oh! Paipee [Takahiro Nogi]
Tougenkyou [Takahiro Nogi]
2009-11-15 14:59:54 +00:00
Ryan Holtz
ec0c13baa8 Many N64 RDP fixes. [angrylion, Ziggy, Gonetz, Orkin, DrgnMndd, Harmony] 2009-11-15 10:26:14 +00:00
Jonathan Gevaryahu
aaf66f0744 Reverted bipolar output due to problems in MESS, code is commented out. 2009-11-15 05:38:25 +00:00
Jonathan Gevaryahu
ff546330ef Minor comment update. 2009-11-15 04:15:58 +00:00