Commit Graph

7283 Commits

Author SHA1 Message Date
smf-
2c3c41b08f fixed compiling after share were changed to a tag, not tested if this is the correct behaviour. 2009-12-06 02:03:29 +00:00
Aaron Giles
0fd8c755ff Memory shares are now specified by tag instead of index.
The AM_SHARE() macro now takes a tag parameter. All existing
shares have been bulk renamed to "share##". However, the name
does not matter, so please use descriptive tags going forward.

Also added tag validation for bank and share tags.

Added flag to tagmap_add functions that optionally will
replace existing objects if a duplicate is found.
2009-12-05 20:19:04 +00:00
Roberto Fresca
9fdc5ec196 Noraut Poker driver improvements:
* Added new technical notes.
 * Added Kimble Z80 hardware support.
 * Added Prologic-Noraut hardware support.
 * Added proper discrete sound support to Kimble games,
   and Prologic-Noraut Joker Poker.
 * Slightly adjusted the visual area.
   This can be wrong and must be rechecked.
 * Relocated the hardware notes and layouts to ROM_LOAD section,
   so can be seen/maintained in a cleaner way.
 * Fixed the default lamps state.


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Noraut Joker Poker (Prologic HW) [Roberto Fresca, Alan Griffin]


New games marked as GAME_NOT_WORKING
------------------------------------
Kimble Double HI-LO (z80 version) [Roberto Fresca, Alan Griffin]
2009-12-05 20:05:03 +00:00
Angelo Salese
8d4b6387f3 Cleaned up a small left over quirk, not worth mentioning 2009-12-05 19:24:44 +00:00
Scott Stone
86cbe8c506 Changed occurrences of device label "cpu" to "maincpu" to comply to stated guidelines. 2009-12-05 18:22:48 +00:00
Aaron Giles
ee315fe99d Renamed functions:
memory_install_read/write_port_handler -> 
        memory_install_read/write_port

   memory_install_read/write_bank_handler -> 
        memory_install_read/write_bank
2009-12-05 07:59:31 +00:00
Aaron Giles
9eda9e163e More memory system cleanup. Removed SMH_* macros entirely. In
their place are a series of expanded macros and new memory
installation helpers. Some mappings below (not all are new):

   AM_READ(SMH_RAM)                       -> AM_READONLY
   AM_WRITE(SMH_RAM)                      -> AM_WRITEONLY
   AM_READWRITE(SMH_RAM, SMH_RAM)         -> AM_RAM
   AM_READ(rhandler) AM_WRITE(SMH_RAM)    -> AM_RAM_READ(rhandler)
   AM_READ(SMH_RAM) AM_WRITE(whandler)    -> AM_RAM_WRITE(whandler)
   AM_DEVREAD(tag, rhandler) AM_WRITE(SMH_RAM) 
                                  -> AM_RAM_DEVREAD(tag, rhandler)
   AM_READ(SMH_RAM) AM_DEVWRITE(tag, whandler) 
                                  -> AM_RAM_DEVWRITE(tag, whandler)

   AM_READ(SMH_ROM)                       -> AM_ROM
   AM_WRITE(SMH_ROM)                      -> (was a no-op)

   AM_READ(SMH_NOP)                       -> AM_READNOP
   AM_WRITE(SMH_NOP)                      -> AM_WRITENOP
   AM_READWRITE(SMH_NOP, SMH_NOP)         -> AM_NOP

For dynamic memory handler installation of the various types,
use the new functions:

   memory_unmap_read()
   memory_unmap_write()
   memory_unmap_readwrite() -- unmaps a section of address space

   memory_nop_read()
   memory_nop_write()
   memory_nop_readwrite() -- nops a section of address space

Cleaned up the internals of the address_map_entry structure, and
also normalized the way the address map macros work to remove a
lot of redundancy.
2009-12-05 07:54:11 +00:00
Tomasz Slanina
320793ee8f New clones added
----------------
Gals Panic (Korea, EXPRO-02 PCB) [Guru]
2009-12-04 19:30:10 +00:00
Phil Bennett
1c58ec77c5 03557: All sets in namcos12.c: Music is slower than original [Phil Bennett]
Measured and corrected Namco System 12 H8/C352 clocks [Phil Bennett]
2009-12-04 19:01:30 +00:00
Brian Troha
dc53a14ef2 Minor name change for a CPS2 clone to make it more logical 2009-12-04 01:55:12 +00:00
Angelo Salese
3a40556117 Cool Riders: discovered that area 4******* of SH-2 is actually a weird kind of text tilemap blitter [David Haywood, Angelo Salese] 2009-12-04 01:39:17 +00:00
Angelo Salese
9bc7aee599 Cool Riders: basic DMA hooked up 2009-12-03 23:03:13 +00:00
Angelo Salese
179960b682 Fixed a subtle bug... 2009-12-03 20:22:51 +00:00
Angelo Salese
111cc80254 Moved around some data and logged what it seems to be a DMA 2009-12-03 19:26:22 +00:00
Phil Bennett
ac751ce903 new clones
-----------

Invasion (4 bootleg sets) [f205v, ANY]
Head On (Sidam bootleg, set 2) [f205v, ANY]
Head On 2 (Sidam bootleg) [f205v, ANY]
Arkanoid (bootleg on Block hardware, set 2) [f205v, ANY]
2009-12-03 15:12:26 +00:00
Phil Bennett
445eb3eb39 PCB documentation updates: [Kevin Eshbach]
* Added the board xtal's for Battlantis, Contra and Pandora's Palace
* Corrected the MCU dump for Pandora's Palace
* Added indication of an undumped PAL for Contra/Gryzor
* Added PAL dumps for Cruis'n USA - rev L4.1
* Added information on the PROM from the 2 Board version of Congo Bongo


--------- Forwarded message ----------
From: Kevin Eshbach <keshbach@comcast.net>
Date: Fri, Nov 27, 2009 at 2:00 AM
Subject: Patch file with assorted updates
To: submit@mamedev.org


Enclosed is a patch file with the following updates.

* Added the board xtal's for Battlantis, Contra and Pandora's Palace (I did
not verify if cpu's/sound chips are using the correct clock speed though.)
* Added indication of an undumped pal for Contra/Gryzor
* Added pal dumps for Cruis'n USA - rev L4.1 (one pal could not be dumped.)
* Corrected the mcu dump for Pandora's Palace
* Added information on the PROM from the 2 Board version of Congo Bongo

All dumps have been previously forwarded to The Dumping Union.



Kevin Eshbach
2009-12-03 15:01:17 +00:00
Phil Bennett
16ed9e0dcc Fixed srcclean handling of embedded comments within strings [Atari Ace]
---------- Forwarded message ----------
From: Atari Ace <atari_ace@verizon.net>
Date: Wed, Dec 2, 2009 at 2:14 AM
Subject: [patch] Fix srcclean to handle strings
To: submit@mamedev.org
Cc: atariace@hotmail.com


Hi mamedev,

I noticed an odd case in src2html.c where tabs were converted to
spaces unnecessarily.  Turns out srcclean does not track quoted
strings, so an embedded comment in a string will be treated the same
as a comment.  Attached is a patch to fix this.

~aa

P.S. The *.lay files could use a run through srcclean.
2009-12-03 14:34:31 +00:00
Phil Bennett
e62d1e6cd7 Added preliminary HNG64 additive tilemap blending [David Haywood]
-----Messaggio originale-----
Da: David Haywood [mailto:neohaze@nildram.co.uk]
Inviato: martedì 1 dicembre 2009 22.47
A: Angelo Salese
Oggetto: hng64 additive tilemap blending debug

not very optimal, but some debug-key based support for this.

t/y/u/i  enable / disable additive blend mode for the tilemaps.

note, when drawing onto a black background the tilemap will look exactly
the same, because black + colour = colour ;-)

the most obvious use are the effects layers in the samurai games, used
for a light beam effect, and snow / storm effects.

I don't know how the hw enables it.
2009-12-03 14:29:17 +00:00
Aaron Giles
0069237f20 Memory banks are now referenced by tag rather than index.
Changed all memory_bank_* functions to specify a tag.
Bulk-converted existing banks to be tagged "bank##" in
order to ensure consistency. However, going forward, the
tags don't matter, so please name them something useful.

Added AM_BANK_READ/AM_BANK_WRITE macros to let you specify
bank tags. Also changed AM_ROMBANK and AM_RAMBANK macros to
accept tags as well.

Added new functions memory_install_read_bank_handler and
memory_install_write_bank_handler to install banks by tag
name, similar to input ports.

Changed internals of memory system to dynamically allocate
all banks. The first time a bank with an unknown tag is
installed, a new bank object is created and tracked 
internally. Removed all SMH_BANK(n) references outside of
the main code; these should never, ever be useful anymore.
2009-12-03 08:16:38 +00:00
Fabio Priuli
d642d98b58 Fix for MT03562: fcombat: Segmentation Fault after OK 2009-12-03 06:18:14 +00:00
Fabio Priuli
c28e7e339e Fix for MT03561: robokid, robokidj, robokidj2: Segmentation Fault after OK 2009-12-03 06:17:18 +00:00
Fabio Priuli
9a05e23eda Fixed a couple of drivers complaining for missing inputs (see MT3559) 2009-12-02 23:15:00 +00:00
Fabio Priuli
4442c6161c Fixed other two regressions from svn 7449. Thanks Tafoid for spotting these. 2009-12-02 23:03:11 +00:00
Fabio Priuli
6ad7e040ec Added shared driver data struct to 40love.c, bking.c, buggychl.c and msisaac.c (they use the same mcu emulation)
As a result, bking.c, buggychl.c and msisaac.c now support save states (40love.c already did, even if mcu values were not saved)
2009-12-02 22:39:48 +00:00
Fabio Priuli
71be191faf Fixed a small banking problem with bootlegs in aerofgt.c 2009-12-02 22:30:35 +00:00
Angelo Salese
f3bdc40bd6 Cool Riders: some hooks to allow FBI logo drawing [Angelo Salese] 2009-12-02 20:41:38 +00:00
Angelo Salese
05fc796369 Actually fixed colors for good in Wink 2009-12-02 16:57:34 +00:00
Jonathan Gevaryahu
214b3564e9 Cosmic: fixed cosmica2 romset rom split and names to match romset as described in mameinfo, which it matches (except for one rom which mameinfo is probably wrong about). The romset uses a different rom daughterboard to the other cosmica romsets, and different sized roms. 2009-12-02 15:58:28 +00:00
Jonathan Gevaryahu
5dffcb6c6c mostly resolved mix of intel and motorola notation in tms32025 disassembler 2009-12-02 15:32:57 +00:00
Fabio Priuli
b5d9596eff New clone added :
Tower of Druaga (Manufactured by Sidam) [Corrado Tomaselli]
2009-12-02 13:08:56 +00:00
Tomasz Slanina
2841662f1b New games added or promoted from NOT_WORKING status
---------------------------------------------------
LA Girl [Tomasz Slanina, Guru]
2009-12-02 09:51:33 +00:00
Fabio Priuli
dfa4726c7b Not really worth credit: purged some direct use of SMH_RAM in favor of macros from memory.h 2009-12-02 08:56:01 +00:00
Fabio Priuli
e4b27e0b27 Fix for MT03558: drivers with Access Violation since 0.135u2
I hope these are the only regressions I introduced in svn 7449...
2009-12-02 07:34:35 +00:00
R. Belmont
8bc10109ca One more Clang warning fix.
Anyone who's ever been confused by the meaning of a given GCC or MSVC error diagnostic will enjoy this (it's color-coded in real life for added "wow"):

src/emu/memory.c:2148:5: error: comparison of distinct pointer types ('genf *' and 'void *')                                                           
                                check_entry_handler(write);                                                                                            
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~                                                                                             
src/emu/memory.c:2052:63: note: instantiated from:                                                                                                     
        if (entry->handler.generic != NULL && entry->handler.generic != SMH_RAM) \                                                                     
                                              ~~~~~~~~~~~~~~~~~~~~~~ ^
2009-12-02 03:51:45 +00:00
R. Belmont
41091eeda8 A few minor syntax changes to make the Clang compiler (clang.llvm.org) happy.
MAME does not fully build with it yet so I can't do any drag-racing yet.
Stay tuned.
2009-12-02 03:30:33 +00:00
Angelo Salese
b665e8b20d Wink: Improved colors [Angelo Salese] 2009-12-02 02:19:27 +00:00
Fabio Priuli
9872266cbb Added driver data struct and save states to: galspnbl.c, gcpinbal.c, ginganin.c, go2000.c, goal92.c, goindol.c, good.c, gotcha.c, gotya.c, gstream.c, gumbo.c, gundealr.c, hitme.c, holeland.c & homerun.c
Added driver data struct to: aerofgt.c and gyruss.c
2009-12-02 00:24:14 +00:00
Angelo Salese
f1f61bf97b Cool Riders: slightly improved booting 2009-12-01 23:41:11 +00:00
mariuszw1
81520effea Added inputs to Top Shooter
New games added or promoted from NOT_WORKING
--------------------------------------------
Top Shooter [Mariusz Wojcieszek]
2009-12-01 20:24:32 +00:00
Angelo Salese
b8d446b917 Written a video note before I forgot it... 2009-12-01 15:45:46 +00:00
Angelo Salese
ed5385ca31 Cool Riders: hooked up what it looks like a ROM->to->VRAM transfer... 2009-12-01 15:38:53 +00:00
Angelo Salese
c7b68e8f2b Cool Riders: fixed regression [Angelo Salese] 2009-12-01 14:24:05 +00:00
Tomasz Slanina
900636176d New clones added
----------------
Domino Block ver.2 [Guru]
2009-12-01 12:10:03 +00:00
Fabio Priuli
9ac246d99d Added driver data struct and save states to: hnayayoi.c, hanaawas.c, higemaru.c, himesiki.c and sonson.c
Also, added driver data struct to: alpha68k.c, amspdwy.c, gng.c, gunsmoke.c, hotblock.c

Finally, removed a couple of memory_set_bankptr I hadn't noticed in ddrible.c and gberet.c
2009-12-01 11:36:05 +00:00
Phil Bennett
1340ff28dc New games added as GAME_NOT_WORKING
-----------------------------------
White Tiger - 3VXFC5342 (New Zealand) [Heihachi_73]
Magic Mask (A - 09/05/2000, Export) [Heihachi_73]
Geisha (A - 05/03/01, New Zealand) [Heihachi_73]


---------- Forwarded message ----------
From: AGEMAME Development <agemame@gmail.com>
Date: Thu, Nov 19, 2009 at 9:07 PM
Subject: Aristocrat MK4 and Mk5 ROMS
To: submit@mamedev.org


Courtesy of Heihachi_73

White Tiger

KG Bird (just a fix)
Magic Mask
Geisha

All ROMs at http://agemame.fruit-emu.com/aristo/ (split sets, so only
the fixed file for KG bird)
2009-12-01 11:04:25 +00:00
Fabio Priuli
0180f1b0a8 > Subject: Fix for cp1610 cpu
>
> The cp1610 CPU is only used by the Intellivision (in MESS). However the
> disassembler produces garbage. Also I noticed a tiny error in the CPU
> itself.
>
> Here are the fixes:
>
> Firstly, the CPU, a one-line change. In cp1610.c, at line 3515, you may
> notice that 2 flags are sharing the same bit. Please change the V flag
> to
> use 0x20 (instead of 0x10). That's all there.
>
> Next, the disassembler. It assumes oprom to be 16 bits when in fact it
> is 8.
> I could not see a way of specifying the size of oprom, so assuming it
> is
> always 8 bits. If that's the case, please replace 1610dasm.c with the
> enclosed one.
>
> Thanks and have a great day :)
>
> - Robbbert
2009-12-01 10:56:41 +00:00
Phil Bennett
0cd4d21890 Converted cabal, mappy, toypop and zaxxon to use driver_data structure [Atari Ace]
---------- Forwarded message ----------
From: Atari Ace <atari_ace@verizon.net>
Date: Sun, Nov 29, 2009 at 3:28 AM
Subject: [patch] Convert cabal/mappy/toypop/zaxxon to use driver_data
To: submit@mamedev.org
Cc: atariace@hotmail.com


Hi mamedev,

This patch is a resubmit of my earlier patch to have mappy and zaxxon
store their state in driver_data.  It extends the patch to toypop
(which uses some mappy code), and also converts cabal which I also did
some time ago.  cabal.h and toypop.h are new header files.

~aa
2009-12-01 10:56:22 +00:00
Curt Coder
dc5bb22a05 Changed CDP1869 PAL/NTSC signal to use devcb. 2009-12-01 09:04:13 +00:00
Angelo Salese
b29aa316de Fixed priorities, not worth mentioning 2009-12-01 01:58:08 +00:00
Angelo Salese
173377792c Kusayakyu: Fixed sound and tweaked the frequencies in the driver [Angelo Salese]
================================================================================

Taito should explain to me why doing a sound command latch writeable by the 
Sound CPU itself... >_>
2009-12-01 01:51:42 +00:00