Commit Graph

11853 Commits

Author SHA1 Message Date
Angelo Salese
8f3f00c6af Fix for MT #2072 (Robbert) 2011-04-20 13:07:08 +00:00
Miodrag Milanovic
009ddb06f5 Fix for crash in megadriv, MESS related (no whatsnew) 2011-04-20 09:41:38 +00:00
Miodrag Milanovic
442b49491a Added M68020HMMU in assert check to prevent asserting of mess mac drivers (no whatsnew) 2011-04-20 07:17:30 +00:00
smf-
dc665399f8 added new working game:
Tekken 2 (TES3 VER.D) [atchoo, Smitdogg, The Dumping Union, smf]
2011-04-19 22:27:22 +00:00
smf-
b9a9c0822e New games not working:
Tekken Tag (TEG2 VER.C1) [f205v, Smitdogg, The Dumping Union]
Liberto Grande (LG1 VER.A) [B. Munger, S. Ruiz, Smitdogg, The Dumping Union]
2011-04-19 22:10:57 +00:00
Aaron Giles
a0647e8e68 Use much bigger hash tables for memory allocations now that we are
allocating lots of small objects. Previous size was scaling poorly
and taking a lot of time to free, causing things like -listxml
and -validate to be a lot slower than before since the new 
driver_enumerator actually frees all of its memory at the end.

Also changed resource_pool to support a hash table size as input to
the constructor, which allows the global pool to be large, while
the machine-local pools can remain smaller.
2011-04-19 15:08:42 +00:00
Angelo Salese
d3a1560433 Ok, last spring cleaning, I hope ... 2011-04-19 14:36:17 +00:00
Aaron Giles
60965715b2 Fix ldplayer, and convert the driver to modern style. 2011-04-19 06:57:57 +00:00
Miodrag Milanovic
23f4601cab Fix for exit error codes by Oliver Stoneberg (no whatsnew) 2011-04-19 06:49:31 +00:00
Aaron Giles
d971ce8f36 Privatized most of the m_machine pointers in the system to prevent
direct use.
2011-04-19 06:02:01 +00:00
Aaron Giles
3628e7eaed Clean up code, adapt to existing coding style. 2011-04-19 04:26:02 +00:00
Aaron Giles
5e443744c5 Add C++ keywords. Support hash files and .lst files. 2011-04-18 22:56:29 +00:00
Aaron Giles
fecfc465df Switch from m_machine to machine() everywhere. In some cases this
meant adding a machine() accessor but it's worth it for consistency.
This will allow future changes from reference to pointer to happen
transparently for devices. [Aaron Giles]

Simple S&R:
m_machine( *[^ (!=;])
machine()\1
2011-04-18 20:06:43 +00:00
Aaron Giles
4e7f194a63 Cleanups of .lay files. 2011-04-18 18:56:40 +00:00
Aaron Giles
29604503ce Cleanups of the lst files. 2011-04-18 18:54:48 +00:00
Angelo Salese
065e05abcd I'm bored to do spring cleaning 2011-04-18 18:47:18 +00:00
Olivier Galibert
1e58c28af0 Opps, missed a pair of model2 variants, thanks Tafoid. 2011-04-18 18:35:24 +00:00
Fabio Priuli
e8c9a5598d uiimage.c: File Manager now displays the brief name of the image device to make easier to decide where to mount images (see e.g. megatech) [Fabio Priuli] 2011-04-18 17:07:17 +00:00
smf-
70afb316ed Expanded hack to make auditing work the same as rom loading. If the laser disc devices returned the correct searchpath then this wouldn't be required, but they all return "unkldplay". the rom loading doesn't use the searchpath yet, but when it does the laserdisc devices will need fixing. 2011-04-18 16:32:12 +00:00
smf-
0ed53639ba if a clone shares all it's roms with a parent then it assumes the clone is there if the parent is. 2011-04-18 15:22:02 +00:00
Curt Coder
5879fdf496 Refactored the M6510 CPU to use device callbacks for port read/write. [Curt Coder] 2011-04-18 14:23:09 +00:00
Angelo Salese
486fbfa555 Cleanups again 2011-04-18 00:06:50 +00:00
Jonathan Gevaryahu
272871986d tms5220.c: improve perfect interpolation hack slightly, should be less noisy after inhibit frames. [Lord Nightmare] 2011-04-17 23:35:22 +00:00
Jonathan Gevaryahu
f385ad5e0a tms5220.c: fixed perfect interpolation hack the rest of the
way, now it works as it did before 0.140 or so. [Lord Nightmare]
2011-04-17 21:01:51 +00:00
Aaron Giles
9ec834eb29 Remove redundant check. 2011-04-17 19:45:47 +00:00
Aaron Giles
18c8bcb17f Add temporary hack to put driver search path back for device roms. 2011-04-17 19:40:52 +00:00
Olivier Galibert
59a98d5c7c segas24: Start untangling the Vogon poetry Atari Ace left is his wake.
Apply the new timing implementation per cgfm's analysis.
          Gain ground is going to be stuck in free play mode.
          [O. Galibert]
2011-04-17 18:00:35 +00:00
Jonathan Gevaryahu
35af804269 tms5220.c: partially fixed perfect interpolation hack, disabled by default. [Lord Nightmare] 2011-04-17 17:58:12 +00:00
Aaron Giles
bfbd08f7f7 Improve driver enumerator to by default exclude internal drivers,
unless explicitly searched for.
2011-04-17 17:49:20 +00:00
Angelo Salese
e91993f24e cleanups, this time for good 2011-04-17 17:47:02 +00:00
Angelo Salese
7bfa8508cc Cleanups and version bump 2011-04-17 17:01:34 +00:00
smf-
3bfa2d07cd fixed hash collection == so a collection with only a sha1 and a collection with only a crc are not considered equal. this stops goofy hoops from being reported as a match for every chd (ghv101 only has crc listed, no sha1's). 2011-04-17 16:49:44 +00:00
Aaron Giles
7a63b54cee Make -romident use mame_printf_info consistently. 2011-04-17 14:38:09 +00:00
Curt Coder
8511e83106 Moved files to correct folder. 2011-04-17 14:12:06 +00:00
Curt Coder
4f3f0decb8 Imported MSM5832 RTC from MESS. (no whatsnew) 2011-04-17 14:10:26 +00:00
smf-
c972282319 hack to get build to work on visual studio 2010, which breaks 16 bit device callbacks. 2011-04-17 14:00:22 +00:00
smf-
f430376ca8 fixed chd auditing 2011-04-17 12:47:52 +00:00
Curt Coder
47120dca49 Imported MSM58321 RTC from MESS. (no whatsnew) 2011-04-17 12:36:33 +00:00
Curt Coder
509663c0d5 Imported MOS6529 SPIA from MESS. (no whatsnew) 2011-04-17 10:19:49 +00:00
R. Belmont
467c38d57e Fix OSX compile (no whatsnew) 2011-04-17 00:34:06 +00:00
Aaron Giles
55866daab8 Delegates 2.0 implementation. Resdesigned how delegates work to make
them more flexible and simpler to use. Got rid of the proto_delegates
altogether in favor of supporting delegates that are bound to NULL
objects. Added a front-end template that supports "natural" syntax
favored by libraries like boost. Added support for static functions
that take reference parameters instead of pointer parameters for the
object type. Updated all delegate users in the system to the new
syntax. [Aaron Giles]

Changed the DIRECT_UPDATE_HANDLER to take a machine reference like 
everything else in the system. Updated all users. [Aaron Giles]

Changed the FUNC() macro to automatically put an & in front of the
item passed. In general this works transparently, however it does have
the nice side-effect of catching situations where a variable is passed
instead of a function name. Fixed those cases to push the naming
upstream so that the name is now provided properly. Also added a
FUNC_NULL macro since FUNC(NULL) no longer works. [Aaron Giles]
2011-04-16 23:02:16 +00:00
Curt Coder
a14c67a8fe Fixed RP5C01 alarm output. (no whatsnew) 2011-04-16 22:09:20 +00:00
Couriersud
4a611f7d08 Fix loading fonts on MacOSX. [Couriersud] 2011-04-16 18:43:35 +00:00
Curt Coder
c98ef8f23a Refactored CDP1852 into a C++ device and cleaned up the Cidelsa driver slightly. (no whatsnew) 2011-04-16 17:55:38 +00:00
Curt Coder
f575cd348f Implemented 16-bit device callbacks. [Curt Coder] 2011-04-16 16:53:16 +00:00
Curt Coder
2541451a8a Imported RP5C01 RTC from MESS. (no whatsnew) 2011-04-16 15:30:57 +00:00
Fabio Priuli
67a8470e85 clifront.c: fixed -listmedia output (extensions were messed up). it's for MESS, so no whatsnew. 2011-04-16 14:17:49 +00:00
Curt Coder
d45116c7f6 Imported ADC0808 A/DC from MESS. (no whatsnew) 2011-04-16 13:06:04 +00:00
Miodrag Milanovic
8c838b22ee Added "Mandatory artwork is missing" error [Oliver Stöneberg] 2011-04-16 11:35:11 +00:00
Curt Coder
67cf590df8 Imported HD44102 LCDC from MESS. (no whatsnew) 2011-04-16 10:58:19 +00:00