Commit Graph

7759 Commits

Author SHA1 Message Date
Phil Bennett
d75d626a43 00660: zoar: The cabinet UPRIGHT dipswitch is not working. [stephh] 2010-01-14 17:31:48 +00:00
Phil Bennett
70c05ee5b2 Verified clocks on Poker Ladies and changed Z80 clock of Mahjong Gakuen from 6Mhz to 8MHz to match the other
Mitchell hardware games [Corrado Tomaselli]
2010-01-14 17:29:50 +00:00
Paul Priest
d8e4571161 Add lots of comments relating to 56-pin Mahjong interface and Psikyo SK-G001 interface pcb based on discussion with alien_mame and documents from other Mahjong PCBs. 2010-01-14 13:52:01 +00:00
Ryan Holtz
8d183da738 Added a mostly-complete SunPlus u'nSP core based on the one in Segher's "Unununium". [Harmony] 2010-01-14 05:35:34 +00:00
Angelo Salese
8c013355f7 Written bare-bones video emulation for the Cyber Tank sprite chip / blitter 2010-01-14 00:02:55 +00:00
Brian Troha
1cac84bddf verified more rom names for the merit.c driver 2010-01-13 22:03:44 +00:00
Aaron Giles
4169b811db Makefile changes:
1. If OSD is not defined, we look for the built-in Windows
environment variable 'OS' and if it is set to 'Windows_NT',
we assume OSD=windows; otherwise we assume OSD=sdl.

2. If TARGETOS is not defined, we look for the same variable
and set TARGETOS=win32 if it is set to 'Windows_NT'.

3. Windows SDL builds have an 'sdl' prefix on the executable
so they can live side-by-side.

The upshot of this is that on Windows systems:

make -> standard Windows build producing mame.exe
make OSD=sdl -> SDL Windows builds producing sdlmame.exe

On non-Windows systems:

make -> SDL build by default (don't need to say OSD=sdl)
2010-01-13 16:27:27 +00:00
R. Belmont
b53bb2c6ac SDLMAME initial import [R. Belmont, Couriersud] 2010-01-13 04:01:20 +00:00
R. Belmont
f8b28bd2f1 Merge makefile with outstanding SDLMAME changes (no whatsnew)
This turns off -Werror on a few OSes and fixes multithreaded version.c building.
2010-01-13 03:49:37 +00:00
Paul Priest
84352b22f3 MT03233: Fix multisession crash in SE3208 affecting crystal.c [anonymous] 2010-01-12 21:26:20 +00:00
Angelo Salese
0b9568ad1c redumped sprite roms [Antonio Gonzalez Jr, The Dumping Union] 2010-01-12 20:59:50 +00:00
Angelo Salese
e46b431fbf Hooked up the two bg tilemaps 2010-01-12 20:17:59 +00:00
Scott Stone
541a6687a0 Fix for agallet fatalerror message: "memory_set_bank called for bank 'bank1' with invalid bank entry 0" (no whatsnew needed) [Fabio Priuli] 2010-01-12 19:25:36 +00:00
Angelo Salese
33f186c1b8 Redumped program roms in Cyber Tank [Antonio Gonzalez Jr.] 2010-01-12 19:21:11 +00:00
Scott Stone
68f092321f Fix assert for prmrsocr + clones - no whatsnew needed [Fabio Priuli] 2010-01-12 17:37:11 +00:00
Angelo Salese
f3d1842bcb Fixed a bogus protection check in Victor 21 [Angelo Salese] 2010-01-12 15:30:52 +00:00
Paul Priest
945a98f0bd Typo, no whatsnew. Thanks Fabio. 2010-01-12 14:40:27 +00:00
Paul Priest
a9baa7b23d Fix for MT00111 - rom region overrun in YMF278B core on loop j=0 of SAMPLE_UPDATE(). Fixes sporadic crashes in many psikyosh games which had been worked around with the exception of gunbird2 which is now also fixed [PsikyoFan]
RB: Feel free to help me correct it if you believe this isn't correct.
2010-01-12 14:31:13 +00:00
Curt Coder
5cdcb8ab63 Added xtal for MESS. 2010-01-12 14:11:14 +00:00
Aaron Giles
1f1672d6cc Enforce that numbers are all the same exact width when loading fonts. 2010-01-12 07:03:11 +00:00
Aaron Giles
470f843262 Within src/emu, basic conversions:
devtag_get_device ... machine->device()
  memory_find_address_space ... device->space()
2010-01-12 06:54:57 +00:00
Aaron Giles
46b81c390e Explicitly allow PAIR and PAIR64 in save states. 2010-01-12 03:32:07 +00:00
Angelo Salese
92db7e71a9 Converted Gunpey to use RGB pens instead of hardcoded palette table 2010-01-11 22:33:01 +00:00
Angelo Salese
30d7972c6a Implemented basic blitter support in Gunpey [Tomasz Slanina] 2010-01-11 21:09:55 +00:00
Aaron Giles
a9c5a5a27e Fixed memory freeing so that is it released in the opposite order
it was originally allocated.

Changed machine->region() to return a pointer to the now-public
region_info class.

Added new member function space() to the device_config, along with
shorter constants to be used (AS_PROGRAM, AS_DATA, AS_IO). With no 
parameters, space() returns the first address space, which is 
commonly the only space present. Updated a few devices that referenced 
the old space[] array to call the new function instead.

Added #define to emualloc to ensure delete can't be freely used.
2010-01-11 18:02:38 +00:00
Angelo Salese
2441940e7a Implemented inputs and sound in Gunpey [Luca Elia] 2010-01-11 17:45:36 +00:00
Angelo Salese
968ef7b835 03649: gekisha: Unknown DIP 4-2 toggles Auto Tsumo after Reach. If it is enabled and declare Reach, MAME crashes. 2010-01-11 13:33:43 +00:00
Phil Bennett
d51770b70f Added the mameconfig version to the -listxml output [Oliver Stoneberg]
---------- Forwarded message ----------
From: Oliver Stöneberg <oliverst@online.de>
Date: Thu, Dec 31, 2009 at 2:45 PM
Subject: mameconfig version in -listxml
To: submit@mamedev.org


This patch adds the mameconfig version to the -listxml output
2010-01-11 12:55:43 +00:00
Phil Bennett
508c8ad7df galaxold update: [stephh]
- Renamed set kkgalax to ckongmc
 - Changed descriptions for ckongg and ckongmc
 - Fixed dip switches and inputs for ckongg and ckongmc
 - Updated ckongmc memory map
2010-01-11 12:36:46 +00:00
Phil Bennett
7304faaece Added a PCM sample end/loop callback to the RF5C68 core [Barry Rodewald]
---------- Forwarded message ----------
From: Barry Rodewald <bsr@xnet.co.nz>
Date: Sat, Jan 2, 2010 at 10:13 AM
Subject: RF5C68 addition
To: submit@mamedev.org


Hi,

Here is a small update for the RF5C68 PCM core.  For the FM Towns MESS
driver, there needs to be some way to tell when a PCM sample has ended
or looped, as the system can generate an interrupt at this point,
usually to end the sample playback on the specified channel.  From the
RF5C68(A) datasheet, there appears to be no obvious way for an IRQ
signal to be sent, so I figure the PCM IRQ setup must be external to
the PCM chip itself.

Thus, I've added a simple callback, which should be called when the
end of a sample is reached, and with a parameter for the device
itself, and the channel on which the sample has ended.

Example of the result, with callback implemented:
http://mahlemiut.marpirc.net/mess_raiden.mp3  (sound effects are done
by the RF5C68, music is CD-DA).

Thanks,
Barry Rodewald
mailto:bsr@xnet.co.nz
2010-01-11 12:24:53 +00:00
Aaron Giles
317da101d8 Try using type_traits for detection of valid save types. 2010-01-11 09:53:25 +00:00
Aaron Giles
51e6cbf6cd Fixed bogus empty ROM region warnings. 2010-01-11 08:42:05 +00:00
Aaron Giles
d51551f303 Fix cheat crash and comment display. 2010-01-11 02:37:17 +00:00
Paul Priest
6605a2e3e5 Fix crash if exit scheduled before cpus ready.e.g. clicking close on window. No whatsnew. 2010-01-10 23:40:01 +00:00
Aaron Giles
bec93ce35b Fix a few stray delete's that didn't pair with global_alloc/auto_alloc.
Fixes "attempt to free untracked memory" in several games.
2010-01-10 22:57:03 +00:00
Aaron Giles
c845d1c4fd sprintf -> vsprintf, oops. Requires a recompile, but at least
fatalerrors will have the right text.
2010-01-10 21:48:28 +00:00
Aaron Giles
567ab7c3c8 Fix typo causing crash in laserdisc games. 2010-01-10 21:32:09 +00:00
mariuszw1
44356408cd New games added or promoted from NOT_WORKING
--------------------------------------------
Multi Game (Tung Sheng Electronics) [Mariusz Wojcieszek]
2010-01-10 20:59:09 +00:00
Aaron Giles
2b23d7c017 Bulk driver.h -> emu.h switch. 2010-01-10 18:00:42 +00:00
Fabio Priuli
ade4b98d4c on behalf of Pierpaolo Prazzoli:
Fix for MT03653: crzrally, crzrallya, crzrallyg: Default high scores are incorrect
2010-01-10 12:52:12 +00:00
Aaron Giles
4498faacd9 First round of an attempted cleanup of header files in the system.
- Created new central header "emu.h"; this should be included
    by pretty much any driver or device as the first include. This
    file in turn includes pretty much everything a driver or device
    will need, minus any other devices it references. Note that
    emu.h should *never* be included by another header file.
 - Updated all files in the core (src/emu) to use emu.h.
 - Removed a ton of redundant and poorly-tracked header includes
    from within other header files.
 - Temporarily changed driver.h to map to emu.h until we update
    files outside of the core.

Added class wrapper around tagmap so it can be directly included
and accessed within objects that need it. Updated all users to
embed tagmap objects and changed them to call through the class.

Added nicer functions for finding devices, ports, and regions in
a machine:

   machine->device("tag") -- return the named device, or NULL
   machine->port("tag") -- return the named port, or NULL
   machine->region("tag"[, &length[, &flags]]) -- return the
      named region and optionally its length and flags
      
Made the device tag an astring. This required touching a lot of 
code that printed the device to explicitly fetch the C-string
from it. (Thank you gcc for flagging that issue!)
2010-01-10 00:29:26 +00:00
Scott Stone
43d93150b5 New Not Working
---------------
Track & Field (NZ Bootleg?) [Siftware, Tafoid]

Comments:  I've set up the roms in the order I believe they should be.  Everything but the maincpu roms mirror that of Track and Field and I have to assume the decryption used for T&F is not the same for this game.
2010-01-09 22:57:47 +00:00
Angelo Salese
a137208ba2 Minor clean-up, no credit wanted 2010-01-09 17:27:53 +00:00
Angelo Salese
f415e6a251 new not working
---------------

Computer Quiz Atama no Taisou [Chack'n, Team Japump]
2010-01-09 13:54:00 +00:00
Fabio Priuli
a55a6af5d8 Fix for suprmrio regression in 0.135u2. goonies seems due to some other issue (I'll investigate this later)
I also made MMC3 emulation the same as MESS, but this is not enough to fix bug 03579 (vsskykid).
2010-01-09 12:37:03 +00:00
Fabio Priuli
cbfecc9d6b Added driver data struct + save states to darius.c & othunder.c
Added driver data struct to ninjaw.c, slapshot.c, warriorb.c, wgp.c

There is still some TC0100SCN issue when reloading, which corrupts tilemap2, hence no save states in the latter drivers atm
2010-01-09 08:36:34 +00:00
Aaron Giles
e338ba361a Compile fix. 2010-01-08 21:57:29 +00:00
Aaron Giles
838b3b13c2 Oops, forgot this. 2010-01-08 17:19:41 +00:00
Aaron Giles
a92de5930c Extended the astring class wrapper into something useful, and
useable as a stack object. Also designed the interfaces to allow
for chaining operations. And added a casting operator to const
char * for seamless use in most functions that take plain old C
strings.

Changed all uses of astring to use the object directly on the
stack or embedded in objects instead of explicitly allocating 
and deallocating it. Removed a lot of annoying memory management
code as a result.

Changed interfaces that accepted/returned an astring * to
use an astring & instead.

Removed auto_alloc_astring(machine). Use 
auto_alloc(machine, astring) instead.
2010-01-08 17:18:54 +00:00
Couriersud
a0a40f8815 Provide location in "attempt to free untracked memory" message 2010-01-08 14:53:52 +00:00