Commit Graph

7538 Commits

Author SHA1 Message Date
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
R. Belmont
5dc02c1d32 Fix assert on valid 68k variant. (no credit necessary) 2009-12-01 01:41:41 +00:00
R. Belmont
dc4860e8c3 Naomi: add protection data for Sega Tetris [Andy Geezer] 2009-12-01 01:07:44 +00:00
Fabio Priuli
883dd6f1fd Added driver data struct and save states to: gberet.c, ddrible.c, gaelco.c, trackfld.c, hyperspt.c, yiear.c
Added driver data struct to: galivan.c, jailbrek.c, sbasketb.c
2009-11-30 21:19:55 +00:00
Scott Stone
efb9b61b6c Hooked up cocktail (P2) fire button so that it can be used in-game and in test mode.
Comments:
Corrected long-standing issue in Tron where the cocktail fire button never worked at all or was always held down.  Work still needs to be done with the 10 position dip which isn't properly hooked up yet.
2009-11-30 20:28:38 +00:00
Angelo Salese
6caf4d0608 Kusayakyuu: fixed color prom hook-up, tilemap color offsets and tilemap flipping [Angelo Salese] 2009-11-30 19:09:20 +00:00
Aaron Giles
b5c3081f3e Cleanups and version bump. 2009-11-30 01:46:32 +00:00
Aaron Giles
6967cdf013 From:CD-i Fan
I found that it needs to be slightly different if you want correctly
terminated audio streams:

		/* add up the samples */
		if (channelsamples > chunksamples)
			file->info.audio_numsamples = stream->samples += chunksamples;
		else if (channelsamples > 0)
			file->info.audio_numsamples = stream->samples += channelsamples;

Otherwise extra silence will be counted at the end of the audio stream.
Not really that big an issue but a bit sloppy...
2009-11-30 00:51:05 +00:00
Aaron Giles
93671925bd Memory regions now use a tagmap for lookups. 2009-11-30 00:48:31 +00:00
Fabio Priuli
9694fca5f2 Added save states to funybubl.c, galaxi.c, gaiden.c and rocnrope.c
Added driver data struct to fuukifg2.c and fuukifg3.c (no save states yet due to anonymous timers)
Also, added more devices to dkong driver data (to minimize # of cputag_xxxx calls)

As a side note, now drgnbowl (one of the worst game ever) supports saves! enjoy :-P
2009-11-30 00:03:05 +00:00
Angelo Salese
6dd4c78bcd Joker's Wild: implemented bare minimum to allow it to go into gameplay and fixed tilemap graphics [Angelo Salese] 2009-11-29 23:00:22 +00:00
Angelo Salese
8be42ffeeb Joker's Wild: bypassed the rng test [Angelo Salese] 2009-11-29 21:54:34 +00:00
Angelo Salese
d638e3b6b3 hng64: implemented screen disable when the visible area regs are equal to zero and fixed back layer [Angelo Salese] 2009-11-29 20:39:09 +00:00
Brian Troha
47af70d471 Figured out 2 dipswitch setting for Sigma Submarine (sub.c), Demo Sounds and Cabinet. 2009-11-29 19:34:38 +00:00
Brian Troha
85a220b9a4 New clone added: Super Puzzle Fighter II Turbo (Hispanic 960531)
Please disreguard the previous "Not Working" submission of the same in the what's new.  Thank you!

New Clone Added
--------------------------------
Super Puzzle Fighter II Turbo (Hispanic 960531) [Artemio Urbina, David Haywood]
2009-11-29 18:09:25 +00:00
Aaron Giles
be41f9036b Make use of AM_BASE_SIZE_MEMBER macros. 2009-11-29 04:06:34 +00:00
Fabio Priuli
6446f7ffa5 same as 7449 (less cputag calls during emulation and no generic sizes for struct elements) for a few remaining drivers
both changes are not really worth mention in the whatsnew, imho
2009-11-29 01:57:36 +00:00
Fabio Priuli
1a309ff78b Cleaned up many driver data structs to obtain two results:
* drop almost completely the use of generic sizes with struct members 
* reduce as much as possible accesses to cputag calls during emulation (they are now mainly concentrated at MACHINE_START & DRIVER_INIT)

unfortunately I had been away for half a day and I have found only now rev 7446 (which could have been used in many of these cases). too late to use the new macro, sorry (almost 3AM here)
2009-11-29 01:49:13 +00:00
Tomasz Slanina
796b597e06 New games added or promoted from NOT_WORKING status
---------------------------------------------------
Iron (SNES bootleg) [Tomasz Slanina, Volker Hann & Team Europe]
2009-11-29 01:09:07 +00:00
Phil Bennett
960f3b1d7a Added missing includes for r7445 2009-11-28 23:26:25 +00:00
Aaron Giles
6895fc3b66 Added AM_BASE_SIZE_MEMBER() macro for specifying both base and size
structure members at once. Updated all cases where this could be
used.
2009-11-28 19:41:12 +00:00
Aaron Giles
90560a421d From: Atari Ace <atari_ace@verizon.net>
Date: Sat, Nov 28, 2009 at 5:49 PM
Subject: [patch] Eliminate spriteram3
To: submit@mamedev.org
Cc: atariace@hotmail.com


Aaron's patch to move the generic pointers into machine conflicts with
a patch I'd worked on some time ago to start eliminating those globals
altogether, so I've become motivated to finally submit it ;-).  This
patch eliminates spriteram3, which unlike the other spriteram
variables, is only a convenience for some drivers.

~aa
2009-11-28 19:33:18 +00:00
Brian Troha
bd4199f31c New clone added (not working): Super Puzzle Fighter II Turbo (Hispanic 960529)
This one needs a decrypt key.

WARNING: Due to the small size of encrypted code and the requirements of the key finding code, this set may never have a key.  Haze tried and ran the key exctractor for 25 hours with "no key found"...  Nicola or Andreas will have to work this one over.

New Clone Added
--------------------------------
Super Puzzle Fighter II Turbo (Hispanic 960529) [Artemio Urbina]
2009-11-28 18:42:08 +00:00
Phil Bennett
a6dc556396 Fixed i386 REP prefix to use segment:SI when address size is 16-bit (ie: when using OUTSB or OUTSW). [Barry Rodewald]
---------- Forwarded message ----------
From: Barry Rodewald <bsr@xnet.co.nz>
Date: Sat, Nov 28, 2009 at 6:55 AM
Subject: Another i386 fix
To: submit@mamedev.org


Hi,

Small fix this time.  This fixes an issue with the FM Towns version of
MS-DOS where it was feeding nonsense parameters to the CD-ROM
controller.  MS-DOS uses REP OUTSB to send the parameters, and I
noticed that the expected data was not what was sent to the I/O port.
Looking at the i386 code, I saw that it always used segment:ESI,
regardless of address size.  This fix makes it use segment:SI when
address size is 16-bit (ie: when using OUTSB or OUTSW).

Patch is based on 0.135u1.

Thanks,
Barry Rodewald
mailto:bsr@xnet.co.nz
2009-11-28 18:26:43 +00:00
Phil Bennett
07d42fe3d9 New clones added
----------------

Wizard of Wor (with German Language ROM) [Volker Hann]
Gorf (program 1, with German Language ROM) [Volker Hann]


---------- Forwarded message ----------
From: David Haywood <neohaze@nildram.co.uk>
Date: Fri, Nov 27, 2009 at 10:52 AM
Subject: Re: new dumps
To: klaus@hotsummer.at, Philip Bennett <p.j.bennett@gmail.com>


new clones
------------

Wizard of Wor (with German Language ROM) [Volker Hann]
Gorf (program 1, with German Language ROM) [Volker Hann]
2009-11-28 18:20:45 +00:00
Phil Bennett
e58f69f66c New games marked as GAME_NOT_WORKING
------------------------------------
Iron Commando (SNES bootleg) [Volker Hann & Team Europe]


--------- Forwarded message ----------
From: David Haywood <neohaze@nildram.co.uk>
Date: Thu, Nov 26, 2009 at 11:34 PM
Subject: Re: new dumps
To: Klaus Sommer <klaus@hotsummer.at>, Philip Bennett <p.j.bennett@gmail.com>


It dosen't work as a rom-swap (boot vector probably needs to be
different at least, maybe swaps, haven't checked against the snes
version)

New NOT WORKING
-------------------------

Iron Commander (SNES bootleg) [Volker Hann & Team Europe]
2009-11-28 18:06:54 +00:00
Phil Bennett
b6072ef38c New clones added
-----------------
X-Men (4 Players ver EBA) [Irongiant]
2009-11-28 17:59:00 +00:00
Angelo Salese
d168f1b8c0 hng64: Start to document 3d / framebuffer video registers, implemented a quick hook-up that fixes Buriki One 3d model colors minus one case [Angelo Salese] 2009-11-28 17:33:46 +00:00
Angelo Salese
723bf8dfe3 hng64: implemented dynamic visible area [Angelo Salese] 2009-11-28 15:54:30 +00:00
Roberto Fresca
c682f844d4 * Renamed kimblejp to kimbldhl. Changed game description to Kimble Double Hi-Lo.
* Added specific memory map & machine driver to Kimble Double Hi-Lo.
 * Fix the Kimble Double Hi-Lo CPU type.
 * Added notes about the code obfuscation and PPI's handling/offsets.

Aaron: Please, in the New games marked as GAME_NOT_WORKING,
change the line: "Kimble Joker Poker [Roberto Fresca, Alan Griffin]"
to: "Kimble Double Hi-Lo [Roberto Fresca, Alan Griffin]"
2009-11-28 13:14:35 +00:00
Phil Bennett
26bbf78480 03553: extdwnhl: Game does not start [Phil Bennett] 2009-11-28 13:11:22 +00:00
Aaron Giles
5e643c1251 Purged remaining globals from video/generic.c and audio/generic.c 2009-11-28 08:31:22 +00:00
Aaron Giles
6bfe172c78 Removed global videoram, colorram, paletteram, and spriteram.
Added equivalent pointers to machine->generic. Updated all
references.

Now that accessing these is more awkward, it is probably best
to put these pointers in the driver data structures instead
of using the generic pointers. The main reason to continue
using generic pointers is to allow use of paletteram shortcuts
and buffered spriteram handling.
2009-11-28 03:06:46 +00:00
Fabio Priuli
b716ea8271 Added driver data struct to freekick.c
Also (but no need to mention it), removed some SMH_RAM occurrences in fitfight.c and fixed regression I caused in bowlrama (capbowl.c)
2009-11-27 23:31:21 +00:00
Fabio Priuli
6ab509cb8d Added driver data struct and save states to fitfight.c, flstory.c and funkybee.c
Also, added driver data struct to flyball.c and merged video emulation
2009-11-27 22:15:46 +00:00
Curt Coder
abb8ad1fb6 Actually use the speaker interface if provided. 2009-11-27 13:11:19 +00:00
Curt Coder
a2e82426fe Intel 8255A: clear input latch after reading it 2009-11-27 13:10:50 +00:00
Phil Bennett
aa14c5764e New clones added
----------------

Cannon Ball (bootleg on Crazy Kong hardware) (set 3, no bonus game) [Volker Hann, Team Europe]


From: David Haywood <neohaze@nildram.co.uk>
Date: Wed, Nov 25, 2009 at 1:57 PM
Subject: Cannon Ball bootleg
To: Philip Bennett <p.j.bennett@gmail.com>


this one has the bonus round ripped out to avoid the protection
check.... of course that introduces it's own visual glitches, but
bootleggers will be bootleggers and I guess not crashing was more
important ;-)

new clones
-----------

Cannon Ball (bootleg on Crazy Kong hardware) (set 3, no bonus game) [Volker Hann & Team Europe]
2009-11-27 12:24:11 +00:00
Phil Bennett
1430bdc1a2 Temp fix for namcos23.c validity check warning 2009-11-27 12:10:39 +00:00
Fabio Priuli
832b946cc5 Added driver data struct and save states to btime.c and scregg.c 2009-11-27 10:09:27 +00:00
Fabio Priuli
5ea417d583 Added driver data struct and save states to fantland.c and firetrap.c
Added driver data struct to dcheese.c
2009-11-27 10:08:26 +00:00
Fabio Priuli
7e6ff401f5 Added driver data struct to dday.c
Unfortunately, if you load a save state too early the game starts with no sound. For the moment, no SUPPORT_SAVE flag, but the game goes in my list of drivers which needs a second look. Feel free to step up and fix saves, if you like
2009-11-27 00:44:28 +00:00
Fabio Priuli
6379e9c903 Added driver data struct to bwing.c and slightly simplified the video code (by removing a couple of redundant variables).
More work would be needed to fully clean it up, but I'm not expert enough right now.
2009-11-27 00:42:04 +00:00
Angelo Salese
792adf6a07 On behalf of Dave, added tc ram popmessage debug logging 2009-11-27 00:40:29 +00:00
Fabio Priuli
330341d5e3 Added driver data struct and save states to the following drivers: chinagat.c, esd16.c, f-32.c, fcombat.c, finalizr.c.
Also, added driver data struct to ddragon.c, ddragon3.c and fgoal.c

fgoal.c suffers of pending timers and hence no save state flag
2009-11-27 00:30:00 +00:00
Aaron Giles
cdd9d7c757 Introduced a generic_pointers structure within machine that is
designed to hold generic pointers that are commonly used. For
now, only generic_nvram has moved there. Added AM_BASE_GENERIC
and AM_SIZE_GENERIC macros for initializing generic pointers
in memory maps. Also added AM_BASE_SIZE_GENERIC to set both
base and size in one step.

Moved global variables out of machine/generic and into a private
data structure hanging off of the running_machine. Added newly-
needed machine parameters to coin_counter_w, coin_lockout_w, and
coin_lockout_global_w. Also added machine parameter to 
set_led_state.

Added interface functions to get the number of dispensed tickets
and to increment the count, to remove the need for direct access
to these global variables. Also added functions to get the
current count on a particular coin counter and to determine the
lockout state.

Future checkins will move the remaining generic pointers (for
paletteram, videoram, spriteram, colorram, etc.) into the new
generic_pointers structure.
2009-11-26 23:43:19 +00:00