Commit Graph

6691 Commits

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