Commit Graph

11960 Commits

Author SHA1 Message Date
Fabio Priuli
7b3abdce08 psx.c: adjusted MDEC timing to avoid lockups. Most FMVs now have fluent video. [R. Belmont]
This got never commit in MAME, last February, with the unique result that after two weeks the code got overwritten by 0.141u3 update and the FMVs got broken again...
2011-04-27 20:42:26 +00:00
Aaron Giles
af94c692bb Switch to using delegates for some callbacks:
- non-device timer callbacks
 - machine state changing callbacks
 - configuration callbacks
 - per-screen VBLANK callbacks
 - DRC backend callbacks

For the timer case only, I added wrappers for the old-style functions.
Over time, drivers should switch to device timers instead, reducing the
number of timers that are directly allocated through the scheduler.
2011-04-27 20:34:45 +00:00
Scott Stone
9092f15964 04304: captaven: Color glitch on scrolling ocean on Stage 2 2011-04-27 20:16:58 +00:00
R. Belmont
dbfbf4e0b0 fix SDL compile (no whatsnew) 2011-04-27 16:46:21 +00:00
R. Belmont
755d51625b fix compiling psx drivers (no whatsnew) 2011-04-27 16:33:51 +00:00
Miodrag Milanovic
86ae8022d2 Fixed files missed in big update, but only used by MESS (no whatsnew) 2011-04-27 14:24:29 +00:00
smf-
d7b295a387 split out gte code from cpu core, although it's still part of the cpu device. 2011-04-27 12:29:39 +00:00
smf-
8f7caff5ea split out psx cpu core to it's own directory, ready for a reorganisation. 2011-04-27 10:31:44 +00:00
Aaron Giles
919913f118 Collapsed device_config and device_t into one class. Updated all
existing modern devices and the legacy wrappers to work in this
environment. This in general greatly simplifies writing a modern
device. [Aaron Giles]

General notes:
 * some more cleanup probably needs to happen behind this change,
   but I needed to get it in before the next device modernization 
   or import from MESS  :)

 * new template function device_creator which automatically defines
   the static function that creates the device; use this instead of
   creating a static_alloc_device_config function

 * added device_stop() method which is called at around the time
   the previous device_t's destructor was called; if you auto_free
   anything, do it here because the machine is gone when the 
   destructor is called

 * changed the static_set_* calls to pass a device_t & instead of
   a device_config *

 * for many devices, the static config structure member names over-
   lapped the device's names for devcb_* functions; in these cases
   the members in the interface were renamed to have a _cb suffix

 * changed the driver_enumerator to only cache 100 machine_configs
   because caching them all took a ton of memory; fortunately this
   implementation detail is completely hidden behind the 
   driver_enumerator interface

 * got rid of the macros for creating derived classes; doing it
   manually is now clean enough that it isn't worth hiding the
   details in a macro
2011-04-27 05:11:18 +00:00
Angelo Salese
84f2c31f7d Misc changes / notes 2011-04-27 00:46:07 +00:00
Angelo Salese
903fd0980a Replaced zebra-esque FIFO sound communications in bwing.c driver in favour of a more common horse (soundlatch_r/w) ... rule of thumb: if you don't have fifo empty/full status bits that means that you CAN'T have a FIFO, at all. 2011-04-27 00:09:00 +00:00
Angelo Salese
c688eef66e Removed deprecat.h usage from bwings.c driver [Angelo Salese] (PS: oh my goodness >.<) 2011-04-26 23:41:44 +00:00
Curt Coder
d696ce66b4 Fixed build breakage. (nw) 2011-04-26 21:41:59 +00:00
Curt Coder
74fd0a9783 Fixed LMC1992 state saving issue. (nw) 2011-04-26 21:29:19 +00:00
Fabio Priuli
2444f3ae40 Temporary workaround to allow successful compile. No whatsnew
Please Curt, check the following drivers, when you can

pengudvb.c
sg1000.c
norautp.c
photon.c
2011-04-26 20:37:08 +00:00
Curt Coder
9b06486135 Refactored I8255 into a C++ device. (no whatsnew) 2011-04-26 14:10:10 +00:00
Miodrag Milanovic
a1d618b9da Fixed issues with latest change by adding safety 16bit handling (no whatsnew) 2011-04-26 13:01:09 +00:00
Miodrag Milanovic
fbbbaa20ae Fixed i86/i386 POP SP and POP ESP thanks to bug report for Xenix boot by bs666 [Miodrag Milanovic] 2011-04-26 12:38:11 +00:00
Miodrag Milanovic
8cd463515b intelfsh.c: Added support for Fujitsu 29DL16X. [Sandro Ronco] 2011-04-26 09:34:22 +00:00
Angelo Salese
eba3ac406c Bunch of skips 2011-04-26 02:22:26 +00:00
Angelo Salese
d94e167db3 Removed cheapest deprecat.h usages (generally sound cpu ones) 2011-04-26 02:07:38 +00:00
Angelo Salese
2837e7dc4b Removed deprecat.h usage for Straight Flush (8080bw.c driver) [Angelo Salese] 2011-04-26 00:02:45 +00:00
Angelo Salese
d21206ceba Removed deprecat.h dependancy in xxmissio.c driver [Angelo Salese] 2011-04-25 23:51:36 +00:00
Angelo Salese
5686bdc3eb Removed deprecat.h dependancy and fixed main CPU NMI masking in zodiack.c driver [Angelo Salese] 2011-04-25 23:39:26 +00:00
Angelo Salese
5d8b156ac1 Removed deprecat.h usage from zn.c driver [Angelo Salese] 2011-04-25 22:39:16 +00:00
Angelo Salese
d2b118e742 Converted Taito_L driver to use AM_SHARE macro [Angelo Salese] Removed sound hacks in Evil Stone, fixing sound drop if you die at level 1 boss [Angelo Salese] 2011-04-25 21:31:27 +00:00
Angelo Salese
eeefcd86be Removed deprecat.h dependancy from gberet.c [Angelo Salese] 2011-04-25 19:30:01 +00:00
Angelo Salese
16a3d05367 Removed deprecat.h dependancy from expro02.c [Angelo Salese] 2011-04-25 18:43:43 +00:00
Angelo Salese
67ae464ff0 Fixed Fantasia too 2011-04-25 18:10:41 +00:00
Angelo Salese
ce05c6d7c8 Fixed sprite regression in expro02.c [Angelo Salese] 2011-04-25 17:45:50 +00:00
Angelo Salese
c1c86d3cff Removed deprecat.h dependancy from airbustr.c driver [Angelo Salese] 2011-04-25 17:20:51 +00:00
Angelo Salese
b70104f84e Cleanups and version bump 2011-04-25 15:20:42 +00:00
Angelo Salese
c0de51821f Another note 2011-04-25 14:56:07 +00:00
Curt Coder
92ebabc84f Imported LMC1992 audio mixer from MESS. (no whatsnew) 2011-04-25 14:56:03 +00:00
Angelo Salese
b2c353c7b6 Forgot this ... 2011-04-25 12:05:36 +00:00
Scott Stone
916cadb186 Validity Check Fix for cop01a (no whatsnew) 2011-04-25 01:45:38 +00:00
Angelo Salese
0abc69ae4a Another one 2011-04-25 01:15:28 +00:00
Angelo Salese
cfa2cee1a7 Misc notes 2011-04-25 01:14:21 +00:00
Scott Stone
8db89cfa7d Fixed 04314: lca, lca2: Wrong description. (no whatsnew) 2011-04-25 00:25:52 +00:00
Angelo Salese
4604d263f8 Fix compile #2 2011-04-25 00:24:46 +00:00
Angelo Salese
793314b416 Fix compile 2011-04-25 00:17:15 +00:00
Angelo Salese
ae71618fd5 Celebrate marriage between stv.c and saturn.c, nw 2011-04-24 23:35:30 +00:00
Angelo Salese
78c28738ff Fixed a model1.c assert 2011-04-24 23:21:48 +00:00
Angelo Salese
4c18b439bc Hand-tuned sound frequencies in Cop 01 based off an audio reference [Tafoid] 2011-04-24 23:20:32 +00:00
Angelo Salese
d3c1de2c04 mame.lst comments for MESS sets 2011-04-24 23:04:50 +00:00
Angelo Salese
2860975b50 Celebrate marriage between cps1 and cpschanger, nw 2011-04-24 22:37:47 +00:00
Angelo Salese
fed08e39f7 Haze: Merged CoJag and Jaguar (MESS side) drivers, nw 2011-04-24 22:15:07 +00:00
Angelo Salese
259d8afd62 Added missing bitswaps, nw 2011-04-24 22:00:36 +00:00
R. Belmont
8c4dbf7950 es5503: Properly mask oscillator enable bits when setting. [R. Belmont] 2011-04-24 20:57:22 +00:00
Curt Coder
f6f42c5f46 Refactored CDP1864 into a C++ device. (no whatsnew) 2011-04-24 19:31:48 +00:00