Commit Graph

11999 Commits

Author SHA1 Message Date
Aaron Giles
932a42eac4 Be consistent about template argument naming. 2011-04-30 20:37:06 +00:00
Aaron Giles
580b29ee33 Fix indeterminate order of calls. 2011-04-30 20:21:00 +00:00
Miodrag Milanovic
d4eaf26045 Fix adding dynamic device fixing coco and ti99_4 (no whatsnew) 2011-04-30 18:51:40 +00:00
Aaron Giles
4bde2a6110 Move call to legacy device's stop function to device_stop() from the
destructor, in case the device tries to do something machine-related.
2011-04-30 18:38:27 +00:00
R. Belmont
06c4761151 konamigv: more documentation updates (no whatsnew) 2011-04-30 17:29:21 +00:00
Angelo Salese
dc889fd699 Today deprecat.h squashing 2011-04-30 16:05:10 +00:00
Angelo Salese
dcfdf0ea82 Fix for FMV colors in various PSX games, nw 2011-04-30 14:17:42 +00:00
Angelo Salese
43edd7c59f Updated notes for Alba ZG driver, nw 2011-04-30 14:14:30 +00:00
R. Belmont
383b8b4421 konamigv: Documentation updates [Guru] 2011-04-30 13:02:53 +00:00
Aaron Giles
2465eb7e4e Converted presave/postload functions to delegates. In a lot of
cases, we can get rid of the postload function entirely and just
call directly to the target function. Drivers eventually should
just override device_postload() instead of registering for callbacks.
2011-04-30 05:12:28 +00:00
Roberto Fresca
de17803350 New clones added
----------------
Witch Card (German, WC3050, 27-4-94) [Roberto Fresca, Team Europe]
2011-04-29 21:01:46 +00:00
Aaron Giles
5e964d09ce Latest delegate changes removed the need for bindable_object, so
get rid of it across the board.
2011-04-29 20:45:40 +00:00
Brian Troha
5408498afe promoted from NON-Working:
-----------------------------------------
Fruit Bonus 3G (Version 1.0.3) [Sara S.]
2011-04-29 20:29:24 +00:00
Angelo Salese
085ebb8431 Fix compile, this time for good 2011-04-29 19:12:30 +00:00
Aaron Giles
4d23a0b9fd Set machine prior to starting a new device if not already done. 2011-04-29 18:39:42 +00:00
Angelo Salese
52c4657df7 Fix compile 2011-04-29 16:11:19 +00:00
Angelo Salese
abcbda4c20 Correct dump for fb3g from Brian, nw? 2011-04-29 16:00:07 +00:00
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