Commit Graph

15615 Commits

Author SHA1 Message Date
Angelo Salese
a19003ca09 Small mods for am_mg3 and mg24, they won't boot tho 2012-04-22 21:58:42 +00:00
Michaël Banaan Ananas
0ffbc7ee48 added base inputs 2012-04-22 21:45:56 +00:00
Couriersud
cae71716fa Fixed MameTesters Bug 4745 2012-04-22 20:50:39 +00:00
Angelo Salese
42c7bd7fcb Simplified GFX ROM loading 2012-04-22 20:39:21 +00:00
Angelo Salese
7c8857a5e0 Some improvements to am_uslot 2012-04-22 20:31:17 +00:00
Michaël Banaan Ananas
15eef06496 video/timing updates, game still says "vblank failure" tho 2012-04-22 18:55:29 +00:00
R. Belmont
825b6f94fa Fix for older GCCs (nw) 2012-04-22 15:13:29 +00:00
Angelo Salese
ded30e907e Clean-ups and version bump 2012-04-22 14:10:44 +00:00
Michaël Banaan Ananas
b6791d3348 small driver update 2012-04-22 12:01:23 +00:00
Miodrag Milanovic
c0a5c0be4b Fix for older GCC, thanks to Robbbert (no whatsnew) 2012-04-22 09:28:27 +00:00
Miodrag Milanovic
5a953d9251 small cleanup (no whatsnew) 2012-04-22 09:09:28 +00:00
smf-
d2567982da fixed build 2012-04-22 07:36:19 +00:00
Aaron Giles
769de61309 Fix some regressions. 2012-04-22 05:29:39 +00:00
Aaron Giles
75160ba9c2 For 16-bit devcb handlers, use separately-named templates
devcb_stub16, which in turn required new macros
DEVCB_MEMBER16, DEVCB_DRIVER_MEMBER16, and DEVCB_DEVICE_MEMBER16.

Sorry about this, but the differences between the function
types is apparently not sufficient for proper template
differentiation under MSVC.
2012-04-22 05:29:25 +00:00
Brian Troha
066015be04 sangho.c: Spelling correction - NW 2012-04-22 05:21:33 +00:00
Brian Troha
53ffca75cf sangho.c: Sexy Boom's difficulty DSW setting corrected and verified. [stephh] 2012-04-22 05:19:13 +00:00
Aaron Giles
a0a0ffd5fe Only print mismatched width warnings for required pointers.
Gets rid of spurious messages in tons of drivers.
2012-04-22 05:18:20 +00:00
Aaron Giles
f3de08a9f8 Created ioport_manager and moved the port list to it.
Removed global port lookups, now all lookups must be
done through device_t::ioport().
2012-04-22 05:07:46 +00:00
R. Belmont
094ba4f266 Another Clang fix [Balrog] 2012-04-22 02:47:03 +00:00
Michaël Banaan Ananas
0866030f2f some updates, nothing to see yet from the outside 2012-04-22 02:41:47 +00:00
Michaël Banaan Ananas
7936bd18b7 keys for the other game too, from andreas 2012-04-22 01:03:06 +00:00
Brian Troha
806c214597 paradise.c: Correct Penky Dipswitch chart from manual - NW 2012-04-21 23:42:20 +00:00
Brian Troha
b41e16264b pokechmp.c: Correct dipswitches as per manual and add dipswitch locations. [Brian Troha] 2012-04-21 23:26:27 +00:00
Brian Troha
2cf4aa7f80 sangho.c: Filled in some dipswitches for Sexy Boom & Puzzle Star and added dipswitch locations. [Brian Troha] 2012-04-21 23:07:44 +00:00
Brian Troha
09dc79eb51 sliver.c: Minor DSW name change - NW 2012-04-21 21:23:42 +00:00
Brian Troha
d274892de4 sliver.c: Filled in / Corrected all dipswitches for Sliver and added dipswitch locations [Brian Troha] 2012-04-21 21:20:18 +00:00
Brian Troha
0a8eb0f2e6 gumbo.c: Added dipswitch locations to all sets in the driver. [Brian Troha] 2012-04-21 20:46:41 +00:00
Brian Troha
368b5e3fff paradise.c: Corrected Difficulty DSW for Penky and added notes about alternate DSW settings as found in scanned Pins & Dip manual. [Brian Troha] 2012-04-21 20:22:32 +00:00
Michaël Banaan Ananas
655ea9373f small update 2012-04-21 20:00:18 +00:00
Miodrag Milanovic
fa0beabf41 fix for default attribute in slotoption of xml output (no whatsnew) 2012-04-21 16:07:01 +00:00
smf-
4897746866 and the rest... 2012-04-21 11:46:16 +00:00
smf-
85236463a6 set correct region size and endian for flash roms. 2012-04-21 11:44:32 +00:00
Miodrag Milanovic
7d0cdbf5b9 Sync with MESS (nw) 2012-04-21 08:47:50 +00:00
Michaël Banaan Ananas
2d07e5aa47 amaticmg.c: figured out encryption [Andreas Naive] 2012-04-21 00:25:21 +00:00
Michaël Banaan Ananas
685bfe7ed6 new NOT WORKING game
----------------------
Golden Arrow [hap, Kevin Mullins]
2012-04-20 23:38:29 +00:00
Michaël Banaan Ananas
20c8d254d6 (unkmeyco -> casbjack) 2012-04-20 21:24:48 +00:00
Michaël Banaan Ananas
85ea0671ca (defaulting LOG to off) 2012-04-20 20:40:44 +00:00
Aaron Giles
5594694605 Make memory shares follow the same pattern as memory
regions and memory banks, accessible only via the device.
2012-04-20 19:57:41 +00:00
Michaël Banaan Ananas
95fcb3ceec (renamed BITSWITCH -> BSW, and state/machine wldarrow -> meyc8080) 2012-04-20 16:41:23 +00:00
Scott Stone
b7a1d964e0 CPS-3 update [Team CPS-1]:
* Fixed CD Catalog # for jojoba 990927
  and properly renamed the chd
* Realigned the games table
2012-04-20 16:34:05 +00:00
Aaron Giles
0466e27746 Cleaned up required_/optional_<object> templates.
Added new ones for memory banks and memory regions.
Removed debugging verbose printfs.
2012-04-20 16:08:24 +00:00
Scott Stone
4d32568ca0 Refactored a few things related to reels and use of layouts allowing for more function with less work [David Haywood]
Comment:  I need to check a few more things, see how bad performance gets if we force some elements to render each update rather than using cached bitmaps, the idea of ending up with up to 200,000 temporary bitmaps for each 16 segment LED with the existing code is quite frankly horrendous, but from what I understand it's entirely possible it could happen.
2012-04-20 14:51:24 +00:00
Miodrag Milanovic
f841751e50 Sync with MESS (no whatsnew) 2012-04-20 09:59:23 +00:00
Miodrag Milanovic
c9deec8e1d fix for 16bit device callback from Judge (no whatsnew) 2012-04-20 07:12:43 +00:00
Aaron Giles
b486b4d040 Typo fix. Also forgot to mention in the last
whatsnew that the SSIO PROM has been moved
to within the Midway SSIO device now.
2012-04-20 05:58:34 +00:00
Aaron Giles
18f33f4eff Changed device->subregion to device->memregion. Moved
memory_region management into the memory manager instead
of directly in the machine. Hid the global region method;
now all regions must be looked up relative to a device.

If you're a member function, you can just use memregion("tag") 
directly. If you're a global function or a device referencing
global regions, use machine().root_device().memregion("tag")
to look up regions relative to the root.

S&R to convert all references:

machine([()]*)\.region
machine\1\.root_device\(\).subregion

Then remove redundant machine().root_device() within src/mame:

([ \t])machine\(\)\.root_device\(\)\.
\1

And use state->memregion() if we have a state variable present:

(state *= *[^;]+driver_data[^}]+)([^ \t]*)machine[()]*\.root_device\(\)\.
\1state->

Finally some cleanup:

screen.state->
state->

device->state->
state->

space->state->
state->

And a few hand-tweaks.
2012-04-20 05:54:39 +00:00
Aaron Giles
776d29c90f Memory banks are now device-relative only. Global lookups
are private. Renamed device_t::subbank to device_t::membank
and updated a few remaining users of the global lookup.
2012-04-19 20:59:50 +00:00
Aaron Giles
b5b7808cb7 Remove global memory banking functions in favor of referencing
subbanks of a device and directly acting on them.

First round S&R:

memory_configure_bank( *)\(( *)([^,]+), *([^,]+), *
\3.root_device().subbank\1\(\2\4\2\)->configure_entries\1\(\2

memory_configure_bank_decrypted( *)\(( *)([^,]+), *([^,]+), *
\3.root_device().subbank\1\(\2\4\2\)->configure_decrypted_entries\1\(\2

memory_set_bank( *)\(( *)([^,]+), *([^,]+), *
\3.root_device().subbank\1\(\2\4\2\)->set_entry\1\(\2

memory_set_bankptr( *)\(( *)([^,]+), *([^,]+), *
\3.root_device().subbank\1\(\2\4\2\)->set_base\1\(\2


Then convert single entries to simpler form:

configure_entries( *\( *[^,]+, *)1 *, *([^,]+),[^)]+\)
configure_entry\1\2\)

configure_decrypted_entries( *\( *[^,]+, *)1 *, *([^,]+),[^)]+\)
configure_decrypted_entry\1\2\)


Remove renundant root_device lookup for methods:

([ \t])machine\(\)\.root_device\(\)\.
\1


Use state-> instead of root_device lookup where available (this
one must be done by hand unfortunately):

([^ \t]*)machine[()]*\.root_device\(\)\.
state->
2012-04-19 20:35:01 +00:00
Aaron Giles
70eab27301 Fix most remaining regressions. 2012-04-19 07:47:35 +00:00
Aaron Giles
c931255796 Use an OKI address map instead of memcpy to handle ADPCM
banking for the Williams ADPCM sound board.
2012-04-18 20:02:48 +00:00