Commit Graph

6575 Commits

Author SHA1 Message Date
Ryan Holtz
3548990629 Fixed carry handling in ADC, ADCI, SBC and SBCI opcodes. Fixes many SNES SuperFX bugs. [Harmony] 2009-09-05 04:34:51 +00:00
Ryan Holtz
652a7ca441 Made numerous corrections to SNES S-DD1 chip emulation, SFA2 and Star Ocean still do not boot [Harmony] 2009-09-05 00:46:41 +00:00
Couriersud
698949fe6a Discrete: Added DISCRETE_INPUT_BUFFER
Added DISCRETE_INPUT_BUFFER to use a stream to buffer an input node.
For input nodes with a lot of writes this prevents a stream_update 
on the whole discrete module which is very ineffective. Instead,
the data is buffered and the discrete emulation can process a lot 
of samples in one go later.
Updated dkong.c to use this instead of using the DAC device.
This change requires a recompile of all files referencing the discrete 
system. A "rm `grep -rl discrete obj/`" should do the trick (at least
on .+nix)
2009-09-04 20:15:48 +00:00
Scott Stone
810c3a67ef Fixed #03422: porter: Missing in-game graphics 2009-09-04 17:46:18 +00:00
Scott Stone
86ae64bcb2 Fixed #03426: wtennis: Missing ball sound 2009-09-04 17:44:56 +00:00
Scott Stone
521ae5e5b3 Cleaned up drivers that write files which are not being actively developed. Also, commented our or changed the printf-ing of some messages to LOGERROR.
Comments:
I did this largely due to the difficulty in running regression testing - scanning the text as it flows to the screen has been becoming increasingly annoying, mostly due to excessive amount of specifc printf's used in some instances.  Putting them into LOGERROR keeps them available and makes them transparent to the normal end user.  As for the files, if a driver is not in active development (it's been over a year on Raiden/Seibu - High Seas Havoc almost 3 years), they shouldn't need to output files.
2009-09-04 16:38:57 +00:00
Michaël Banaan Ananas
b62bb71918 fixed another NULL tilemap crash,
mametesters bug 3421
2009-09-04 13:21:14 +00:00
Curt Coder
1c56a127d5 Added preliminary Zilog Z8 CPU core for MESS. 2009-09-04 12:40:47 +00:00
Ryan Holtz
f09c9059f9 Added a compile-time flag to select between ABI and Manual register names in the MIPS core. [Harmony]
Fixed a MESS-side compile warning in the SNES S-DD1 code. [Harmony]
2009-09-04 11:40:49 +00:00
Ryan Holtz
faf695bfc9 SNES updates: [R. Belmont, Harmony]
- Corrected ROM loading behavior for SuperFX games
- Added more ROM mirroring needed by certain SuperFX 2 games
- Corrected the behavior of certain bit-restricted SuperFX registers.  Doom, Yoshi's Island, Dirt Trax FX and Voxel Demo show things now.
- Improved S-DD1 emulation, neither game using S-DD1 boots yet
2009-09-04 05:00:05 +00:00
Jonathan Gevaryahu
7e1e776505 Add loopback mode and counter/timer modes 3 and 6 to 68681 DUART, self-tests now pass in dectalk in MESS. [Lord Nightmare] 2009-09-04 02:43:24 +00:00
Ryan Holtz
b54790792a Fixed numerous opcodes in the AVR8 core [Harmony]
Fixed a register naming issue in the MIPS core [Harmony]
Numerous SuperFX updates: [Harmony]
 - Hooked up RAM and ROM buffering
 - Inlined several more functions
 - Removed debug spew
 - Added the ability to define an external IRQ line callback, and hooked it up to the 65C816
 - Fixed flag calculation for HIB opcode
 - Hooked SuperFX chip up to the SNES machine driver
2009-09-03 23:53:43 +00:00
R. Belmont
85d9b4decb M377xx: fix CLB/SEB when not in bank 0 2009-09-03 23:21:51 +00:00
Michaël Banaan Ananas
78dd38f508 fixed crash: mametesters bug 3420 2009-09-03 21:10:34 +00:00
Couriersud
73b9245008 03416: bradley: Exits with DISCRETE_ADJUSTMENT_TAG - NODE_88 has invalid tag.
- removed old bzone sound code as well.
2009-09-03 19:19:29 +00:00
Aaron Giles
a0dc0e0196 Added new function mame_fclose_and_open_next() which will close a file
and then keep searching the searchpath for the next valid file. Did some
internal rearranging in fileio.c to make this work.

Changed cheat search so that it loads *all* cheat files in all search
paths. Note that it is easy to end up with duplicate entries this way.
Some currently disabled code is present which filters out duplicates,
but the logic for doing this is quite unclear with the presence of
text-only cheats, which is why the code is disabled for now.
2009-09-03 15:54:07 +00:00
Michaël Banaan Ananas
43b28f89a5 (slightly darker shadows) 2009-09-03 12:34:25 +00:00
Aaron Giles
214379d953 > From: Pugsy [mailto:pugsy@gmx.net]
> Sent: Sunday, August 30, 2009 6:00 PM
> To: submit@mamedev.org
> Cc: upstephh_wip@yahoo.com
> Subject: Added display of cheat comments
> 
> Hi
> 
> One more cheat engine related change. This diff was made against u3
> with the last two diffs I sent
> already applied.
> 
> This patch reintroduces the display of the individual cheat comments,
> in the old cheat engine this
> worked by showing SET,ON or OFF in reverse video to show there was a
> comment available which could
> be displayed by pressing Shift + Enter. I've done things slightly
> different though as I've added a
> display comment key of SPACE along with a different way of showing that
> a comment is available.
> 
> It now works automatically as soon as you move over a cheat with a
> comment it uses popmessage to
> display the comment. As soon as you move or press any key (other than
> space) it nulls the
> popmessage, and by pressing space it will redisplay the comment which
> is handy if the comment is a
> lengthy one.
> 
> To see it in action look at the bottom two cheats in mslug (or any
> neogeo game for that matter).
> 
> Martin 'Pugsy' Pugh
> 
> 
> MAME Cheat File Maintainer http://mamecheat.co.uk
> Gamebase64 Team Member http://www.gamebase64.com
>
2009-09-03 09:15:18 +00:00
Aaron Giles
959fcd6269 From: Pugsy [pugsy@gmx.net]
Sent: Friday, August 28, 2009 5:20 PM
To: submit@mamedev.org
Cc: upstephh_wip@yahoo.com
Subject: Add 'Reload All' to cheat menus

Hi

This update I made against u3 with the last diff I sent already applied. What this does is to add a
'Reload All' option to the cheat menus. This allows you to edit/replace the XMLs and see the changes
quickly, without this patch you have to exit and restart MAME to see any cheat file changes.

Martin 'Pugsy' Pugh


MAME Cheat File Maintainer http://mamecheat.co.uk
Gamebase64 Team Member http://www.gamebase64.com
2009-09-03 09:01:59 +00:00
Aaron Giles
6b159dfd11 From: Sandro Ronco [mailto:sandro.ronco@alice.it]
Sent: Wednesday, August 26, 2009 5:57 AM
To: submit@mamedev.org
Subject: MAME cheat search engine

This is a diff of my cheat search engine with help of Pugsy.  
This is only a first part, not has the same functions of the old search engine, but is better than nothing

I have update the search engine to support search of byte, word, dword
and qword signed and unsigned.
2009-09-03 08:54:11 +00:00
Roberto Fresca
53907cc182 Improvements to Noraut Poker driver...
* Routed the whole video RAM access through PPI-2.
   (bypassed the handshake lines for now).
 * Merged back the noraut machine drivers after the 3rd PPI connection.
 * Added Low Level Hopper manual input.
 * Added a new machine driver for extended hardware.
   It has 2 jumpers that cut the a14 and a15 addressing lines.
2009-09-03 07:34:32 +00:00
Aaron Giles
30161effc7 Fix recent karate champ addition. 2009-09-03 07:18:29 +00:00
Roberto Fresca
9d31bc3cac Cal Omega driver improvements:
* Added Game 7.4 (Gaming Poker, W.Export).
 * Added Game 7.4 proper inputs. Game is now playable with full sound.
 * Updated games list and technical notes.


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Cal Omega - Game 7.4 (Gaming Poker, W.Export) [Roberto Fresca, Team Europe]
2009-09-03 07:04:47 +00:00
Ryan Holtz
a9a3f05218 SuperFX updates: [Harmony]
- Inlined a number of functions for possible speed increase
- Removed some memory buffering cruft, to be re-added later
- Fixed behavior of ASR opcode
- With additional MESS-side changes, Stunt Race FX is playable, and Vortex shows much more.
2009-09-02 23:28:18 +00:00
Couriersud
cbb4decb5d Added some profiling code for discrete tasks 2009-09-02 22:08:25 +00:00
Couriersud
b2edb79562 Cure what I broke with commit 6658 2009-09-02 22:03:13 +00:00
Couriersud
8859b12881 Fix some ugly bugs around DISCRETE_FILTER_SW
- No more iterations
- The CD4066 internal resistance largely determines sound amplitude. This may vary significantly depending on VCC and type (74HC, 74HCV, CD4066, ...). The current choice makes scramble sound "about right".
2009-09-02 21:41:22 +00:00
Scott Stone
84f09a0853 03418: dday: Access Violation after coin insertion [M.A.S.H.] 2009-09-02 17:17:24 +00:00
Tomasz Slanina
e960306efb Fixed a small bug with graphic decoding and removed old comment about bad sound banking.[David Haywood] 2009-09-02 08:44:21 +00:00
Brian Troha
3f57b0ebf1 New clone added: Narc 2.00
As long as I changed the Midway Y-Unit driver I might as well add the outside submission of Narc rev 2.00

New Clones Added
----------------
Narc (Rev 2.0) [Volker Hann, Team Europe]
2009-09-02 00:06:15 +00:00
Brian Troha
7a8c9caca9 New clone added: Mortal Kombat (Turbo 3.1 09/09/93, Hack)
Adds the Y-Unit version of the Turbo Ninja hack.
Renames the T-Unit to mktturbo and the new clone to mkyturbo

New Clone Added
--------------------------------
Mortal Kombat (Turbo 3.1 09/09/93, hack) [Jonathan Hughes, Patrick McCarron]
2009-09-01 23:38:04 +00:00
Roberto Zandona
27583b2e86 different TOD implementation for CIA6526 and CIA8520 2009-09-01 20:27:10 +00:00
Tomasz Slanina
2f40f896a4 Fixed sound banking for Shogun Warriors [David Haywood] 2009-09-01 13:46:27 +00:00
Tomasz Slanina
8dd1566a27 This adds the redumps from Guru. There are no longer any missing graphics (tested until the end)
There are still sound issues, some of the music doesn't play, eg.
the VS. screen music
( see http://www.youtube.com/watch?v=lz4gY9d7uxw )

as noted in the driver, the green garbage on that screen doesn't happen on the real pcb, it's probably an encoding artifact.

Phil, can you look at the music?

New games added or promoted from NOT_WORKING status
---------------------------------------------------
Shogun Warriors / Fujiyama Buster [David Haywood, Tomasz Slanina, Luca Elia]
2009-09-01 10:45:23 +00:00
Couriersud
9927fe153e Fix circus charly slowdowns
- use SOUND_DAC device to "buffer" data and avoid 1 sample updates for discrete part
- this is related to "03401: circusc and clones: Slowdown in attract mode with DIP SW "Demo Sounds=ON"" though I do not consider it a bug, but a implementation optimization.
2009-08-31 23:16:56 +00:00
Scott Stone
f0f36359e9 Simplified decryption functions by working out what each of the bits does and removing game specific references. Re-based the decryption tables as a result. End result is verified to be the same. [David Haywood]
(hopefully this will make finding a relationship between the tables and the 'finalblock' of data easier)

Added redumped u6 GFX rom, fixes Geisya and Sumo [Guru]

(u5 still needs to be redumped, it has the graphics for the final 2 bosses in it, Phil indicated that the sample roms may also need redumping but I haven't checked myself, this could be problematic because the Japanese version uses some different sample roms, but I'm hoping those ones were eproms, not mask ones and are already ok)
2009-08-31 20:47:02 +00:00
Ryan Holtz
64b84113e9 SuperFX fixes: [Anonymous]
- At least partly fixed PLOT and RPIX behavior.  This fixes many gfxs in Star Fox and Vortex, but no polys yet.
2009-08-31 02:53:53 +00:00
Ryan Holtz
8b572ae6f8 SuperFX updates [Anonymous]
- Fixed disassembly of LMULT/FMULT ops
- Fixed reads using LDW/LDB
- Fixed writes using STW/STB
- Fixed SBC carry behavior
- Fixed GETC ROM access behavior
- Some SuperFX games begin to show things in MESS
2009-08-30 22:20:17 +00:00
Tomasz Slanina
c7d93414f2 Shogun Warriors - various fixes
Extracted tables required for Shogun Warriors to work [Tomasz Slanina]
Decrypted + verified table data for Shogun Warriors [David Haywood]
Marked 2 graphic roms in Shogun Warriors as BAD_DUMP [David Haywood]
Temporarily added a hack to the collision function to only use the B.Rap Boys code if the game is B.Rap Boys until we have a single function that works with both [David Haywood]
2009-08-30 19:12:57 +00:00
Pierpaolo Prazzoli
9bde30c59b Battery backed 2KB RAM, fixing the default high-scores [Pierpaolo Prazzoli]
This is a guess, but it has the same problems than the games in sauro.c
2009-08-30 14:54:46 +00:00
Quench
e77505b9a2 Fixes to the PIC16C5x CPU core:
- Indirect addressing was not taking into account special purpose memory mapped locations.
 - 'iorlw' instruction was saving the result to memory instead of the W register.                               
 - 'tris' instruction no longer modifies Port-C on PIC models that do not have Port-C implemented.


Also added difficulty DIP to BigTwin
2009-08-30 14:16:50 +00:00
Roberto Fresca
450fa93d89 Rerouted norautp and norautjp READOUT button to its own place. 2009-08-30 13:43:03 +00:00
Michaël Banaan Ananas
dc585baad1 updated CHD version for popn2 and bmclubmx
mametesters bug ID 03391

use chdman -update old.chd new.chd
2009-08-30 13:09:57 +00:00
Michaël Banaan Ananas
4f4af5ca30 > Shouldn't you also add a return statement?
yes, but it doesn't matter: ifs/cases afterwards would be FALSE anyway
2009-08-30 11:25:29 +00:00
Michaël Banaan Ananas
4bb09d5632 fixed i386 carry/borrow flag in ADC/SBB [Gabriele Gorla]
> -----Original Message-----
> From: Gabriele Gorla [mailto:gorlik@penguintown.net]
> Sent: Saturday, August 29, 2009 5:39 AM
> To: submit@mamedev.org
> Cc: Gabriele Gorla
> Subject: Re: i386: fix carry/borrow flag in ADC/SBB
>
> > the original code implements ADC and SBB as 2 consecutive ADDs.
> > This will not produce the correct result when the carry is generated
> by
> > the first addition as it is overwritten by the second operation.
>
> updated patch, fixes a typo.
2009-08-30 11:19:07 +00:00
Couriersud
cd7f82349c 03025: bzone, bzone2, bzonec: inaccurate sound effects
- Fixes two bugs in DISCRETE_RCDISC3
- motor sound now gradually increasing
2009-08-30 11:03:10 +00:00
Michaël Banaan Ananas
6994d08517 workaround for mingw32 gcc4 compiler crash
Compiling src/mame/video/stvvdp2.c...
src/mame/video/stvvdp2.c: In function 'stv_vdp2_draw_rotation_screen':
src/mame/video/stvvdp2.c:4752: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
mingw32-make: *** [obj/windows/mamed/mame/video/stvvdp2.o] Error 1
2009-08-30 10:04:38 +00:00
Roberto Fresca
e745712bba Improvements to Noraut Poker driver....
* Corrected CPU clock to Xtal/8.
 * Discovered 3 new I/O lines coming from PPI-2, PC0-PC2. They are mixed with the handshake ones.
 * Added the READOUT button to noraut12 games.
 * Splitted the main machine driver to cover 2 different Noraut systems.
 * Added partial support for PPI-2, PC0-PC2 output lines on noraut11 games.
 * Figured out other remaining I/O lines.
 * Added new handlers to simulate the handshake lines. Still need real support through PPI-2.
 * Updated technical notes.
2009-08-30 07:34:29 +00:00
Aaron Giles
4a80c53a8d [from AtariAce]
Hi mamedev,

This patch continues deglobalifying the MAME core, this time targeting
sound.c.  The first two patches adds running_machine to apis in
sound.h that lack it (the first patch is generated by the perl script,
the second patch fixes some cases it didn't handle well).  The last
patch then removes the globals in the traditional way.

~aa
2009-08-30 05:42:33 +00:00
Aaron Giles
6953873e13 From: Luigi30 <luigi30@gmail.com>
Date: Sun, 23 Aug 2009 10:09:43 
To: submit@mamedev.org<submit@mamedev.org>
Subject: Clones


Found some ROM dumps on the internet that MAME didn't recognize.

kchampa - Karate Champ (US, set 2) - kchamp.c (renamed Karate Champ
(US) to Karate Champ (US, set 1))
strongx - Strong X (Strategy X bootleg) - scobra.c
2009-08-30 02:05:57 +00:00
Aaron Giles
81d248c448 MSVC compile fixes. 2009-08-30 02:04:21 +00:00
Brian Troha
d5ff15d825 Color bprom verified correct Royal Card Pro v2
The bprom for Royal Card Pro v2.0 was verified correct as the current driver listed.  Originally the bprom wasn't dumped and one was used from another set.
2009-08-30 01:59:58 +00:00
Couriersud
0e2be31ad9 03073: scorpion, scorpiona, scorpionb: Sound Missing
03075: explorer: Sound Missing
- Added entries to TO DO list for both
2009-08-30 00:33:10 +00:00
Couriersud
03fefdfb6b - Fix comments for DISCRETE_TRANSFORM
- FatalError if formula is bad
2009-08-30 00:04:36 +00:00
Scott Stone
d35f5fcda6 Further MCU progress for Shogun Warriors [David Haywood]
(NOTE:  Apologies if this ruins your previous cleaning, Aaron.  The previous machine/kaneko16.c I posted just minutes before you made the version snap didn't have the Shogun improvements).
2009-08-29 23:44:40 +00:00
Aaron Giles
5df39c5473 Cleanups and version bump. 2009-08-29 23:18:28 +00:00
Scott Stone
a86f8758fc Simulation corrections made in machine/kaneko16.c which allow brapboysj to be played to the end. [David Haywood] 2009-08-29 23:17:17 +00:00
Aaron Giles
f0ba9131eb osd_is_bad_read_ptr is no more. 2009-08-29 22:53:40 +00:00
Roberto Fresca
4d657d4bde More improvements to Noraut Poker systems [Roberto Fresca]
* Fixed the coin counters.
 * Documented all the output ports.
 * Added a scheme with descriptions for every existent port.
 * Added full lamps support to naroutp, naroutjp, naroutrh and naroutpn.
 * Created lamps layouts for 11 and 12-lamps scheme.
 * Rerouted some inputs to mantain the inputs layout.
 * Renamed some inputs to match the text with the real cab buttons.
 * Removed the imperfect colors flag from the existent sets.
 * Added 2 different control panel layouts to the source.
 * Updated technical notes.
2009-08-29 22:42:31 +00:00
Couriersud
304cd58528 Discrete tasks now support multiple task output nodes
- See galaxian for example
2009-08-29 22:27:45 +00:00
Aaron Giles
3de780ea8a Usage for unidasm now dumps the available achitectures. 2009-08-29 22:07:55 +00:00
Aaron Giles
1173ae9493 Fixed dependencies for the 57002dasm 2009-08-29 21:54:42 +00:00
Scott Stone
04c771f751 Change to priorities to fix some visibility problems. [David Haywood] 2009-08-29 19:59:00 +00:00
Couriersud
1955450c39 discrete sound system
- use DISCRETE_INPUT(_num) instead of (*(node->input[_num]))
2009-08-29 19:40:02 +00:00
Brian Troha
eb801be6cb Documentation update for Demon Front (IGS) in pgm driver
Added a note about this game also being sold /produced in a single PCB version as verified in an eBay auction.
2009-08-29 19:10:46 +00:00
Couriersud
68d94c232d discrete sound system
- some more "list-ification"
- No more constraints on number of input and output nodes
- input nodes now make use of a context

Some of these changes are needed to introduce "internally buffered" input nodes going forward. These will use an internal stream to buffer all inputs so that stream_update will always calculate 20ms of samples.
2009-08-29 18:30:19 +00:00
Brian Troha
98a7eb3c8d Update documentation for Mega Tech driver
# 61 is Turbo Outrun verified via eBay auction
2009-08-29 18:08:10 +00:00
Michaël Banaan Ananas
cf5c25408f battery backed 2KB RAM [ Pierpaolo Prazzoli]
(generic_1fill btw, not generic_0fill)
2009-08-29 15:59:23 +00:00
Ryan Holtz
23dd52a582 SuperFX changes: [Anonymous]
- Fixed overflow flag calculation on ADDI / ADCI
- Fixed lack of register reset after ADD / ADC / ADDI / ADCI
2009-08-29 10:00:14 +00:00
Ryan Holtz
0915000ffa SuperFX updates: [Anonymous]
- Disabled RAM/ROM clocking, going with instant transfer for now
- Understood and re-enabled pipelined instruction architecture, Star Fox runs farther
- Fixed a ridiculous typo in ROL instruction
2009-08-29 04:28:36 +00:00
Scott Stone
10e1405a96 Follow up submission to clean lines I commented out 2009-08-29 03:20:04 +00:00
Scott Stone
d3b76c4ee5 Corrected memory mapping for goindol.c which corrects graphic and input problems mentioned in MT Bug #3412 2009-08-29 03:12:33 +00:00
mariuszw1
fb612d74df New games added
-----------------------------------
Billiard [Alexander Stakhanov, CaH4e3, Black1972]
2009-08-27 19:41:37 +00:00
Scott Stone
52464c274c Small spelling correction to a DIP assignment 2009-08-27 17:46:36 +00:00
Tomasz Slanina
183b2b082b Added eeprom support to the B Rap Boys protection simulation [David Haywood] 2009-08-27 08:57:11 +00:00
Ryan Holtz
25d5307394 SuperFX core updates: [Anonymous]
- Corrected carry flag behavior in ROL opcode
- Corrected BRA target address calculation (maybe still wrong)
- Corrected LOOP target address calculation
- Made sure that FROM sets cpustate->sreg_idx
2009-08-27 04:47:58 +00:00
Ryan Holtz
67fc4827bb Multiple SuperFX updates: [Anonymous]
- Added LSR and ROL opcodes
- Updated instructions to use the safer superfx_gpr_write: LOOP, PLOT, INC, DEC
- Added missing register writeback to LMS
2009-08-27 01:59:38 +00:00
Brian Troha
704d8a0678 adds dip port location to B.Rap Boys and a little documentation about the effects of the difficulty settings. 2009-08-27 01:21:29 +00:00
Brian Troha
7fff4eb48c minor clean up in dipswitches for meritm.c driver 2009-08-27 00:48:41 +00:00
Tomasz Slanina
5660e8f546 Brap Boys Improvements
- Redumped GFX Roms [Guru]
- Added hitbox simulation based on suprnova / game requirements [Tomasz Slanina]
- Converted MCU writes to use write_byte [David Haywood]
- Added kludge to reset MCU data write address to prevent game from running out of ram and crashing [David Haywood]
- Added DSWs [David Haywood]

New games added or promoted from NOT_WORKING status
---------------------------------------------------
B.Rap Boys / B.Rap Boys Special [David Haywood, Tomasz Slanina, Luca Elia]
2009-08-27 00:25:52 +00:00
Roberto Fresca
fe91ae78f4 Sigma Poker: Fixed duplicated definition of Hold 2 button. Added the missing Hold 3 button. 2009-08-26 23:55:25 +00:00
Phil Bennett
1b2f0fc326 This time, it works... 2009-08-26 23:46:02 +00:00
Phil Bennett
c4bfc4f5f8 Fixed B-Rap Boys sound banking [Phil Bennett] 2009-08-26 23:32:54 +00:00
Ryan Holtz
3988c109d5 Forgot a file 2009-08-26 21:21:03 +00:00
Ryan Holtz
a74320aeca Removing CX4 support until the license situation can be verified and corrected as necessary. [no whatsnew] 2009-08-26 21:20:40 +00:00
Brian Troha
0813bcd771 A few corrections for the meritm.c driver
Corrected one rom name for Mega Touch 6 set
Added dip port locations
Corrected dips for the 2 Pit Boss Megastar sets
Improved the dips for Pit Boss Supertouch 30
Minor information / documentation updates
2009-08-26 21:19:16 +00:00
mariuszw1
7d6584543a Added ds1204 key to PitBoss Megastar, game is playable now. 2009-08-26 17:04:07 +00:00
Michaël Banaan Ananas
9fc4b3b203 on behalf of couriersud 2009-08-26 10:48:03 +00:00
Roberto Fresca
cab82331c5 More improvements to Noraut Poker driver [Roberto Fresca, Alan Griffin]
* Executed a trojan on 2 noraut systems to confirm the way 16x32 tiles are decoded.
 * Fixed the x-offset for 32x32 tiles lines.
 * Fixed the screen aspect and visible area.
 * Confirmed correct colors. No bipolar PROM involved.
 * Added Noraut Joker Poker hardware and PCB layouts.
 * Documented the discrete audio circuitry. Added a full diagram.
2009-08-26 07:57:51 +00:00
Ryan Holtz
4e3a2c0e17 Argonaut SuperFX core: [Anonymous]
- Improved disassembler to more gracefully handle ALT* opcode effects.
- Corrected instruction behaviors: STOP, SUB, SBC, SUBI, CMP
2009-08-26 06:29:36 +00:00
Brian Troha
de010b8c55 New clone added (currently not working): Pit Boss Megastar (newer)
The following driver updates: [Brian Troha]

Corrected rom names for the Megastar & Supertouch 30
Added missing rom to Supertouch 30 and verified old bad_dumps
Added documentation about the Megastar sets
Made pbst30b a clone of pbst30 and added program versions to the name, IE: Pit Boss Supertouch 30 (9234-10-01)

New Clone Added
-------------------------
Pit Boss Megastar (9244-00-01) [Brian Troha, Dumping Union]
2009-08-26 01:02:14 +00:00
Couriersud
dd836ed4d5 Discrete sound parallel tasks
Introduced DISCRETE_TASK_START, DISCRETE_TASK_END

DISCRETE_TASK_START
- Start a new task. A task is a set of nodes which only depend on input nodes and nodes in the set

DISCRETE_TASK_END(task_output_node)
- Marks the end of the task. task_output_node is the node whose output over time should be preserved. This node can be accessed by nodes in the main thread.

Order of execution:
a) All tasks in parallel
b) All nodes not part of a task. These may only refer to nodes listed in DISCRETE_TASK_END

Illustrated the concept in the dkong discrete emulation. This also has been enhanced to buffer DAC output. 

Further changes:
- DISCRETE_OUTPUT now is a stepping node.
- DISCRETE_STREAM_INPUT now advances input pointer in step.
- More linked_list usage.

I estimate that the rework without tasks leads to a 5% performance gain. For dkong, the usage of tasks adds another 15%.
There are some features missing:
- Multiple nodes in DISCRETE_TASK_END
- More task consistency checks
- Task identifiers for tasks
2009-08-25 23:29:31 +00:00
Phil Bennett
05730aa0a1 New clones added
----------------
Mortal Kombat Turbo Ninja (rev 3.1 T-Unit 03/19/93, hack) [MK3Fan - Mike]
2009-08-25 22:29:41 +00:00
Phil Bennett
d4613afd72 Added correct U2 sound ROM to the mk3 sets [MK3Fan - Mike] 2009-08-25 17:40:46 +00:00
Tomasz Slanina
aabad6fbc9 kaneko16 updates
Decoded all protection data for B.Rap Boys [David Haywood, Tomasz Slanina]
Cleaned up decryption function for B.Rap Boys external Rom [David Haywood]
Improved video emulation for B.Rap Boys [David Haywood]
Marked several GFX roms as bad on B.Rap Boys [David Haywood]
Improved protection simulation logic w/regards to writeback addresses, allowing B.Rap Boys to boot [Tomasz Slanina]
2009-08-25 12:09:30 +00:00
Yasuhiro Ogawa
f90b3596b3 fixed ROM name (verified on real board) 2009-08-25 00:16:31 +00:00
Michaël Banaan Ananas
7e2794ad21 Fixed IM2 interrupt cycles [eke]
http://www.mameworld.info/ubbthreads/showthreaded.php?Cat=&Number=199853&page=0&view=expanded&sb=5&o=&fpart=1&vc=1
I don't know this z80 emulator well enough to look into his first two points. Juergen?

1/ In the cc_xy[] table which lists instructions with DD or FD prefixes, "illegal" combos are returning 4 cycles when they should return 4 + cc_op (the normal instruction being executed). Another way to handle this correctly is to call EXEC(z80,fd,xx) or EXEC(z80,dd,xx) instead of op_xx(z80) when such pair of opcode is detected, to be sure the correct amount of cycles is used.

2/ According to Sean Young, R register is NOT incremented when chaining multiple DD or FD prefixes: [...]

This one was already fixed, dunno when:
2/ In the cc_ed[] table, INI (ED A2) and IND (ED AA) should return 16 cycles, like other instructions from this group, not 12. This seems to be a typo error.
2009-08-24 11:57:26 +00:00
Michaël Banaan Ananas
c269fb3d32 (small cleanup) 2009-08-24 11:12:55 +00:00
Michaël Banaan Ananas
164b4e4261 fix NULL timers crash 2009-08-24 10:49:12 +00:00
Michaël Banaan Ananas
c0a2f5b6f6 added crosshairs 2009-08-24 07:20:24 +00:00
Brian Troha
b8d397d031 New game: Great Football (Mega-Tech, SMS based)
Not working (100% correctly) like all games in the Mega-Tech Mega-Play driver

New Game Added
-------------------------------------
Great Football [Kevin Eshbach, Charles MacDonald, Smitdogg, Dumping Union]
2009-08-24 03:14:02 +00:00
Ryan Holtz
89d4356142 Improved some aspects of SuperFX emulation, Star Fox now executes SuperFX code, but does not stop. [Anonymous] 2009-08-24 01:57:02 +00:00
Brian Troha
1e238433e4 adds comment / documentation about 2 games coming on compact flash in the Taito G-Net driver. 2009-08-24 01:52:54 +00:00
Brian Troha
7aaa4d5f79 New clone added: Kollon (Compact Flash version)
New Clone Added
------------------
Kollon (V2.04JC)  [Joerg Hartenberger, Frank Berlt]
2009-08-24 01:43:43 +00:00
Roberto Fresca
9d0e437ccd Switched the code to load an external default NVRAM for Noraut Joker Poker. 2009-08-24 00:27:36 +00:00
Couriersud
c2f7c33479 discrete.c: fixed a state saving bug 2009-08-23 19:11:39 +00:00
Couriersud
20caff1c3b Discrete work - this one needs a full recompile
- change the way custom modules are handled
- updated drivers mario and dkong accordingly
- minor change to stream input handling
- no more linear lists for nodes. All node processing switched to linked lists.
- module step and reset now only get a node pointer passed
- Added discrete_info * pointer to node
- Only nodes with a step routine actually get processed.
- Fixed a bug: discrete logs did not work since some time
- preliminary parallel task constants; depending on results these may vanish again.
- Overall slight performance increase. dkong 940% to 960%, galaxian 740% to 790%
2009-08-23 19:04:41 +00:00
Luca Elia
dc0df4572e tmaster.c update [Luca Elia]
- implemented carts banking and multiple EEPROMs
- added "pen replacement" blit mode
- fixed palette size

New games added or promoted from NOT_WORKING status
---------------------------------------------------
Galaxy Games StarPak 2 [Luca Elia, Siftware]
2009-08-23 18:22:46 +00:00
Ryan Holtz
eb25141647 Fixed a handful of SuperFX core bugs. Star Fox begins to run code. [Anonymous]
Over to you, Kale...
2009-08-23 15:19:30 +00:00
Ryan Holtz
2618dfaabc Hooked up Branch instructions in the Argonaut SuperFX core. [Anonymous] 2009-08-23 08:23:09 +00:00
Ryan Holtz
a820e450c3 Fixes the build. 2009-08-23 08:10:51 +00:00
Ryan Holtz
76a4664cb9 Implemented basic Argonaut SuperFX support, needs to be hooked to the SNES driver. [Anonymous] 2009-08-23 08:06:50 +00:00
Roberto Fresca
055946db2b ...Forgot some comments... 2009-08-23 03:37:26 +00:00
Roberto Fresca
5736feff4d Added a default NVRAM for Noraut Joker Poker, otherwise the message 'F U' is displayed on screen and a combination of simultaneous inputs is needed to bypass it. Currently we can't handle 4 simultaneous inputs due to the phisical keyboard limitation. 2009-08-23 03:29:37 +00:00
Aaron Giles
2128210d76 Ok, disassembler is implemented with basic functionality. 2009-08-22 23:31:02 +00:00
Roberto Fresca
31d85e814f Added an extra DIP switch to Noraut Red Hot Joker Poker.
Also added DIP locations to the whole bank.
2009-08-22 22:18:06 +00:00
Couriersud
520c130148 02191: wseries, basebal2, dblplay, strkzone: Speech quality regression
- The dac enable lines are not reset by hardware. They are only controlled by ay8910 output ports.
2009-08-22 21:02:39 +00:00
Michaël Banaan Ananas
604f213729 unnecessary (dangerous) type conversion in comparison with ioc_timercnt being UINT32 2009-08-22 20:50:22 +00:00
Scott Stone
a39fe7846c Fixed redundancy in clock speed assignments in some drivers by cleaning all divided by 1 (/1) instances. 2009-08-22 20:43:31 +00:00
Olivier Galibert
26dee2df8e Fix the i386 disassembler duplication. 2009-08-22 19:55:33 +00:00
Michaël Banaan Ananas
52ab73d4de thepit.c: improved colors in funnymou, suprmous, machoumou
(fixes http://www.mametesters.org/view.php?id=2608 )
2009-08-22 17:25:57 +00:00
Roberto Fresca
bd92820d44 Improvements to Noraut Poker driver...
* Switched to pre-defined Xtal clock.
 * Changed the way how graphics are banked/accessed.
 * Fixed the graphics offset and number of tiles per bank.
 * Added new set: Noraut Red Hot Joker Poker.
 * Added new set: Noraut Poker (NTX10A).
 * Added new set: Noraut Joker Poker (V3.010a).
 * Fixed the tile size/decode for the first GFX bank.
 * Added proper norautrh inputs, including the readout button.
 * Added partial DIP switches to norautrh.
 * Added more technical notes.

Also fix Mantis 03284.


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Noraut Red Hot Joker Poker [Roberto Fresca, Alan Griffin]


New games marked as GAME_NOT_WORKING
------------------------------------
Noraut Poker (NTX10A) [Roberto Fresca, Alan Griffin]
Noraut Joker Poker (V3.010a) [Roberto Fresca, Alan Griffin]
2009-08-22 17:10:35 +00:00
Roberto Fresca
267d560d67 Added a POKER_BET general input definition.
This is needed to mantain the standard inputs layout in the poker games.
You'll need a clean compile after this addition.
2009-08-22 16:57:12 +00:00
Aaron Giles
ad5f236d45 Fix the makefile. 2009-08-22 14:04:38 +00:00
Aaron Giles
f474114e1d Added infrastructure to compile universal standalone disassembler:
- added unidasm to the tools build
 - split the disassemblers out of libcpu and into new libdasm
 - ensured the disassembly entry points for all disassemblers are
    in the source file for the disassembler (sometimes new generic
    versions were created)

Still needs command line options and file loading, but the 
fundamentals are present, and it links.
2009-08-22 06:25:07 +00:00
Ryan Holtz
b99862230d Ported Capcom CX4 implementation over from bsnes. Mega Man X2 and X3 are now playable in MESS, with bugs. [Anonymous]
Please credit as anonymous.
2009-08-22 06:12:10 +00:00
Angelo Salese
d5ea019fe8 [SNES]: Fixed half colour blending behaviour 2009-08-22 00:35:34 +00:00
Nathan Woods
80f0e5be81 Sync with MESS 2009-08-21 22:30:58 +00:00
Couriersud
0978f15208 Battle Zone discrete sound & discrete sound additions
- added discrete sound to battle zone
- engine frequency (resistor R11) can be changed with slider
- discrete sound may be disabled by setting BZONE_DISCRETE to 0 in bzone.h

DISCRETE_RCDISC3
- added diode junction voltage 
- junction voltage also indicates polarity

DISCRETE_OPAMP_FILTER
- added type DISC_OP_AMP_FILTER_IS_LOW_PASS_1M
- INP2 takes role of v_ref in this type

DISCRETE_OPAMP
- Fixed a bug (possible divide by 0)

DISCRETE_LFSR
- Fixed bug preventing output of shift reg to sub node 1
2009-08-21 20:55:04 +00:00
Phil Bennett
2ed96fd12f Added Dirt Dash wave ROM redumps [Guru] 2009-08-21 16:58:34 +00:00
Michaël Banaan Ananas
cc2717d847 workaround for driftout http://www.mametesters.org/view.php?id=3356 2009-08-21 16:10:09 +00:00
Curt Coder
fb98a61886 Added helper macros for input lines tied to GND/Vcc. 2009-08-21 13:05:08 +00:00
Curt Coder
b2dcbb3b68 Intel 8085:
- refactored callbacks to use devcb
- added 8080A variant
2009-08-21 08:19:17 +00:00
Aaron Giles
ac3d58fad5 Cleanups and version bump. 2009-08-21 01:52:51 +00:00
Aaron Giles
2e64cfa8f3 > From: David Haywood [mailto:neohaze@nildram.co.uk]
> Sent: Thursday, August 20, 2009 4:20 PM
> Cc: Aaron Giles
> Subject: Re: Brap Boys progress
> 
> Last one for tonight.  I'm sending these because I have no idea when
> the
> next source update will be and I'd prefer it to be as up to date as
> possible so that this info can't be lost.
> 
> We're almost half way there as far as decrypting brapboysj tables is
> concerned, however, we still need to better understand how the
> protection device uses them.
> 
> These all apply against a clean SVN, not the previous patches I sent.
> 
> David Haywood wrote:
> > more progress in decrypting the tables.
> >
> > David Haywood wrote:
> >> current progress, 2 extra tables decrypted.
> >>
> >>
> >> David Haywood wrote:
> >>> Further work on the decrypting of tables from the ROM.  Added a
> >>> status table of the data I've decrypted, data I have to study etc.
> >>>
> >>> David Haywood wrote:
> >>>> Missed an 'else' sorry, wasn't decoding the table correctly.
> >>>>
> >>>> David Haywood wrote:
> >>>>> here's another which will decrypt table 0x19 for brapboys.  (use
> >>>>> this instead of previous)
> >>>>>
> >>>>> I guess I need to understand something else like where it REALLY
> >>>>> writes the table data, or some other maths related ops, because
> it
> >>>>> just does a trap #0 to an infinite loop and then watchdog resets
> >>>>> now without requesting any more tables than the ones I've
> >>>>> decrypted.  I'll work on decrypting the rest of them tho, as we
> >>>>> have a trojan that can supply whatever tables we request, however
> >>>>> understanding how to use them is becoming more important.
> >>>>>
> >>>>> David Haywood wrote:
> >>>>>> this decrypts table 11 (ugly ... but correct compared to the
> >>>>>> extracted data which is included for verification at this point)
> >>>>>>
> >>>>>> I may send newer versions as more tables are decrypted,
> depending
> >>>>>> on progress.  This is so that nothing gets lost, and can be
> >>>>>> included.
2009-08-21 01:26:24 +00:00
Aaron Giles
f65cad4a5a Verified and added correct xtals values for cps1 boards.
Added correct xtal and divisor for OKI6295 taken from Forgotten Worlds 
schematics

[Corrado Tomaselli]
2009-08-21 01:25:14 +00:00
Aaron Giles
10492cc57f > From: Xander [mailto:xander85@operamail.com]
> Sent: Sunday, August 16, 2009 1:53 AM
> To: submit@mamedev.org
> Subject: bug 3389 diff
> 
> Fixed bug 3389
> 
> Xander
2009-08-21 01:24:03 +00:00
Aaron Giles
88c58d8998 Verified clocks + Vsyncs on Downtown, Caliber 50 and Xmen (2-4 players)
Changed to mono both Downtown and Caliber 50: these pcbs don't have a 
stereo connector.

Regarding the conversion to mono, I would like to know if it's good to 
lower the output of the channels to 0.50 if each channel was previously 
1.0 in stereo.

[Corrado Tomaselli]
2009-08-21 01:22:44 +00:00
Aaron Giles
0ca9cd3553 > Here a MAME patch to implement transparent mode access for some 6845
> model sy6845.
> I tested it under my MESS z80ne driver.
> I don't know any other system using transparent access mode.
> 
> src/emu/video/mc6845.c
> 
> 
> Best Regards
> Roberto Lavarone
2009-08-21 01:21:33 +00:00
Phil Bennett
48bac4be7b [Minor]
Added dirtdash to mamedriv.c
Unbroke Aqua Jet
2009-08-20 23:38:52 +00:00
Angelo Salese
14aeb37220 [SNES]: added OBJ interlace support 2009-08-20 19:53:05 +00:00
Wilbert Pol
dd46ee883a Added support TMS1000 family models TMS1000/1070/1100/1200/1270/1300.
Added support for configuration of output PLA to the tms0980/tms1000 interface.
2009-08-20 19:15:30 +00:00
R. Belmont
d49a0062f8 Naomi update [R. Belmont, Deunan Knute, Alex, Mr. Mudkips, Frank Bukor]
- Use new dump for ic31/32, ROM board test passes now
- Add protection hookup for Marvel vs. Capcom 2, game is playable w/sound

I'm not removing GAME_NOT_WORKING because I don't trust the Naomi emulation
in general that much yet, although I was able to coin up and play (slowly ;-)

Dump is uploading.
2009-08-20 18:25:42 +00:00
R. Belmont
4750c6b9d5 Rearranged ROM mapping for xtrmhnt2, game boots now and complains about
missing network board.
2009-08-20 17:07:34 +00:00
R. Belmont
dc647ff3b2 New games marked as GAME_NOT_WORKING
------------------------------------
Dirt Dash (Rev. DT2) [Guru]


Olivier, this one's all yours.  It pretty much nukes the existing video h/w
emulation but maybe you'll have better luck with it on your rewrite.
2009-08-20 16:52:58 +00:00
Andreas Naive
a2abce1d74 Added decryption key for Extreme Hunting 2. [Andreas Naive] 2009-08-20 16:43:44 +00:00
Brian Troha
d256a29ba3 New clone added: Samuria Shodown II (Korea)
New Clone Added
----------------------------------------
Saulabi Spirits / Jin Saulabi Tu Hon (Korean release of Samurai Shodown II) [Guru / David Haywood]
2009-08-20 03:27:59 +00:00
Yasuhiro Ogawa
b329b86272 taito_z DIPSW fixes [kanikani] 2009-08-20 00:43:38 +00:00
R. Belmont
6106e6bae4 mcs51: fix GCC 64-bit warning 2009-08-19 20:48:21 +00:00
Michaël Banaan Ananas
611e566967 Fixed insignificant 'file not found' compile error when using windows cmd.
It was (still is) fine on msys
2009-08-19 17:53:53 +00:00