Commit Graph

11982 Commits

Author SHA1 Message Date
smf-
35968f9281 Started moving hardware in the CPU into the CPU core. Next step will be to use delegates to split dependencies, which is similar to how the real thing works as the address decoding is in the CPU and then each external chip has it's own bus. 2011-04-29 13:51:10 +00:00
Angelo Salese
92146956ae Fixed protection read-back registers 0x07 and 0x0e / 0x0f in k051733 math chip, finally fixing gameplay issues in Chequered Flag.
new working game
----------------
Chequered Flag [Angelo Salese]
2011-04-29 00:35:15 +00:00
Scott Stone
9efdcf15ce Inserted xtals from pcb writeup and estimated divisors which are a large improvement to what was there for badlandsb (Playmark bootleg). (no whatsnew) 2011-04-28 23:31:06 +00:00
Angelo Salese
03f962961e konamiic.c clean-up ... having two identical function names is bad bad BAD for grep'ing, shrug 2011-04-28 23:19:48 +00:00
Angelo Salese
a8d32c1b60 deprecat.h removal, part 1 for today 2011-04-28 21:22:11 +00:00
Angelo Salese
1298dae477 Naomi / Triforce / Chihiro documentation update [f205v] 2011-04-28 18:51:46 +00:00
Angelo Salese
27030d5bba Fix for MT #4326 (AWJ) 2011-04-28 18:47:15 +00:00
Curt Coder
bb378f4f8e Added 3.5" ED floppy drive type. [Curt Coder] 2011-04-28 17:49:17 +00:00
Angelo Salese
35907ef082 AM_NOP for silly layer clearing 2011-04-28 16:57:39 +00:00
smf-
3c81107df2 made gte a separate class. 2011-04-28 16:51:33 +00:00
smf-
ad7eaf9cce oh yeah, using strcmp on the name is bad 2011-04-28 14:26:33 +00:00
Curt Coder
2a901df4cb Fixed reset register bit masks in RP5C01 and RP5C15. [Curt Coder] 2011-04-28 12:31:07 +00:00
smf-
610a53ae78 Created devices for each type of PlayStation CPU 2011-04-28 12:08:09 +00:00
Miodrag Milanovic
37c0ed3fad Fix compiling debugger in SDL (no whatsnew) 2011-04-28 12:07:50 +00:00
Miodrag Milanovic
96b402e8e1 Fixed typo in sdl/input.c (no whatsnew) 2011-04-28 11:51:06 +00:00
Curt Coder
05ecfb6e21 Cleanup. (nw) 2011-04-28 09:55:54 +00:00
Angelo Salese
b40ca1be79 WIP code removal 2011-04-28 01:58:13 +00:00
Angelo Salese
1ce1e3c39c Today work for deprecate the deprecat.h 2011-04-28 01:54:18 +00:00
Curt Coder
a8d41ae349 Fixed I8255 interrupt enable. [Curt Coder] 2011-04-27 22:48:19 +00:00
Curt Coder
c2dac01d33 Fixed Z80STI interrupts. [Curt Coder] 2011-04-27 22:42:52 +00:00
Fabio Priuli
8789bfbd27 tentative fix (this time for real) for PSX video breakage between 0.141u2 and 0.141u3
test cases:
Madden '96 proto: without this line the games dies right after the stat screen, with this line you can enter in-game and play
Baldur's Gate proto: without this line no video, with this line video are played (even if the RGB switch is still present) and you can reach the title screen
2011-04-27 22:00:29 +00:00
Fabio Priuli
ea6eacb640 reverted previous commit. it was useless. my bad :( 2011-04-27 21:57:28 +00:00
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