Commit Graph

11720 Commits

Author SHA1 Message Date
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