Commit Graph

11889 Commits

Author SHA1 Message Date
Curt Coder
79cf761a31 Imported DM9368 7 segment LED from MESS. (no whatsnew) 2011-04-05 20:27:55 +00:00
Angelo Salese
bd79086747 Removed misleading pitch disable hack, I prefer a wrongly putted green pitch than pitch black ... 2011-04-05 18:40:03 +00:00
Fabio Priuli
629af025f1 uiimage.c: added reset of the char input buffer when selecting an entry in the file manager (it's mainly for MESS --> no whatsnew) 2011-04-05 17:48:34 +00:00
Angelo Salese
33e4824d22 Better memory allocation fix, thanks to Haze's precious moa ... advices, AM_READWRITE16 doesn't cope well with AM_BASE apparently (and having a UINT32 pointer doesn't really help, especially when that pointer should be UINT16) ... 2011-04-05 16:53:58 +00:00
Angelo Salese
bf050e4c64 Fixed sizeof as per OG 2011-04-05 14:07:13 +00:00
Angelo Salese
a0a4985fa6 Converted astrocde/kaneko16/namcos23/suprnova to driver_device [Atari Ace] 2011-04-05 13:34:15 +00:00
Angelo Salese
24c52a794a Eliminates the extern variables from atarimo video core, in order to remove a significant source of AM_BASE macros. [Atari Ace] 2011-04-05 13:29:37 +00:00
Miodrag Milanovic
a86ea403e8 No need for this assert, previous check was to make sure thing exists. This fix debug build exist on driver change when those have image devices (no whatsnew) 2011-04-05 10:02:10 +00:00
Roberto Fresca
c2085d340c Funworld driver updates: [Roberto Fresca]
- Complete support for Witch Royal, from Video Klein.
 - Reworked the button-lamps layout to get the hold
    buttons more centered.


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Witch Royal (Export version 2.1) [Roberto Fresca, Team Europe]
2011-04-05 04:59:16 +00:00
Scott Stone
4407bdd00d Labeled most PALS for iqpipe as BAD DUMP. The CRC matches up with numerous sets' bad dump pals. (no whatsnew) 2011-04-05 00:16:24 +00:00
Angelo Salese
fd042b275f Fixed the charset upload bug, apparently gfx_element_set_source is the offender here ... 2011-04-04 23:15:23 +00:00
Angelo Salese
aa8e2888fd Part 4 (lineram), and realized that there's a weird bug with text vram charset uploading (core bug with trampoline function?) 2011-04-04 22:17:09 +00:00
Scott Stone
e86ca6088e Took comment off plds which should be loaded (oversight from parent change about a year ago). Not sure why they were commented in the first place and all the dump information I've examined shows they are part of US set at the very least and are likely shared with the japanese set. (no whatsnew) 2011-04-04 21:40:19 +00:00
Roberto Fresca
c890313ba5 New driver for Major Poker (PAL System) [Roberto Fresca, Tomasz Slanina]
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Major Poker (v2.0) [Roberto Fresca, Tomasz Slanina, Rob Ragon]
2011-04-04 21:04:28 +00:00
Angelo Salese
5eb7122294 Part 3 2011-04-04 19:43:39 +00:00
Angelo Salese
8993443d51 Documentation table for 0x4c0000 port (whatever that is ...) 2011-04-04 19:19:49 +00:00
Angelo Salese
6699fb9b8f Fixed a regression bug while trying to document a thing ... 2011-04-04 18:26:37 +00:00
Angelo Salese
2f16c7c07d Part 2 ... 2011-04-04 16:46:56 +00:00
Angelo Salese
6e39a7abfa Part 1 of Taito F3 32-to-16 conversion ... 2011-04-04 16:25:56 +00:00
smf-
a4f8d12933 fixed building on vs2010, maybe fixed or broken something.... 2011-04-04 06:46:00 +00:00
Curt Coder
383a7ab8fe Imported SED1330 LCDC from MESS. (no whatsnew) 2011-04-04 05:58:57 +00:00
Angelo Salese
92f4268f08 Improved video capabilities in 2 Minutes Drill (tilemap support, basic scrolling) just to realize that it uses Taito F3 video chip, lovely ... 2011-04-04 00:20:00 +00:00
Angelo Salese
0566d3e089 Added screen raw params and irq ack to the dec0 driver, fixing hole 1 hang in Birdie Try and improving fade in/out effects for Boulder Dash 2011-04-03 22:34:02 +00:00
Aaron Giles
792c76e741 Re-enable MALLOC_DEBUG for debug builds. Can't remember why I ever
turned it off in the first place.
2011-04-03 15:39:50 +00:00
Jonathan Gevaryahu
ca94190eb7 trivial comment updates to beezer audio, no whatsnew 2011-04-03 11:42:20 +00:00
Aaron Giles
68958f72db Cleanups and version bump. 2011-04-03 05:49:24 +00:00
Brian Troha
fed0502780 New clone added: Acrobatic Dog-Fight (US)
New Clone Added
----------------------------------------
AAcrobatic Dog-Fight (USA) [Tirino73]
2011-04-03 03:24:43 +00:00
Brian Troha
43afa47ab6 lordgun.c: Corrected Dipswitch names and added dipswitch locations to Lord of Gun & Alien Challenge [Brian Troha]
tumbleb.c: Corrected Dipswitch names and locations for Choky! Choky! [Brian Troha]
2011-04-02 17:27:51 +00:00
Angelo Salese
a4c70d7e92 new not working game
--------------------
Jyunai - Manatsu no First Kiss [The Dumping Union, alien_mame]
BiKiNikko - Okinawa de Ippai Shityaimashita [The Dumping Union, alien_mame]
2011-04-02 15:54:59 +00:00
Aaron Giles
8409f7d323 Final bulk rename for 0.142: ensure that all members of
driver_device classes have an m_ prefix on them. When we
eventually move functions using these into member functions,
we will be able to remove the state-> pointers, and having
the member variables prefixed will allow them to be
distinguished from local variables.

Some regex'es used (plus manually fixing the remaining stuff):

In src/mame/...

state->([a-zA-Z_][^_][a-zA-Z0-9_]*)
state->m_\1

state->([^m]_[a-zA-Z0-9_]*)
state->m_\1

state->m_save_item
state->save_item

state->m_save_pointer
state->save_pointer

(AM_BASE_MEMBER *\( *[a-zA-Z0-9_]+ *, *)([a-zA-Z_][^_])
\1m_\2

(AM_BASE_SIZE_MEMBER *\( *[a-zA-Z0-9_]+ *, *)([a-zA-Z_][^_][a-zA-Z0-9_]* *, *)([a-zA-Z_][^_])
\1m_\2m_\3

(AM_SIZE_MEMBER *\( *[a-zA-Z0-9_]+ *, *)([a-zA-Z_][^_])
\1m_\2

m__
m_


In src/mame/includes/...

(\t[a-zA-Z0-9_<>]+[ \t]+[&*]*[ \t]*)([a-zA-Z_][^_][][a-zA-Z0-9_]*;)$
\1m_\2

(\t[a-zA-Z0-9_<>]+[ \t]*[&*]*[ \t]+)([a-zA-Z_][^_][][a-zA-Z0-9_]*;)$
\1m_\2
2011-04-01 06:50:56 +00:00
Scott Stone
86afc9b913 Mapping change for all "pinball" titles. (no whatsnew)
Comment:
This is a simple replace of:
ADDRESS_MAP_UNMAP_HIGH
to
AM_RANGE(0x0000, 0xffff) AM_NOP (or ffffff for 16-bit cpus)

Until the pinball drivers begin to be worked on and considering how slowly most of these drivers run while essentially doing nothing but displaying a picture, this change greatly increases the performance allowing for quicker regression checks.
2011-04-01 04:32:38 +00:00
Scott Stone
b065e54637 Some commenting of excessive mame_printf_debug usages for a few drivers currently not in active development. (no whatsnew) 2011-03-31 19:29:08 +00:00
Miodrag Milanovic
33c28764d1 Fixed compiling tools in MAME and MESS side (no whatsnew) 2011-03-31 13:21:58 +00:00
Aaron Giles
e86777d670 MT#04286 - explicitly construct adpcm_state which is embedded in the legacy
device state for Seibu ADPCM. Legacy device tokens are just allocated as a
dumb blob of bytes, so constructors for embedded objects are never called.
2011-03-31 06:26:41 +00:00
Aaron Giles
bcf9e72cc5 MT#04288.
Use a named memory area instead of either generic spriteram or
a state-specific spriteram to allow sei_crtc.c to find the 
spriteram for games that use it.
2011-03-31 06:11:26 +00:00
Aaron Giles
346a02cccf Fix MT#04291
Added new macro MACHINE_CONFIG_DERIVED_CLASS() which works just like
MACHINE_CONFIG_DERIVED() except you can specify an alternate driver_device
class. Used this in the 8080bw.c games which require an _8080bw_state, but
derive from mw8080bw_root which has the base class mw8080bw_state.
2011-03-31 06:00:53 +00:00
Aaron Giles
bf65492d5e MT#04287,04289 -- hook up bootleg video systems properly 2011-03-31 05:31:28 +00:00
Angelo Salese
bc045a00bd Improved TODO list for dec0, not worth 2011-03-30 23:58:44 +00:00
Angelo Salese
340571e69c Fix compile 2011-03-30 23:25:35 +00:00
Angelo Salese
00f3454dae fixed multiwidth sprites in decmxc06.c, removed code which appeared to serve no purpose other than to break the birdtry gfxdecode in machine/dec0.c [David Haywood] 2011-03-30 22:49:02 +00:00
Wilbert Pol
446be9ae42 Fix osx compile. 2011-03-30 20:29:36 +00:00
Olivier Galibert
9300bf632c The scripts did an interesting number on the sdl/debugwin.c file :-) 2011-03-30 20:13:55 +00:00
smf-
00fb8baaff fixed build. 2011-03-30 18:45:05 +00:00
Curt Coder
9ce28237de Imported uPD1990A RTC from MESS. (no whatsnew) 2011-03-30 18:36:47 +00:00
Scott Stone
9809123a38 NEW CLONE NOT WORKING
=====================
Fashion Gambler (Set 2)  [Team Europe]
2011-03-30 17:59:38 +00:00
Angelo Salese
49eeca47b4 Implemented karnov style sprites in its own file, shared with karnov and dec8 drivers [David Haywood] 2011-03-30 15:42:18 +00:00
Aaron Giles
9443be8017 Minor cleanups. 2011-03-30 07:16:02 +00:00
Aaron Giles
28fdb61512 Move overridable device->rom_region(), device->machine_config_additions(), and
device->input_ports() to protected methods. Added non-virtual wrappers around
them.
2011-03-30 06:27:49 +00:00
Aaron Giles
ee8ae2b1d8 Make the symbol table use a simple_list for its cache. 2011-03-29 17:01:49 +00:00
Aaron Giles
e79aa8fec8 Add template specializations for device/state/memory interfaces that are
non-const, so that the generic one doesn't get selected. Should fix some
recent performance regressions.
2011-03-29 17:01:21 +00:00
Aaron Giles
1b5697945d If we get an error parsing options, see if there was no command and what
looks like an invalid system name. In that case, provide suggestions
for the system name instead of reporting the options error.
2011-03-29 16:43:54 +00:00
Aaron Giles
340fda9b68 Two hash_collections can only match if they have at least one matching hash. 2011-03-29 16:38:53 +00:00
Aaron Giles
17e077da3a Remove redundant item cpu from address_space, in favor of
space->device().

S: space->cpu->
R: space->device\(\)\.

S: space->cpu
R: \&space->device\(\)
2011-03-29 16:31:32 +00:00
Aaron Giles
2ad5072023 BIG update.
Remove redundant machine items from address_space and device_t.
Neither machine nor m_machine are directly accessible anymore.
Instead a new getter machine() is available which returns a
machine reference. So:

  space->machine->xxx   ==>  space->machine().xxx
  device->machine->yyy  ==>  device->machine().yyy

Globally changed all running_machine pointers to running_machine
references. Any function/method that takes a running_machine takes
it as a required parameter (1 or 2 exceptions). Being consistent
here gets rid of a lot of odd &machine or *machine, but it does
mean a very large bulk change across the project.

Structs which have a running_machine * now have that variable
renamed to m_machine, and now have a shiny new machine() method
that works like the space and device methods above. Since most of
these are things that should eventually be devices anyway, consider
this a step in that direction.

98% of the update was done with regex searches. The changes are
architected such that the compiler will catch the remaining
errors:

// find things that use an embedded machine directly and replace
// with a machine() getter call
S: ->machine->
R: ->machine\(\)\.

// do the same if via a reference
S: \.machine->
R: \.machine\(\)\.

// convert function parameters to running_machine &
S: running_machine \*machine([^;])
R: running_machine \&machine\1

// replace machine-> with machine.
S: machine->
R: machine\.

// replace &machine() with machine()
S: \&([()->a-z0-9_]+machine\(\))
R: \1

// sanity check: look for this used as a cast
(running_machine &)
// and change to this:
*(running_machine *)
2011-03-29 15:50:04 +00:00
Curt Coder
b72cf3c570 Imported MSM6255 LCD controller device from MESS. (no whatsnew) 2011-03-29 07:19:09 +00:00
Scott Stone
ea0681da07 Converted Stadium Hero, Cobra-Command, Psycho-Nics Oscar to use the common deco sprite functions [David Haywood] 2011-03-28 23:18:31 +00:00
Angelo Salese
b0b5ca8b43 Converted Vapor Trail to use the common deco sprite functions [David Haywood] 2011-03-28 22:40:24 +00:00
Angelo Salese
b5e083afa3 Converted Act Fancer to use common deco sprite code [David Haywood] 2011-03-28 22:05:15 +00:00
Angelo Salese
01c56fd81f started moving common deco MXC06 sprite controller code to it's own device files, reducing code duplication [David Haywood] 2011-03-28 21:41:32 +00:00
Wilbert Pol
f3916bed57 Fix osx compile. 2011-03-28 20:50:41 +00:00
Curt Coder
399c6e8c26 Imported some common C++ devices from MESS to emu folder. 2011-03-28 20:15:05 +00:00
Michaël Banaan Ananas
90306a806f gamename revert: http://www.mametesters.org/view.php?id=4295 2011-03-28 17:27:36 +00:00
Angelo Salese
82a14bf9fd Converted Pocket Gal to use the common deco video routines [David Haywood] 2011-03-28 16:53:26 +00:00
Miodrag Milanovic
da5fb6dd0d Another fix for SDL build, not seen by win32 build (no whatsnew) 2011-03-28 12:00:04 +00:00
Miodrag Milanovic
09b83b1c61 Fix compile for SDL build (no whatsnew) 2011-03-28 11:24:52 +00:00
Aaron Giles
9801970e5f Fix address_space::unmap_write to pass ROW_WRITE instead of ROW_READWRITE
Fixes Amiga breakage.
2011-03-28 09:12:22 +00:00
Aaron Giles
af071893a6 Cleanup of machine.h. Shuffled some fields around, and moved several
to private member variables with accessors:

machine->m_respool     ==> machine->respool()
machine->config        ==> machine->config()
machine->gamedrv       ==> machine->system()
machine->m_regionlist  ==> machine->first_region()
machine->sample_rate   ==> machine->sample_rate()

Also converted internal lists to use simple_list.
2011-03-28 09:10:17 +00:00
Angelo Salese
58f70e9184 Converted Stadium Hero driver to use the common Deco video functions [David Haywood] 2011-03-28 01:47:19 +00:00
Angelo Salese
b40cf676fc Converted Act Fancer, Trio the Punch and Mad Motor to use the common deco video functions [David Haywood] 2011-03-27 23:33:36 +00:00
Angelo Salese
41562709b6 some work on the 3 games in dec8.c which use the bac06 tilemaps[David Haywood] 2011-03-27 20:09:30 +00:00
Michaël Banaan Ananas
eb209b150f (DELUXE -> Deluxe) 2011-03-27 18:44:10 +00:00
Michaël Banaan Ananas
0cefe1d8ba fix compile 2011-03-27 18:40:28 +00:00
Fabio Priuli
b6e9cb012a uiimage.c: Improved File Manager usage (in the internal UI) by catching char inputs and searching for matching names among files and directories [Fabio Priuli] 2011-03-27 18:07:22 +00:00
Aaron Giles
a80dcb629b Deprecate the old memory_install_* macros. Dynamic installation is now handled
directly by calling methods on the address_space, which have been expanded with
aliases to cover all previous situations. In addition, variants with no mirror
or mask value are provided to cover the common cases:

memory_install_read*_handler(space, begin, end, mirror, mask, handler) ==>
    space->install_legacy_read_handler(begin, end [, mirror, mask], FUNC(handler))

memory_install_write*_handler(space, begin, end, mirror, mask, handler) ==>
    space->install_legacy_write_handler(begin, end [, mirror, mask], FUNC(handler))

memory_install_readwrite*_handler(space, begin, end, mirror, mask, rhandler, whandler) ==>
    space->install_legacy_readwrite_handler(begin, end [, mirror, mask], FUNC(rhandler), FUNC(whandler))

memory_install_read*_device_handler(space, device, begin, end, mirror, mask, handler) ==>
    space->install_legacy_read_handler(*device, begin, end [, mirror, mask], FUNC(handler))

memory_install_write*_device_handler(space, device, begin, end, mirror, mask, handler) ==>
    space->install_legacy_write_handler(*device, begin, end [, mirror, mask], FUNC(handler))

memory_install_readwrite*_device_handler(space, device, begin, end, mirror, mask, rhandler, whandler) ==>
    space->install_legacy_readwrite_handler(*device, begin, end [, mirror, mask], FUNC(rhandler), FUNC(whandler))

memory_install_read_port(space, begin, end, mirror, mask, port) ==>
    space->install_read_port(begin, end [, mirror, mask], port)

memory_install_read_bank(space, begin, end, mirror, mask, bank) ==>
    space->install_read_bank(begin, end [, mirror, mask], bank)

memory_install_rom(space, begin, end, mirror, mask, ptr) ==>
    space->install_rom(begin, end [, mirror, mask], ptr)

memory_install_ram(space, begin, end, mirror, mask, ptr) ==>
    space->install_ram(begin, end [, mirror, mask], ptr)

memory_unmap_read(space, begin, end, mirror, mask) ==>
    space->unmap_read(begin, end [, mirror, mask])

memory_nop_read(space, begin, end, mirror, mask) ==>
    space->nop_read(begin, end [, mirror, mask])


Below are the bulk search & replace regex'es used for this

memory_install_read([0-9]+)_handler( *)\(( *)([^,]+), *([^,]+,[^,]+, *)0 *, *0 *, *([^ )]+)( *)\)
\4->install_legacy_read_handler\2\(\3\5FUNC\(\6\)\7\)

memory_install_read([0-9]+)_handler( *)\(( *)([^,]+), *([^,]+,[^,]+,[^,]+,[^,]+, *)([^ )]+)( *)\)
\4->install_legacy_read_handler\2\(\3\5FUNC\(\6\)\7\)

memory_install_write([0-9]+)_handler( *)\(( *)([^,]+), *([^,]+,[^,]+, *)0 *, *0 *, *([^ )]+)( *)\)
\4->install_legacy_write_handler\2\(\3\5FUNC\(\6\)\7\)

memory_install_write([0-9]+)_handler( *)\(( *)([^,]+), *([^,]+,[^,]+,[^,]+,[^,]+, *)([^ )]+)( *)\)
\4->install_legacy_write_handler\2\(\3\5FUNC\(\6\)\7\)

memory_install_readwrite([0-9]+)_handler( *)\(( *)([^,]+), *([^,]+,[^,]+, *)0 *, *0 *, *([^ ,]+)( *, *)([^ )]+)( *)\)
\4->install_legacy_readwrite_handler\2\(\3\5FUNC\(\6\)\7FUNC\(\8\)\9\)

memory_install_readwrite([0-9]+)_handler( *)\(( *)([^,]+), *([^,]+,[^,]+,[^,]+,[^,]+, *)([^ ,]+)( *, *)([^ )]+)( *)\)
\4->install_legacy_readwrite_handler\2\(\3\5FUNC\(\6\)\7FUNC\(\8\)\9\)



memory_install_read([0-9]+)_device_handler( *)\(( *)([^,]+), *([^,]+), *([^,]+,[^,]+, *)0 *, *0 *, *([^ )]+)( *)\)
\4->install_legacy_read_handler\2\(\3\*\5, \6FUNC\(\7\)\8\)

memory_install_read([0-9]+)_device_handler( *)\(( *)([^,]+), *([^,]+), *([^,]+,[^,]+,[^,]+,[^,]+, *)([^ )]+)( *)\)
\4->install_legacy_read_handler\2\(\3\*\5, \6FUNC\(\7\)\8\)

memory_install_write([0-9]+)_device_handler( *)\(( *)([^,]+), *([^,]+), *([^,]+,[^,]+, *)0 *, *0 *, *([^ )]+)( *)\)
\4->install_legacy_write_handler\2\(\3\*\5, \6FUNC\(\7\)\8\)

memory_install_write([0-9]+)_device_handler( *)\(( *)([^,]+), *([^,]+), *([^,]+,[^,]+,[^,]+,[^,]+, *)([^ )]+)( *)\)
\4->install_legacy_write_handler\2\(\3\*\5, \6FUNC\(\7\)\8\)

memory_install_readwrite8_device_handler( *)\(( *)([^,]+), *([^,]+), *([^,]+,[^,]+, *)0 *, *0 *, *([^ ,]+)( *, *)([^ )]+)( *)\)
\3->install_legacy_readwrite_handler\1\(\2\*\4, \5FUNC\(\6\)\7FUNC\(\8\)\9\)

memory_install_readwrite8_device_handler( *)\(( *)([^,]+), *([^,]+), *([^,]+,[^,]+,[^,]+,[^,]+, *)([^ ,]+)( *, *)([^ )]+)( *)\)
\3->install_legacy_readwrite_handler\1\(\2\*\4, \5FUNC\(\6\)\7FUNC\(\8\)\9\)

memory_install_readwrite16_device_handler( *)\(( *)([^,]+), *([^,]+), *([^,]+,[^,]+, *)0 *, *0 *, *([^ ,]+)( *, *)([^ )]+)( *)\)
\3->install_legacy_readwrite_handler\1\(\2\*\4, \5FUNC\(\6\)\7FUNC\(\8\)\9\)

memory_install_readwrite16_device_handler( *)\(( *)([^,]+), *([^,]+), *([^,]+,[^,]+,[^,]+,[^,]+, *)([^ ,]+)( *, *)([^ )]+)( *)\)
\3->install_legacy_readwrite_handler\1\(\2\*\4, \5FUNC\(\6\)\7FUNC\(\8\)\9\)

memory_install_readwrite32_device_handler( *)\(( *)([^,]+), *([^,]+), *([^,]+,[^,]+, *)0 *, *0 *, *([^ ,]+)( *, *)([^ )]+)( *)\)
\3->install_legacy_readwrite_handler\1\(\2\*\4, \5FUNC\(\6\)\7FUNC\(\8\)\9\)

memory_install_readwrite32_device_handler( *)\(( *)([^,]+), *([^,]+), *([^,]+,[^,]+,[^,]+,[^,]+, *)([^ ,]+)( *, *)([^ )]+)( *)\)
\3->install_legacy_readwrite_handler\1\(\2\*\4, \5FUNC\(\6\)\7FUNC\(\8\)\9\)

memory_install_readwrite64_device_handler( *)\(( *)([^,]+), *([^,]+), *([^,]+,[^,]+, *)0 *, *0 *, *([^ ,]+)( *, *)([^ )]+)( *)\)
\3->install_legacy_readwrite_handler\1\(\2\*\4, \5FUNC\(\6\)\7FUNC\(\8\)\9\)

memory_install_readwrite64_device_handler( *)\(( *)([^,]+), *([^,]+), *([^,]+,[^,]+,[^,]+,[^,]+, *)([^ ,]+)( *, *)([^ )]+)( *)\)
\3->install_legacy_readwrite_handler\1\(\2\*\4, \5FUNC\(\6\)\7FUNC\(\8\)\9\)



memory_install_read_port( *)\(( *)([^,]+), *([^,]+,[^,]+), *0 *, *0 *,
\3->install_read_port\1\(\2\4,

memory_install_read_port( *)\(( *)([^,]+), *
\3->install_read_port\1\(\2

memory_install_write_port( *)\(( *)([^,]+), *([^,]+,[^,]+), *0 *, *0 *,
\3->install_write_port\1\(\2\4,

memory_install_write_port( *)\(( *)([^,]+), *
\3->install_write_port\1\(\2

memory_install_readwrite_port( *)\(( *)([^,]+), *([^,]+,[^,]+), *0 *, *0 *,
\3->install_readwrite_port\1\(\2\4,

memory_install_readwrite_port( *)\(( *)([^,]+), *
\3->install_readwrite_port\1\(\2



memory_install_read_bank( *)\(( *)([^,]+), *([^,]+,[^,]+), *0 *, *0 *,
\3->install_read_bank\1\(\2\4,

memory_install_read_bank( *)\(( *)([^,]+), *
\3->install_read_bank\1\(\2

memory_install_write_bank( *)\(( *)([^,]+), *([^,]+,[^,]+), *0 *, *0 *,
\3->install_write_bank\1\(\2\4,

memory_install_write_bank( *)\(( *)([^,]+), *
\3->install_write_bank\1\(\2

memory_install_readwrite_bank( *)\(( *)([^,]+), *([^,]+,[^,]+), *0 *, *0 *,
\3->install_readwrite_bank\1\(\2\4,

memory_install_readwrite_bank( *)\(( *)([^,]+), *
\3->install_readwrite_bank\1\(\2



memory_install_rom( *)\(( *)([^,]+), *([^,]+,[^,]+), *0 *, *0 *,
\3->install_rom\1\(\2\4,

memory_install_rom( *)\(( *)([^,]+), *
\3->install_rom\1\(\2

memory_install_ram( *)\(( *)([^,]+), *([^,]+,[^,]+), *0 *, *0 *,
\3->install_ram\1\(\2\4,

memory_install_ram( *)\(( *)([^,]+), *
\3->install_ram\1\(\2

memory_install_writeonly( *)\(( *)([^,]+), *([^,]+,[^,]+), *0 *, *0 *,
\3->install_writeonly\1\(\2\4,

memory_install_writeonly( *)\(( *)([^,]+), *
\3->install_writeonly\1\(\2



memory_unmap_read( *)\(( *)([^,]+), *([^,]+,[^,]+), *0 *, *0 *\)
\3->unmap_read\1\(\2\4\)

memory_unmap_read( *)\(( *)([^,]+), *
\3->unmap_read\1\(\2

memory_unmap_write( *)\(( *)([^,]+), *([^,]+,[^,]+), *0 *, *0 *\)
\3->unmap_write\1\(\2\4\)

memory_unmap_write( *)\(( *)([^,]+), *
\3->unmap_write\1\(\2

memory_unmap_readwrite( *)\(( *)([^,]+), *([^,]+,[^,]+), *0 *, *0 *\)
\3->unmap_readwrite\1\(\2\4\)

memory_unmap_readwrite( *)\(( *)([^,]+), *
\3->unmap_readwrite\1\(\2



memory_nop_read( *)\(( *)([^,]+), *([^,]+,[^,]+), *0 *, *0 *\)
\3->nop_read\1\(\2\4\)

memory_nop_read( *)\(( *)([^,]+), *
\3->nop_read\1\(\2

memory_nop_write( *)\(( *)([^,]+), *([^,]+,[^,]+), *0 *, *0 *\)
\3->nop_write\1\(\2\4\)

memory_nop_write( *)\(( *)([^,]+), *
\3->nop_write\1\(\2

memory_nop_readwrite( *)\(( *)([^,]+), *([^,]+,[^,]+), *0 *, *0 *\)
\3->nop_readwrite\1\(\2\4\)

memory_nop_readwrite( *)\(( *)([^,]+), *
\3->nop_readwrite\1\(\2
2011-03-27 17:34:05 +00:00
Angelo Salese
0b87c6e06a Converted DECO BAC06 tilemap (used by dec0.c) to be a device, reducing code duplication [David Haywood] 2011-03-27 13:38:52 +00:00
Fabio Priuli
ea0eaa46da clifront.c: fixed typos, not worth mention 2011-03-27 11:41:34 +00:00
Fabio Priuli
4f82940c9d romload.c: only giving a warning when loading a rom whose size is not multiple of the group size, instead of error-ing out
As I wrote to the list a couple of months ago, there are many console protos which have been compiled from sources and have been released with odd sizes. This allows to load them in MESS from softlist (they are not bad dumps, strictly speaking, given they have never been burned on a cart...)

I hope there are no objections (a clear message is still written to the console, but the loading proceeds instead of stopping)
2011-03-27 10:07:31 +00:00
Aaron Giles
202d7680a4 Created new enum type address_spacenum for specifying an address
space by index. Update functions and methods that accepted an
address space index to take an address_spacenum instead. Note that
this means you can't use a raw integer in ADDRESS_SPACE macros, so
instead of 0 use the enumerated AS_0.

Standardized the project on the shortened constants AS_* over the
older ADDRESS_SPACE_*. Removed the latter to prevent confusion.
Also centralized the location of these definitions to memory.h.
2011-03-27 07:37:24 +00:00
Fabio Priuli
382e3998b1 minor DTD change to have fully correct xml lists (the ROM_FILL correspondent concept was not compliant with the DTD). no whatsnew. 2011-03-27 07:08:31 +00:00
Aaron Giles
4b3aa02618 Added device_t::memory() to fetch a reference to the memory interface,
or assert if not present.

Split address_space::install_[legacy_]handler into 
install_[legacy_]read_handler, install_[legacy_]write_handler,
and install_[legacy_]readwrite_handler.

Added variants of address_space handler installers which don't take
mirror or mask parameters, since this is by far the most common case.

Deprecated API cleanup. Simple search & replace:
cpu_suspend                          ==> device_suspend
cpu_resume                           ==> device_resume
cpu_yield                            ==> device_yield
cpu_spin                             ==> device_spin
cpu_spinuntil_trigger                ==> device_spin_until_trigger
cpu_spinuntil_time                   ==> device_spin_until_time
cpu_spinuntil_int                    ==> device_spin_until_interrupt
cpu_eat_cycles                       ==> device_eat_cycles
cpu_adjust_icount                    ==> device_adjust_icount
cpu_triggerint                       ==> device_triggerint
cpu_set_input_line                   ==> device_set_input_line
cpu_set_input_line_vector            ==> device_set_input_line_vector
cpu_set_input_line_and_vector        ==> device_set_input_line_and_vector
cpu_set_irq_callback                 ==> device_set_irq_callback

More complex changes:
device_memory(device)                ==>  device->memory()
device_get_space(device, spacenum)   ==>  device->memory().space(spacenum)
cpu_get_address_space(cpu, spacenum) ==> cpu->memory().space(spacenum)
cputag_get_address_space(mach, tag, spacenum) ==> mach->device("tag")->memory().space(spacenum)
cputag_get_clock(mach, tag)          ==> mach->device("tag")->unscaled_clock()
cputag_set_clock(mach, tag, hz)      ==> mach->device("tag")->set_unscaled_clock(hz)

Some regex'es for the more prevalent cases above:
S: cpu_get_address_space( *)\(( *)([^,]+)( *), *
R: \3->memory().space\1\(\2
S: cputag_get_address_space( *)\(( *)([^,]+)( *),( *)([^,]+)( *), *
R: \3->device\1\(\2\6\7\)->memory().space\1\(\2
S: cputag_get_clock( *)\(( *)([^,]+)( *),( *)([^ )]+) *\)
R: \3->device\1\(\2\6\7\)->unscaled_clock\(\)
2011-03-27 01:19:26 +00:00
Aaron Giles
d89c4e7b8b Attempted fix for missing header file (at least it compiles). 2011-03-27 01:09:51 +00:00
Fabio Priuli
f25b3a9b88 softlist.c: split the <info> field (added some time ago to handle compatibility requirements) into <info> and <sharedfeat>.
the former stays tied to the whole software entry, the latter gets inherited by each part. 

out of whatsnew 1: Arbee, this change finalizes the xml format once for all. feel free to create an apple II or ||gs list, if you are interested

out of whatsnew 2: 
A bunch of comments about this change: with the latest code, each software entry can store three different kind of 'extrainfo' strings. They are thought to be used in specific cases, so let me briefly explain the big picture behind them.

1. <feature> fields: these are well established in current lists. they belong to a <part> element (i.e. a specific cart or cd disc or floppy disk) and they can be used to store hardware details that belongs to that specific <part>. typically, we have used these to describe the pcb_type of a cart (e.g. the board type in NES carts or in AES carts, to remove the need of specific mappers), so that at loading time they can be checked and the emulation can be setup accordingly. However, some lists (e.g. snes.xml and, in a few months, nes.xml as well) use these more creatively, to e.g. document the exact chip locations on the pcb

examples
<feature name="pcb_type" value="MMC3C"/>
<feature name="u3" value="SRAM-64M"/>

----------
2. <sharedfeat> fields: these are listed in the main <software> entry, but get stored together with the <feature> of each part of this software. E.g. if your software entry consists of 9 floppies, these shared features will be inherited by *all* the disks. The typical usage for this is to list the compatibility requirements of the software entry, e.g. a PAL system, or the presence of an expansion card, or the presence of additional RAM. These compatibility settings have to be manually parsed in the loading code by the driver author, but it makes more sense to define them only once for each software entry than to copy and paste it for each <part> (and believe me, it makes a difference both in terms of avoiding redundant lines and in terms of time necessary to create the xml list itself, when you deal with hundreds of multidisk entries like in the forthcoming pc8801 floppy list). consider this as a shortcut for 1. when you have multidisk software.

examples
<sharedfeat name="compatibility" value="EUR-JPN"/>  (the value can be freely chosen by the driver author as long as he also add the correct values in the loading routine ;) )
<sharedfeat name="addon" value="DVC"/> (this can be of use in cdi titles which won't work without the DigitalVideoCard expansion)

----------
3. <info> fields: these belongs directly to the main <software> entry, like the <sharedfeat>, but they do get stored in the main software entry, not with the <part>. They should be used to store additional info which might be of use for frontends, but that are not strictly necessary for emulation (if you have to describe some fundamental hardware characteristic that has to be checked during emulation, then you should use <sharedfeat> not <info>). Possible examples include the name of the development team, or the serial number of the cart, etc but it's up to the list creator to decide what to use this for and if to use it at all

examples
<info name="developer" value="Treasure"/>
<info name="serial" value="NUS-NSMJ-JPN"/>

As already said, imho the format can now be considered finalized. I cannot really think of anything else that we might want to include in the format, without getting redundant. 

p.s. In fact, some small change is still required in the core to fully support the new fields (e.g. at the moment <info> are not loaded by the core), but the xml format won't be touched.
2011-03-27 00:11:42 +00:00
Couriersud
9ad9840545 sdl-config flags are now separated into INCFLAGS and COMFLAGS in sdl.mak. This fixes "make depend". [Couriersud] 2011-03-26 22:53:01 +00:00
Couriersud
9861df0600 Fix font loading in sdlmame. BDF files are just loaded as TTF by TTF_OpenFont. Load is now protected by a magic check.
Also fixed a bug in SDL1.3 keyboard mapping and changed SDL1.3 code to be compatible with recent 1.3 API changes. [Couriersud]
2011-03-26 22:51:17 +00:00
Angelo Salese
ca8edd4cd8 Haze: converted dark seal 2011-03-26 20:38:39 +00:00
Michaël Banaan Ananas
10d5f2de67 set hal21 cabinet default to upright 2011-03-26 20:32:59 +00:00
Angelo Salese
0f20b889ec Converted Super Shanghai Dragon's Eye to use the common deco video files functions, fixing a rowscroll bug in it [David Haywood] 2011-03-26 16:01:09 +00:00
Michaël Banaan Ananas
02c8f440ea mark NO_DUMP roms that have a placeholder as BAD_DUMP 2011-03-26 15:09:47 +00:00
Michaël Banaan Ananas
9800a4c4ad add coincounter 2011-03-26 14:37:54 +00:00
Michaël Banaan Ananas
e0c6327304 Like with jrpacman.c:
undo r11854 for pengo.c: pengo uses pacman.c video driver, which uses generic spriteram
2011-03-26 14:33:44 +00:00
Michaël Banaan Ananas
c732df7d69 undo r11854 for jrpacman.c: jrpacman uses pacman.c video driver, which uses generic spriteram
http://www.mametesters.org/view.php?id=4294
2011-03-26 14:23:13 +00:00
Michaël Banaan Ananas
22795254eb galxwars colormaps note 2011-03-26 10:59:51 +00:00
Scott Stone
b78ff491f0 Haze: Search and Replace cleanup of most recent deco work (no whatsnew) 2011-03-25 21:18:13 +00:00
Scott Stone
7c267fe3c4 Haze: Added new files: video/decocomn.c video/decocomn. Split non-tilemap functions out of deco16ic and moved to decocomn. (no whatsnew) 2011-03-25 19:51:12 +00:00
Scott Stone
c5e98b9459 Haze: Each deco16ic device now handles 2 tilemaps, not 4.. (base of converting it to be a device for the tilemap chip). (no whatsnew) 2011-03-25 16:29:24 +00:00
Aaron Giles
fb5091182e Cleanups and version bump. 2011-03-25 16:14:09 +00:00
Aaron Giles
e9fc65db48 Convert cclimber/galpani2/gticlub/namcond1/pacman/seibuspi/tetrisp2/vicdual
to driver_device. [Atari Ace]

Last commit should have been:
Removed globals from a number of device-like shared systems and made them
either statics or actual device variables. [Atari Ace]
2011-03-25 16:05:24 +00:00
Aaron Giles
0989f6fe05 Convert cclimber/galpani2/gticlub/namcond1/pacman/seibuspi/tetrisp2/vicdual
to driver_device. [Atari Ace]
2011-03-25 16:02:59 +00:00
Scott Stone
a1ed6067d0 Haze: More Deco32 Cleanups (no whatsnew) 2011-03-25 02:25:04 +00:00
Scott Stone
1f899f4559 Converted Tattoo Assassins (and Night Slashers) to use deco16ic.c, fixing some corrupt graphics in Tattoo Assassins (which have been there since it was first added) [David Haywood] 2011-03-25 00:40:43 +00:00
Scott Stone
719bac990c Haze: Converted capteven to using generic functions in deco16ic.c (no whatsnew) 2011-03-24 23:06:24 +00:00
Angelo Salese
9bf7f29b6a Haze: I thought drawgfx was optimized for single line cliprects, or at least capable of rejecting sprites based on y position and cliprect in non-zoomed cases. it seems I was either wrong, or that functionality is broken, because checking it manually prevents the captaven intro from becoming stupidly slow with partial updates (not worth) 2011-03-24 22:24:40 +00:00
Angelo Salese
fed3178c23 Moved mirage.o into its proper place, not worth obviously 2011-03-24 20:40:35 +00:00
Michaël Banaan Ananas
0a067c5617 make vanvan use dreamshopper memory map + fix bg color: http://www.mametesters.org/view.php?id=1555 2011-03-24 12:11:32 +00:00
Scott Stone
6f2002cb32 Haze: Convert fghthist to using generic functions in deco16ic.c (no whatsnew) 2011-03-24 03:41:27 +00:00
Michaël Banaan Ananas
0731ac9bb6 scrap that, previous implementation makes much more sense, it just needed a small fix 2011-03-24 03:16:03 +00:00
Michaël Banaan Ananas
5772d95022 fixed spritelayer-textlayer priorities: http://www.mametesters.org/view.php?id=2175 2011-03-24 02:22:39 +00:00
Angelo Salese
0b6aa86b59 More of it from Haze ... 2011-03-24 01:57:00 +00:00
Angelo Salese
e610067415 Fixed decrementing transfers in z80dma core [Angelo Salese] 2011-03-24 01:16:31 +00:00
Michaël Banaan Ananas
6964d8808b sprite priority fix: http://www.mametesters.org/view.php?id=2841 2011-03-24 00:54:18 +00:00
Angelo Salese
eae55a88b5 More DECO 56 refactoring from Haze 2011-03-23 23:52:08 +00:00
Michaël Banaan Ananas
8579c805de (typo) 2011-03-23 19:44:13 +00:00
Scott Stone
92f2e1b645 Changed clocks based on confirmed XTAL and dumper's notes for Ambush and clones. Audio changed to AY8912 as well. [Tafoid / Tomasz Slanina] 2011-03-23 19:25:42 +00:00
Michaël Banaan Ananas
5f6fb4267c small update on inputs + added diplocations 2011-03-23 19:21:15 +00:00
Michaël Banaan Ananas
cb49c89f5f battlex.c: Some driver cleanups, most importantly:
- made interrupt generation more logical (assert/clear instead of hold)
- removed hacky hardcoded palette for background tiles, let it use palette ram
2011-03-23 17:31:18 +00:00
Angelo Salese
626c8b0fea Haze: more of the same ... 2011-03-23 16:32:15 +00:00
Scott Stone
920f9c5e09 Added board locations to the roms in Black Widow from manual/part name matchups. 2011-03-23 16:18:24 +00:00
Angelo Salese
da0befd1e5 Fix for china town 2011-03-23 01:55:22 +00:00
Angelo Salese
79a74baa57 Deco 56: Allow rendering to a bitmap, with priority data intact, for manual mixing [David Haywood] 2011-03-23 01:36:49 +00:00
Angelo Salese
4c512a46d6 Bunch of deco 56 merging from Dave 2011-03-22 23:47:01 +00:00
Angelo Salese
4c1663441a Putted Deco 56 video sprite chip inside its own file [David Haywood] 2011-03-22 23:35:01 +00:00
Angelo Salese
235b0d2e01 Moved Kaneko Super Nova sprite chip emulation inside its own file [David Haywood] 2011-03-22 20:57:27 +00:00
Scott Stone
4a8673b639 Added board locations to the roms in Country Girl from dumper's readme/filenames 2011-03-22 17:06:01 +00:00
Michaël Banaan Ananas
45f660216b (note) 2011-03-22 00:04:19 +00:00
Michaël Banaan Ananas
0501ea5e89 fixed zigzag sprites: http://www.mametesters.org/view.php?id=1665 2011-03-21 23:53:04 +00:00
Scott Stone
28d3603e7b Added board locations to the roms in Zig Zag from dumper's readme/filenames 2011-03-21 22:52:20 +00:00
Scott Stone
ef6cec41f6 Added board locations to the roms in Zero Team from dumper's readme/filenames 2011-03-21 22:11:32 +00:00
Scott Stone
23b19dd99b Added board locations to the roms in Zaviga from dumper's readme/filenames 2011-03-21 20:51:10 +00:00
Michaël Banaan Ananas
d10c1d5c9f Bagman is supposed to have glitches during screen transitions: http://www.mametesters.org/view.php?id=2509 2011-03-21 16:10:56 +00:00
Michaël Banaan Ananas
db7b1ba19d (spaces to make it a bit more readable, no functional changes) 2011-03-21 12:44:12 +00:00
Michaël Banaan Ananas
c46ee55a7b add sprite y flipping (eg. throwing a baddie in bigfight) 2011-03-21 12:24:02 +00:00
Michaël Banaan Ananas
9968fb56b9 changed default setting of "Continue Coin", bighfight locks up if it's set to On: http://www.mametesters.org/view.php?id=2578 2011-03-21 11:26:28 +00:00
Michaël Banaan Ananas
f633060a7d VIDEO_ALWAYS_UPDATE flag because collision detection is in video driver 2011-03-21 10:23:43 +00:00
Michaël Banaan Ananas
400de1e0b3 'unused variable' compile error 2011-03-21 09:44:36 +00:00
Michaël Banaan Ananas
eb56337c34 r11913: forgot to add this file 2011-03-21 09:34:06 +00:00
Michaël Banaan Ananas
9ab6b4763e don't assert on valid i8080a 2011-03-21 09:04:54 +00:00
Aaron Giles
f5dceea8a6 Converted asteroid/bzone/funworld/itech8/kongambl/legionna/leland/quakeat/
quizpun2/segas24/twincobr/warpwarp to driver_device. [Atari Ace]
2011-03-21 08:35:42 +00:00
Aaron Giles
23c4b887a6 Further decouples some driver files to help driver_device
conversions. [Atari Ace]
 1. cclimber and galaxian audio code and seibuspi decryption code get
    their own includes.
 2. galpani2 video declarations are moved from kaneko16.h to their own
    file.
 3. cchance and champbwl subclass from tnzs, xevious/bosco/digdug
    subclass from galaga and vmetal subclasses from metro.
 4. yvg608 is made independent of namcond1
 5. ettrivia duplicates the palette code from naughtyb
 6. mshuttle decryption code is moved into galaxian.
 7. tetrisp2_draw_sprites is split into two versions, one for ms32.c,
    one for tetrisp2.c.
2011-03-21 08:33:36 +00:00
Aaron Giles
c6a063f2a7 Add driver_device classes for drivers that don't have any variables,
for consistency (and future development). [Atari Ace]
2011-03-21 08:28:06 +00:00
Michaël Banaan Ananas
fee64a6be1 rm speedup hacks for the hd6309 too 2011-03-20 21:56:34 +00:00
Michaël Banaan Ananas
4f055c8c77 (colormask is more logical like this) 2011-03-20 21:49:16 +00:00
Michaël Banaan Ananas
8f005b2d21 changed implementation for spacezap monitor to driver configuration (no whatsnew) 2011-03-20 21:27:08 +00:00
R. Belmont
6c5aa9c48b Another Naomi PCB layout fix (no whatsnew) 2011-03-20 21:11:56 +00:00
Couriersud
c67bcf173b Add a separate define for MB7051 prom to resnet.h 2011-03-20 19:14:26 +00:00
Michaël Banaan Ananas
b264d3244a Atari Xevious description update by user sxevious:
http://www.mametesters.org/view.php?id=3454
2011-03-20 17:57:26 +00:00
Michaël Banaan Ananas
cb0e796494 don't ignore bank>=12 2011-03-20 16:50:30 +00:00
R. Belmont
10d16f88c2 Fix swapped chips in Naomi readme, no whatsnew necessary 2011-03-20 02:56:03 +00:00
Michaël Banaan Ananas
b8d0cbb1ad astrocde.c: Made Space Zap black & white. It uses an overlay for colors, the MAME artwork team will probably take care of that part. [hap] 2011-03-20 00:54:01 +00:00
Michaël Banaan Ananas
7fb7271485 (contra cpu note) 2011-03-19 22:00:24 +00:00
Michaël Banaan Ananas
91870792df contra.c: Changed main CPU to HD6309 as seen on PCB, and set interrupt source to k007121. [hap] 2011-03-19 21:59:57 +00:00
Michaël Banaan Ananas
a356e9badd (typo) 2011-03-19 02:39:52 +00:00
Michaël Banaan Ananas
0d30893a3d it's 2011, rm speedup hacks 2011-03-18 23:03:37 +00:00
Michaël Banaan Ananas
4d704a6de7 rm confusing old note, there was a hack ages ago but it's long gone 2011-03-18 22:51:25 +00:00
Angelo Salese
c25f9c0222 Another MESS specific update 2011-03-18 16:48:28 +00:00
Scott Stone
6bc46f2f50 New Clones
--------------
Ropeman (bootleg of Roc'n Rope)

Comment:
Yes, this is that one.
It's been sourced numerous times over the years and it's a very popular bootleg, even if the changes are minimal.  It was time to add back to the documentation.  Cool thing is that it is fully playable now when it did not when it was taken out of MAME in 0.36b10. :)
2011-03-18 16:10:48 +00:00
Michaël Banaan Ananas
e7c03c9bc3 nomore "Meteor" confusion 2011-03-18 15:49:49 +00:00
Angelo Salese
c7d0715b91 Another bulk game renaming 2011-03-18 14:28:39 +00:00
Angelo Salese
742b9e2592 new clone
---------
ATV Track (Set 2) [Guru] (not working)
2011-03-18 14:18:24 +00:00
Angelo Salese
5eee3c81dc Driver clean-ups from Haze, not worth 2011-03-18 14:02:46 +00:00
Michaël Banaan Ananas
18c25298e7 dedicated galxwars cabs are not b/w but have color maps
For now, use proms from another game and mark sets as bad dump/wrong colors
2011-03-18 01:36:34 +00:00
Michaël Banaan Ananas
627b8b0d03 Kale revert 2011-03-17 22:17:06 +00:00
Angelo Salese
60b2a91f22 new clone
---------
Heavy Unit -U.S.A. Version- [Hurray Banana, Tormod, hotaru, Dna Disturber, F. Marsaud, N. Francfort, Smitdogg, The Dumping Union]
2011-03-17 16:12:43 +00:00
Michaël Banaan Ananas
2412b71f4f make subhunt use overlay of parent + add note in .lay file 2011-03-17 12:03:38 +00:00
Michaël Banaan Ananas
4dd3aee671 (colors were improved _a lot_ in 138u2) 2011-03-17 11:07:50 +00:00
Miodrag Milanovic
9ad690e92f Disabled 6845 logging and fixed logging in ins8250 (no whatsnew) 2011-03-17 08:42:27 +00:00
Aaron Giles
916b52e865 Remove some straggling const address_space references, and get rid of
explicit const_casts in memory.h.
2011-03-17 07:47:05 +00:00
Aaron Giles
2b47d0d5a4 Remove unused static handler entries. Also ensure that subsequent mapping/
unmapping of static memory types does not change the memory parameters.
This fixes the case where dynamically unmapping memory could lead to
incorrectly reported offsets. [Aaron Giles]
2011-03-17 07:23:21 +00:00
Aaron Giles
4be37affb8 Continuation of static/global cleanup. [Atari Ace] 2011-03-17 07:22:09 +00:00
Aaron Giles
36fdd337ac Continued moving global/static variables to the driver_device classes.
[Atari Ace]
2011-03-17 07:12:42 +00:00
Michaël Banaan Ananas
ef95984285 fix service mode regression 2011-03-16 17:58:38 +00:00
Michaël Banaan Ananas
5677278fa2 = whatsnew note anyway =
Galaxian driver: Fixed sprite X offset. [hap]
2011-03-16 15:46:24 +00:00
Michaël Banaan Ananas
1b4ead59cb rm galaxian_sprite_clip_*, sprite clipping is not hw controllable, the only game that was assumed to be able to control it (pacmanbl) is supposed to have sprites partially cut off. See CrazyKongFan's notes here: http://www.mametesters.org/view.php?id=1598 2011-03-16 15:42:16 +00:00
Michaël Banaan Ananas
2816328d1d sprites in galaxian driver (no whatsnew):
Undo part of r2230 (Frogger related):
"also fixes that the frog disappears for player 2 if moved backwards. This will position him on x=242. All games in this driver now have the sprites in cocktail/player 2 now offset by 2"
It made sprite offsets in cocktail mode wrong in every game. The Frogger glitch must be due to something else, not this.

sx=base3 -> sx=base3+1: As documented in video/galaxold.c, this is evident in many games: scramble, turtles, anteater, jumpbug, spdcoin, ..
2011-03-16 14:12:11 +00:00
Miodrag Milanovic
9605465ca9 Space Gambler pinball roms updated (no whatsnew) 2011-03-16 13:56:30 +00:00
Miodrag Milanovic
9eea2335f9 Added possibility of altering default input port setting for devices. [Miodrag Milanovic] 2011-03-16 12:57:26 +00:00
Michaël Banaan Ananas
5fc16d9ce3 moved anteateruk/anteaterg to galdrvr 2011-03-16 00:12:51 +00:00
Curt Coder
d625c435a3 Added DEVICE_SELF_OWNER support for device callbacks. [Curt Coder] 2011-03-15 11:04:21 +00:00
Michaël Banaan Ananas
607b2c09e1 added diplocs (and confirmed factory settings) 2011-03-15 02:31:24 +00:00
Angelo Salese
7ef05990e2 MCD update 2, not worth 2011-03-15 00:01:04 +00:00
Couriersud
7991accfaf Fix pleiades colours (high/low palette bits exchanged). [Couriersud] 2011-03-14 23:34:27 +00:00
Michaël Banaan Ananas
5e1399fccc New Clone
============
Speak & Rescue (bootleg) [Siftware]
2011-03-14 22:16:28 +00:00
Michaël Banaan Ananas
c6aa2062a3 xtal note 2011-03-14 20:18:59 +00:00
Michaël Banaan Ananas
4701a996d7 New Clone
==============
Terra Cresta (newer PCB) [Siftware]
2011-03-14 18:48:27 +00:00
Aaron Giles
a7eef6130f path_iterator::next() now takes an optional filename to append to
the path.
2011-03-14 16:10:04 +00:00
Aaron Giles
91f3ecc009 Decouple memory_region parameters from the ROMREGION flags. 2011-03-14 15:41:19 +00:00
Aaron Giles
38c271080c Couple of minor bugfixes, and incorporated some old notes I had lying around.
Doesn't fix anything substantial.
2011-03-14 15:11:40 +00:00
Angelo Salese
e8ce38e19e MCD update, not worth 2011-03-14 14:27:17 +00:00
Curt Coder
ceeafcbcb9 Fixed Z80-DART transmit word length. [Curt Coder] 2011-03-14 13:27:59 +00:00
Michaël Banaan Ananas
7aa0111f30 identify some dsw for barline + change year to 1988 (rom data has 1988 nihon bussan in it) 2011-03-13 21:05:35 +00:00
Angelo Salese
642ec7fe97 MEGACD update, no whatsnew 2011-03-13 16:04:07 +00:00
Angelo Salese
39e5f02747 This game is known as Solomon no Kagi in Japan (both titles displayed), no whatsnew 2011-03-13 15:51:07 +00:00
Michaël Banaan Ananas
34f0e1338b (minor romnames correction for thepitu1) 2011-03-13 15:33:11 +00:00
Michaël Banaan Ananas
dd953d69a3 (game descriptions consistency: "Set" -> "set") 2011-03-13 15:05:45 +00:00
Michaël Banaan Ananas
0224948126 New Clone
============
The Pit (US, set 2) [Siftware]
2011-03-13 13:49:09 +00:00
Michaël Banaan Ananas
2d7eb56d06 comment out unused define + small update for rthundero dsw: http://www.mameworld.info/ubbthreads/showflat.php?Cat=&Number=248341 2011-03-13 12:58:49 +00:00
Aaron Giles
15017b328a Continued eliminating global/static variables by moving them to
the driver_device classes.  Mostly drivers from misc.a, and
some drivers recently which had dependencies removed. [Atari Ace]
2011-03-13 03:55:45 +00:00
Aaron Giles
3c3c5163f5 Convert a number of drivers to use their own private spriteram instead
of the generic one. Only drivers needing buffered spriteram should
use the shared generic version for now. [Atari Ace]
2011-03-13 03:09:23 +00:00
Michaël Banaan Ananas
b859b40788 galdrvr.c: Added background color split to Anteater. [hap]
----
also cleaned up video/galaxian.c source a bit and renamed anteater clones (anteatg/anteatgb to anteaterg/anteateruk). I couldn't be bothered to add anteater colorsplit to galaxold.c, so the clones aren't fixed
2011-03-13 02:01:58 +00:00
R. Belmont
5bca3b09c1 model3: add protection data for oceanhun (game still doesn't boot) [Ville Linde] 2011-03-12 23:27:01 +00:00
Scott Stone
8f47b93cff [SEGA CD] Fixed 1meg ram mode access, fixing graphics in wilybeam [David Haywood] (no whatsnew) 2011-03-12 21:46:39 +00:00
Scott Stone
209e4d8ade SegaCD compatibility improvements (MESS side) (no whatsnew) 2011-03-12 19:53:57 +00:00
Michaël Banaan Ananas
c53aac95f3 re: r11528 "Added imperfect graphics flag to compel people to stop reporting about it" -- clone saiyugou also has bad graphics from gfx3 nodump 2011-03-12 16:45:28 +00:00
Brian Troha
3a9f6a6cc8 minor info update on Japanese 1941 rom set 2011-03-12 05:07:53 +00:00
Roberto Fresca
56fc55923e Improved inputs and complete DIP switches to Lucky Roulette Plus. [Roberto Fresca]
Added new support for Ruleta RCI.


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Ruleta RCI (6-players, Spanish) [Roberto Fresca, Rob Ragon]
2011-03-12 04:20:40 +00:00
Brian Troha
1f85afee8c Correct some rom names for Thunder Force AC and allow for longer rom labels (convert from DOS "8.3") 2011-03-11 23:40:43 +00:00
Fabio Priuli
19b50e3ca6 Fixed parsing of uimodekey from .ini on SDL [Fabio Priuli] 2011-03-11 20:34:35 +00:00
Scott Stone
aeb9e2a991 New Clones Added
----------------
Empire City: 1931 (Italy) [ANY]
Thunder & Lightning (bootleg with Tetris sound) [ANY]
2011-03-11 19:27:20 +00:00
Jonathan Gevaryahu
e782ac9d5b fix micro3d 8051 serial RX, todo: still needs CLEAR behind a 1 cycle callback 2011-03-11 09:35:14 +00:00
Aaron Giles
fe71058aa2 Don't pass both a machine_config and an emu_options, since the options
are now available via the config.
2011-03-11 06:01:58 +00:00
Michaël Banaan Ananas
0f52fbe361 (kaitei note) 2011-03-10 20:47:01 +00:00
Michaël Banaan Ananas
79c1cfc1e0 running an unavailable game with discrete sound would crash mame on exit because m_queue was uninitialized (still crashes on debug build tho?) 2011-03-10 20:08:29 +00:00
Angelo Salese
edef6e8203 new clone
---------
Zing Zing Zip (bootleg) [ANY] (not working)
2011-03-10 18:00:38 +00:00
Michaël Banaan Ananas
6dee0474d4 separate memmap for catchp, it supports coincounters and has different sound hw 2011-03-10 13:37:01 +00:00
Curt Coder
b67f2d8e9d Mapped KEYCODE_BACKSLASH2 to the OEM_102 key (located between LShift and Z on international keyboard layouts). [Curt Coder] 2011-03-10 11:18:29 +00:00
Aaron Giles
04c9a546b5 Attached emu_options to the machine_config, and the running_machine
inherits it now.
2011-03-10 10:17:30 +00:00
Aaron Giles
a6b4399f9d Removed some legacy NVRAM_HANDLERs in favor of NVRAM devices.
Added M48T37 variant to timekpr.c. Fixed some bugs that caused
registers to be initialized to 0xff and caused odd behavior.
Updated to modern device timers.

Converted vegas to use M48T37 instead of its own implementation.
2011-03-10 09:55:04 +00:00
Aaron Giles
88cf8e7896 Fix long-standing bug in ABS flags in ADSP21xx core. [Christophe Jaillet] 2011-03-10 07:42:35 +00:00
Aaron Giles
9d26109f6a Move non-buffered spriteram drivers away from using the generic
spriteram in favor of using spriteram in their own driver_device
classes. [Atari Ace]
2011-03-10 07:32:37 +00:00
Aaron Giles
c809bf3d3a Breaks some driver entanglements to simplify future driver_device
conversion efforts: [Atari Ace]
 * taito_f3 is disentangled from a number of other drivers by using
    an AM_SHARE tag instead of a common variable.
 * Several drivers are made into explicit subclasses of other drivers:
    8080bw from mw8080bw, missb2 from bublbobl, quasar from cvs, taito_x
    from seta.
 * arcadecl is separated from rampart by duplicating the bitmap
    rendering code.
 * jaleco decryption code is moved to jalcrpt.c.
 * cischeat is separated from megasys1 by duplicating some video code.
 * mcr3 is partly separated from mcr.
 * machine/midwunit.c is split into wunit and xunit files with some
    code duplication.
 * midtunit gfx_rom variables are made distinct from midyunit
    variables, making midyunit independent of midtunit.
 * contants in namconb1 are duplicated/renamed in namcofl.
 * namcos2 uses of namcos21 are eliminated by introducing
    namcos2_kickstart.
 * toypop is separated from mappy by duplicating some video code.
2011-03-10 07:30:54 +00:00
Aaron Giles
4977af6a7d Converted namco/thepit/toaplan/unico/upl/valadon/veltmjr/venture/vsystem/
zaccaria to driver_device. Also simplified unico and disentangled gridlee
from balsente. [Atari Ace]
2011-03-10 07:26:48 +00:00
Aaron Giles
46550a475b Non-debug builds need to free those memory_entries. Fixes enormous
memory consumption when iterating through all drivers like -romident
does.

Also moved softlist scanning into the main loop so that machine_configs
are only constructed once.
2011-03-10 07:06:21 +00:00
Michaël Banaan Ananas
d49ead22c9 New Not-Working Game
=====================
Catch (prototype) [Siftware, hap]


-------
not working flag is because of the broken sound
also, should it be a clone of avalnche?
2011-03-10 02:36:59 +00:00
Michaël Banaan Ananas
c8b556970d ok, looks like they went from grey to gray in 1986 2011-03-09 23:56:04 +00:00
Michaël Banaan Ananas
81aeca01b9 grayhound 2011-03-09 23:42:12 +00:00
Michaël Banaan Ananas
8e103c9e5e calipso and anteater are by tago 2011-03-09 23:35:48 +00:00
Michaël Banaan Ananas
0af23bd7bb some notes about conquer + hotshockb is very likely an early revision/alt set, no bootleg 2011-03-09 23:30:15 +00:00
Michaël Banaan Ananas
e4e0f55117 (test location -> location test) 2011-03-09 21:20:19 +00:00
Michaël Banaan Ananas
c418300b8e misc companyname cleanups/consitencies 2011-03-09 20:34:38 +00:00
Michaël Banaan Ananas
2cb806af4d (add "sion" even tho titlescreen says "Ver.") 2011-03-09 18:00:43 +00:00
Michaël Banaan Ananas
1c83142c0c toaplan1/2 small description changes, see diff for details 2011-03-09 17:31:47 +00:00
Scott Stone
d34e8fa8f5 Technical changes to reel games. [James Wallace]
- Fixed lamp timing in MPU4 and laid groundwork for MPU3 support in the steppers (I've also cleared up the reel code in drivers).

- Removed some unneeded timing code.

- BwB support is here, but preliminary, it's mainly to show people how the CHR chip might work in those games.
2011-03-09 16:41:27 +00:00
Scott Stone
8acf0fa5d3 Major toaplan2.c updates [Alex Jackson]
- Some sets reparented and renamed as well as a cleanup of source comments:
grindstm (parent), vfive (clone)
kingdmgp (parent), shippumd (clone)
The set formerly known as "sstrikera" is now "sstriker" and is now the parent of mahoudai (clone).
Reverted batrid to batrider and bkraid to bbakraid.

- Put common init code into MACHINE_START, leaving DRIVER_INITs only for games that actually need unique initialization.

- Dead code cleanup: Removed old hacks and some no-longer-used used member variables from the driver class.

- ROM banking cleanup: Added a device address map for the OKI in fixeightbl. Stopped misusing the bank system for memory that isn't actually bankswitched (fixeightbl again) Simplified the Z80 ROM banking (and loading) in the Raizing games.

- Address map cleanup: Unified 8-bit shared RAM handling between the Z80-based and the V25-based games. Replaced lots of pointless READ_HANDLERs with AM_RAM_WRITE. Moved fixeight EEPROM handling into the input ports instead of using READ/WRITE_HANDLERs. Incidentally, this makes toaplan2.c the very first MAME driver to use the AM_READWRITE_PORT macro.

- Removed IPT_VBLANK input ports (no longer used since the video rewrite)

- Removed Truxton 2 player 2 "button 4" (after confirming that the game never reads it) and changed player 1 "button 4" to an IPT_OTHER not bound to any key by default, since it's clearly some kind of test/debug input not meant to be hooked up in a regular cabinet (for one thing, it works whether you're actually playing or in attract mode)

- Added button 3 to Batsugun Special Version. It's a full auto fire button like Cave games have. The service mode input test doesn't show it, presumably because Toaplan didn't bother to update the service mode code from the original version of the game.

- Fixed region jumpers and dipswitches in many sets, based on analysis of the program code and strings in the ROMs.

- Added a #define to optionally make Truxton 2 stereo (commented out by default). See the comments at the top of the driver and in the MACHINE_CONFIG.

- Corrected kbash ROM names, thanks to information from Charles MacDonald. Also fixed inconsistent ROM naming between some of the batrider clones.

- Loaded bbakraid default EEPROM as a ROM rather than hardcoding the contents into the driver.

- Completely removed audio/toaplan2.c, which isn't needed any more now that all the V25s are decrypted and hooked up.
2011-03-09 15:25:49 +00:00
Miodrag Milanovic
7341a57120 Fixed validation errors (no whatsnew) 2011-03-09 15:02:03 +00:00
Scott Stone
7eb1b0ebfb Fixed description to match title screen and to elaborate it's origin (no whatsnew) 2011-03-09 15:01:07 +00:00
Angelo Salese
958037373a Fixed sound regression with Mission 660 [Angelo Salese] 2011-03-09 15:00:56 +00:00
Brian Troha
279ae0b5d7 Use correct roms for the Japanese 1941 set [Brian Troha]
Out of whatsnew - These have been on the ftp in the redundant dir, files date as 11-17-1997 ;-p
2011-03-09 03:21:27 +00:00
Aaron Giles
7238b32349 Fix minor oops. 2011-03-09 02:58:54 +00:00
Brian Troha
37d8266857 new clone added Street Fighter Alpha 3 Hispanic
New Clone Added
--------------------------------------
Street Fighter Alpha 3 (Hispanic 980904) [Layne, Dr. Spankenstein, ranger_lennier, Smitdogg, The Dumping Union]
2011-03-09 02:40:01 +00:00
Michaël Banaan Ananas
978601973f New Game
============
Super Twenty One [Siftware, gregf, hap]
2011-03-09 02:13:41 +00:00
R. Belmont
6517ccd2b8 More fun with Apple GCC (no whatsnew) 2011-03-09 01:54:43 +00:00
Angelo Salese
6a1371290f Another Mega CD fix from Haze 2011-03-09 01:24:14 +00:00
R. Belmont
ad13dfa233 Add virtual destructor to pacify GCC < 4.2 (no whatsnew) 2011-03-09 00:07:16 +00:00
Michaël Banaan Ananas
921d898e5c decocass, minor documentation update 2011-03-08 21:27:58 +00:00
Michaël Banaan Ananas
3d5ae65fd7 - use 4 bit clut instead of 3 bit
- calculate palette with resnet info from Popper (same year, same company, very similar hardware)
- make bgcolor emulation more logical
- small cleanups
2011-03-08 19:51:27 +00:00
Roberto Fresca
32fab82a0f Changed CPU's frequencies after some PCB measures.
Changed Xtal type for 18*22 pins hardware.
Added some handlers to debug the AY8910/12 ports.
2011-03-08 18:50:01 +00:00
Miodrag Milanovic
1a19ba782b New Clones Added
----------------
- High Roller Casino (2.10) [destruk]
- Playboy (4.01,2.03) (En,Sp,Fr,It,Ger) [destruk]
- Roller Coaster Tycoon (6.00) (En,Sp,Fr,It) [destruk]
2011-03-08 14:28:17 +00:00
Angelo Salese
654fd83de6 Mega CD update from Haze, not worth 2011-03-08 14:02:57 +00:00
Miodrag Milanovic
16000c249a New Clones Added
----------------
- Simpsons Pinball Party (4.00,2.04) (En,Sp,Fr,It,Ger) [Miodrag Milanovic]
- Grand Prix (4.00,3.40,3.01) (En,Sp,Fr,It,Ger) [Miodrag Milanovic]
- Nascar (4.00,3.50,3.40, 3.01) (En,Sp) [destruk, Miodrag Milanovic]
- Sopranos (3.00, 2.04, 1.07) (En,Sp,Fr,It,Ger) [Miodrag Milanovic]
2011-03-08 12:46:45 +00:00
Roberto Fresca
3cba988d41 More work on corona.c driver. [Roberto Fresca]
Cleaned up and improved memory maps, added NVRAM
to all winners circle sets, fixed the ay8910 clock
for winners circle 82 type to match the other hardware.
Fixed a blitter buffer to bitmap problem.
Reparented the sets. Added new technical notes.
2011-03-08 07:50:49 +00:00
Aaron Giles
7f13992830 MT 04271: Merge attribute incorrectly matches parent NO_DUMP ROMs. 2011-03-08 04:56:27 +00:00