Commit Graph

2726 Commits

Author SHA1 Message Date
Roberto Fresca
1ed1bcaf7f Added "Mad Zoo" from Bordun International. Also added a PCB layout to the driver.
New games marked as GAME_NOT_WORKING
------------------------------------
Mad Zoo [Roberto Fresca]
2008-09-01 01:10:27 +00:00
R. Belmont
2db405979c [ARM7] Remove unnecessary hooks so MRC and MCR disassemble properly. 2008-08-31 20:30:29 +00:00
R. Belmont
ea2944f2a4 [M377xx] - Fixed: 8-bit I/O port reads no longer cause bogus reads of neighboring ports. 2008-08-31 20:29:08 +00:00
Nicola Salmoria
c35d83a32b Corrado confirms the bootleg gwar pcb has the rotary connector so added it back. Changed the default to be joystick only, though, and removed code duplication.
Fixed jcross cabinet dip switches.
2008-08-31 20:16:40 +00:00
Andrew Gardner
8a5c4544b9 The meager beginning of "The big IO_MAP merge of 2008". (Andrew Gardner)
Since I touch up a couple of things and test each driver after the automated merge, it still takes a few minutes for each file.  More IO_MAP merges will trickle in over the next few days.

It's likely not worth writing every driver in the whatsnew.txt, since there will be ~100.
2008-08-31 16:27:20 +00:00
Roberto Fresca
1071e33c6c Improvements to galaxi driver...
- Added Magic Joker.
- Fixed the 3rd background offset to Galaxi.
- Remapped inputs to match the standard poker games.

New games added or promoted from NOT_WORKING status
---------------------------------------------------
Magic Joker (v1.25.10.2000) [Roberto Fresca]
2008-08-31 16:00:19 +00:00
Andrew Gardner
7bc95cc72b Minor: Fixes a typo in Crusin' readme and removes some more unnecessary comments in raiden2.c. 2008-08-31 13:52:31 +00:00
Nicola Salmoria
f379f78d04 removed rotary joystick option from gwarb. The bootleg board doesn't have the rotary joystick input. 2008-08-31 11:37:01 +00:00
Roberto Zandona
f162f9d2f4 fixed game name in mamedriv 2008-08-31 09:23:58 +00:00
Couriersud
c6b0fc01f4 dkong.h update for 2724 2008-08-31 08:24:24 +00:00
stephh
5d9da35053 Fixed Dip Switches and Inputs for 'aso', 'alphamis', 'arian' (same as 'alphamis'), 'tnk3', 'tnk3j' (same as 'tnk3') and 'athena'. 2008-08-31 06:29:20 +00:00
Brian Troha
87b7671ce0 removed duplicate info
changed most speeds to "xtal_xxMHz" define

corrected Battle Battle Bakraid Z80 clock based on readme info
2008-08-31 05:05:22 +00:00
Brian Troha
8cc373d4af removes "game_no_sound" from the 2 Hotrod games (in segas24.c) as all 3 seem to have the same sound capabilities. 2008-08-31 03:31:42 +00:00
Brian Troha
4612562b65 updated some info in segas24.c based on email from T.Fujita.
Only disk / rom names are updated.

Memory maps and dipswitch setting not updated.
2008-08-31 03:17:26 +00:00
Andrew Gardner
c53d8e49d0 Adds Cruis'n USA and new Raiden DX/2 readme. Cleans up some documentation in raiden2.c Renames "Raiden DX (set 2)" to "Raiden DX (Tuning license)", and renames ROMs to match the actual PCB.
Please credit Guru.
2008-08-31 01:38:54 +00:00
Couriersud
ee123f7bf9 dkong.c: S2650 based games consolidated
* consolidated memory maps for S2650 based games
* renamed handlers to s2650_*
* joined protection handlers
2008-08-31 00:19:08 +00:00
Couriersud
767150940d mario.c: Use mcs48 banking for ea line 2008-08-30 17:59:45 +00:00
Couriersud
287bc79dfc mcs48.c: Use banking to handle ea line.
* Adds MCS48_INTERNAL_ROMBANK define to header
* Drivers which need to control the ea line have to initialize banking for internal/external rom

This is not yet optimal but works as expected with existing drivers and modified mario.c
2008-08-30 17:59:06 +00:00
Andrew Gardner
48a89981b6 Preparing some MDRV_CPU_IO_MAP calls for automated memmap replacement.
(not worth putting in whatsnew)

Please note, this does touch mario.c and dkong.c (two drivers which are currently undergoing modifications), but it does so unobtrusively.  I also asked the proper parties before committing.

All games are tested and working after this patch.
2008-08-30 17:31:34 +00:00
Roberto Fresca
9af87ebaf3 New working driver for older InterFlip gambling games. [Grull Osgo, Roberto Fresca] 2008-08-30 17:08:26 +00:00
Couriersud
8ffc355ac5 changed sound cpu type in saiyugb1 to I8748 2008-08-30 13:13:45 +00:00
Roberto Zandona
12c7449332 remove a wrong return (my mistake) 2008-08-30 13:06:15 +00:00
Roberto Zandona
84a4a49bab implementation of the possibility to use a normal joystick or a rotary joystick in gwarb
this fix mantis 02035
2008-08-30 13:01:43 +00:00
Roberto Zandona
b3b0ed90c8 used the full good archive for airtrix 2008-08-30 08:47:31 +00:00
smf-
f9c3a99d26 Fixed 00596. Applied an offset to the steering wheel and remove it when reading, to work round the removal of signed analogue input ports. 2008-08-30 08:06:51 +00:00
Brian Troha
f36bfb578b corrects rom names for Egg Venture (A.L. Release) from my copy-n-paste issue. 2008-08-30 06:37:23 +00:00
Brian Troha
ecc61617cb added Egg Venture (A.L. Release)
New clones added
----------------
Egg Venture (A.L. Release) [The Guru]
2008-08-30 06:29:46 +00:00
Andrew Gardner
9585b9cb50 Added EggVenture readme to lethalj.c.
Please credit Guru.
2008-08-30 03:57:51 +00:00
Couriersud
b6cce9110a mario.c: Fix USE_8039 conditional compile 2008-08-30 00:43:26 +00:00
Couriersud
7d6a80c480 mcs48: EA line / MB8884
* MB8884 is a I8035 ==> 12 addr, no internal rom map
* EA line high: external access - this is "default"

The whole EA implementation is as Aaron named it, cheeky. EA=1 external rom access, EA=0 internal rom access.
But all variants are treated the same, i.e. for i8035, MB8884, I8039, the external rom is used in the same
way as the internal.
2008-08-30 00:36:56 +00:00
Couriersud
322e67afbb dkong/dkongjr: use MB8884 as sound cpu / verified on schematics 2008-08-30 00:29:18 +00:00
Couriersud
299fc7ec1a mcs48.c: Write p1 and p2 on reset
These ports are actually ports which sink current on logical 0. With a logical 1, they are in high impedance mode and may be read. The high impedance is treated as logical 1 by TTL gates connected to them.
2008-08-29 22:52:26 +00:00
Derrick Renaud
bd39d9e8c9 Started removing extraneous enable lines from the discrete modules. Most modules are always enabled anyways. 2008-08-29 20:38:31 +00:00
Derrick Renaud
d900cdd023 Optimized DISCRETE_555_CC
Fixed bug in my recent DISCRETE_MIXER update.

Note: the DISCRETE_MIXER bug caused most of the speed increase of its optimization and caused some games to crash.  Donkey Kong is now at 14% faster on my machine then when I started.  Better then nothing.
2008-08-29 06:22:12 +00:00
Aaron Giles
c3f7d110df 02174: dkongjr and clones + mario and clones + pestplce: Music speed regression 2008-08-29 06:01:09 +00:00
Brian Troha
baf68b6e10 adds redumped roms for the Bubble Symphony (bootleg with OKI6295) set 2008-08-29 01:21:11 +00:00
Brian Troha
4a86fab61e added updated information about Sorcer Striker and moved Fix Eight bootleg PCB layout down by the roms like the other layouts in the driver 2008-08-29 01:15:58 +00:00
Derrick Renaud
70d2f4ebff Optimized DISCRETE_555_ASTABLE_CV and DISCRETE_MIXER.
For those keeping score dkong was at 268% on my computer before I started optimizing.  It now runs at 342%.  The 555 and mixer changes also speed up just about every current discrete game.
2008-08-29 01:10:24 +00:00
Derrick Renaud
ae10d3987a Optimized DISCRETE_RCINTEGRATE and DISCRETE_555_ASTABLE. 2008-08-28 20:58:05 +00:00
Derrick Renaud
e5fbac92cf Optimized DISCRETE_RCDISC_MODULATED.
Added X_TALs to circus.

Donkey Kong now runs 10% quicker on my machine.
2008-08-28 17:40:49 +00:00
Aaron Giles
a2caa558e2 Cleanups and version bump. 2008-08-28 15:26:11 +00:00
Roberto Fresca
32d55f53b0 Improvements to magic10.c driver:
- Added Magic's 10 version 16.15
- Remapped all inputs to match other poker games.
- Added a missing input to Magic's 10 games.


New clones added
----------------
Magic's 10 (ver. 16.15) [Roberto Fresca]
2008-08-28 12:14:34 +00:00
Aaron Giles
b554d33448 From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Subject: few more patches

Hi,

enclosed please find a few patches:

TV_1.diff -> TV_4.diff: clean up of input ports for drivers starting with T,U,V

eeprom.diff: some remaining eeprom_bit_r made CUSTOM_PORT

stv_fix.diff: a small missing bit in my previous stv fix for bug 650. this patch assumes the previous has been applied and removes duplication of button 4 also from batmanfr (somehow I think I sent an outdated version of stv.diff previously)

That's all folks

     Regards,

         Fabio
2008-08-28 08:53:17 +00:00
Aaron Giles
f8f9678387 From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Monday, August 25, 2008 8:16 AM
Subject: [patch] Remove useless backslashes

Hi mamedev,

I've been using pmd 4.2.2 to analyze the MAME codebase for duplicate
code, and it's C parser complains about useless backslashes and
dangling defines in #if...#endif sections.  Here's a patch that fixes
this, and additionally fixes one real bug, a string in djmain.c was
malformed, it's curious it compiled.

~aa
2008-08-28 08:50:34 +00:00
Aaron Giles
66a19bd16b From: jeaw100@york.ac.uk [mailto:jeaw100@york.ac.uk]
Sent: Monday, August 25, 2008 1:45 AM
To: submit@mamedev.org
Subject: Stepper motor changes

Updated stepper motor code to use a MAME-style config interface, rather 
than a load of setting functions. Changed optic functions to use clearly

defined start and end points. Added standard layout for Starpoint units 
used in many machines. Updated all affected drivers.


PS. At one point, I was led to believe that the UPD sound chip would
have 
support for its messaging pins added, is this still pending (I have Phil

B's old source here if it's needed). Such support would prove very
useful 
for AGEMAME as many of the drivers in that that use that chip rely on it

for timing.
2008-08-28 08:48:56 +00:00
Aaron Giles
5299bac187 From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Subject: another small revised patch

After Fujix's new findings, I realized that the coinage settings 
for ckongg were still not completely correct after my previous 
patch galaxold.diff. The attached new patch (diff'ed from clean 0.127) 
fixes the Coinage dips at last. Sorry for the possible confusion.

Regards,
    Fabio
2008-08-28 08:48:20 +00:00
Aaron Giles
04303e0b3f From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Subject: more patches
Hi,  

enclosed please find the following patches:

spaceinv.diff : this is an important patch. Please revert (if applied) 
my previous fix to bugs 2143 & 2144. It was wrong. This is the correct 
fix for those two bugs and many other issues not reported on MT (e.g. 
spaceatt, spaceat2 not starting because tilted, missing dips in many 
invaders clones etc). Basically, in 8080bw.c all the "DSW0" input ports 
should have been "IN2" for invaders_map to work correctly, and no 
additional "IN2" is necessary. After this fix, you may want to change 
all the "IN2" occurrences 8080bw.c and in mw8080bw.c with "DSW" since 
they mostly are dips. But the latter is a cosmetic change, so it's up 
to you decide if it's worth or not (the patch leaves "IN2").

avgdvg.diff : this correctly fixes avgdvg_done usage without using a 
parameter, but using IPT_ACTIVE_LOW where needed (I'm a bit ashamed 
because I should have thought to that since the beginning).

galaxold.diff : this changes ckongg coinage inputs to fix bug 2154. 
Notice anyway that coinage settings in dips do not correspond to the 
numbers which appear on screen. This is probably due to the conversion 
to galaxian hardware (e.g. it's shown the value of coin2, but in ckongg 
there is no coin2 at all, so the appearance of the coin 2 value has no 
meaning). Notice also that an unused dips sets the possibility to play 
in 2 or not. I defaulted this to 1 player because setting "2 players" 
automatically gives 2/4 credits with a single coin, which I don't think 
it was the default back then ;) 

However, perhaps ckongg is worth further analysis when it will be 
updated to the new galaxian driver.

stv.diff : this patch fixes the longstanding bug 650 (duplicated P1 
button 4). After testing all sets which reach the test mode, I found 
out that only batmanfr uses the button4 in port "P1", while all other 
games with more than 3 buttons use the one in "EXTRA". Therefore I made 
the "P1" 4th buttons a specific batmanfr input.

patch01.diff, patch02.diff, sys1.diff : these patches simplifies input 
ports in the remaining driver starting with S (plus a few small changes 
to other drivers I forgot previously), using PORT_INCLUDE, AM_READ_PORT 
& converting 'fake' 8bit ports to full 16/32bit ports  where suitable

Let me know if something fails to apply, or if there is any other problem
2008-08-28 08:46:52 +00:00
Aaron Giles
951ab24aaa From: Christophe Jaillet [mailto:christophe.jaillet@wanadoo.fr]
Subject: Profiler related #2 (v2)
Hi, this a revised version of a patch I sent yesterday.

This one is much more cleaner, and the speed improvement is now significant
enough to come out of the profiling noise.
More over, this one compiles correctly... ;-)

Best regards,
Christophe Jaillet
2008-08-28 08:41:56 +00:00
Aaron Giles
a27dbe428a Namco NB 1/2 work.
Shares the memory with the c75.
    Renames the c75 region to c7x from user4.
    Implements the c75 reset/halt control.
    Implements the irqs more correctly.

[From OG]
2008-08-28 08:38:42 +00:00
Aaron Giles
727c8323df From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Subject: fix for MT 2135
This bug dates back to the introduction of the world parent set of rtype. 
Finally spotted and (easily) fixed in the attached patch. 

Regards,

    Fabio
2008-08-28 08:37:18 +00:00
Aaron Giles
8959f89d1a Revert change 2597 2008-08-28 08:29:56 +00:00
Aaron Giles
c71fbfc625 Changed slider controls into a menu. For now, removed the old direct access
mechanism; instead, you must access the sliders via the main menu. While in
the menu, you can use the ~ key to turn off the menu display and leave only
the bar display, in order to see more of the screen.
2008-08-28 08:25:06 +00:00
stephh
375ccafb6c Fixed Dip Switches and Inputs for 'jcross' and 'sgladiat'.
There's a remaining unknown Dip Switch in 'sgladiat' though (DSW2:7).
2008-08-28 00:36:59 +00:00
R. Belmont
dfdc8efc09 Fixed missing / causing major non-compiling. 2008-08-27 20:35:09 +00:00
Nicola Salmoria
f03d10d335 merged jcross.c into snk.c
fixed fg layer and visible area
the game seems to be ok now? is there still something wrong?
2008-08-27 13:39:09 +00:00
Nicola Salmoria
36c88b32dd merged sgladiat.c into snk.c
fixed shadows, visible area, tilemaps, inputs, etc.
00228: sgladiat: Emulation is missing some enemy sprites that are present on the pcb.
2008-08-27 08:57:20 +00:00
R. Belmont
dae4b631d7 SH4, Naomi, and Hikaru updates [Samuele Zannoli]
- Fixed SH-4 core to support multiple SH-4s
- Fixed LDCSR instruction
- Fixed SH-4 I/O ports
- Skeleton Hikaru driver with memory maps and both SH-4s
- Fixed JVS/Maple translation so Naomi 2 BIOS runs
2008-08-27 02:22:58 +00:00
R. Belmont
bfd0b53638 Fixed 64-bit GCC compile error. 2008-08-27 02:16:38 +00:00
Aaron Giles
cd299d9f8e Significant cleanup/rewrite of the MCS-48 CPU core:
* removed redundant and unused definitions from header file
 * renamed constants and functions to be MCS48* prefixed
 * re-verified all opcode behaviors and timing
 * changed illegal opcodes to count 1 cycle to avoid infinite loops
 * changed EA behavior so that it is a push from the driver instead of a pull on each opcode fetch 
    (this may change further in the future). 
 * reimplemented IRQ generation and timer behavior according to documentation
 * updated all drivers accordingly
 * fixed several uses of PULSE_LINE, which no longer works
2008-08-26 22:58:45 +00:00
Nicola Salmoria
8f409d6809 removed unused range from memory map 2008-08-26 19:23:12 +00:00
Nicola Salmoria
4ecbf842e9 Added new function tilemap_set_pen_data_offset().
While this isn't 'free' as tilemap_set_palette_offset() is (when the offset changes, the pixmap cache needs to be invalidated), it helps removing some redundant code from drivers.

Updated snk.c and snk68.c to take advantage of the new function.
2008-08-26 18:40:12 +00:00
Nicola Salmoria
dba36cfa30 moved ASO from hal21.c to snk.c
removed hacks, fixed bg color
2008-08-26 15:48:48 +00:00
Pierpaolo Prazzoli
aa70fd956a Changed Trivia Quest clocks based on some really old information 2008-08-26 13:45:26 +00:00
Nicola Salmoria
69d2176d95 snk.c rewrite (finished)
TouchDown Fever / Fighting Soccer
00870: tdfever: The siren sound keeps going off. I've got the pcb on the way to Guru if that helps any.
2008-08-26 10:49:42 +00:00
Aaron Giles
7f8e52388e 02147: Annoying behaviour of highlighted entries in minimal UI 2008-08-26 04:43:47 +00:00
Aaron Giles
ba60161f97 i8039 -> mcs48 2008-08-26 04:38:50 +00:00
Aaron Giles
6ccd121185 02159: cubeqst: Cubequest asserts on ATI hardware w/ prescale > 1
Added 1:1 fallback if surface creation fails at prescale values. Changed
prescale logic to create prescale target surfaces as ARGB for YUY2 
sources. Forced the use of render-to-texture over StretchRect for YUY2
sources.
2008-08-26 04:38:29 +00:00
Pierpaolo Prazzoli
dd914fb758 Decrypted Mahjong Shuang Long Qiang Zhu 2 and Mahjong Super Da Man Guan 2 2008-08-25 20:13:21 +00:00
Couriersud
96d622b677 rendersw.c: Added more comments
* fix clamping bug introduced by my last update
2008-08-25 20:10:08 +00:00
Roberto Zandona
58be08f089 fix TSY instruction in M4510 cpu (used in MESS) 2008-08-25 19:32:46 +00:00
Aaron Giles
3d339e51f7 Changed i8039 core to use the data address space for internal RAM.
Register access is still performed using direct memory accesses,
but the pointers are fetched through the memory system. Now you can
see i8039 RAM in the debugger. Added internal memory maps of the
appropriate size so that drivers don't need to declare this RAM.

Added a number of variants from the MCS-48 family as it was not
clear which variants had what capabilities. All documented variants
now have internal memory maps for internal ROM and RAM. Removed
memory maps from drivers using embedded ROM/EPROM/OTPROM since
they are defined by the core now.

Added some initial logic to boot and run the PR-8210 ROM (i8049)
in ldplayer.c. Currently this is disabled behind a compile-time
switch. Once this is working, the plan is to incorporate this into
the existing PR-8210 emulation, but we're not there yet.
2008-08-25 15:32:14 +00:00
Aaron Giles
4db67471be MSVC fixes. MSVC cannot handle offsetof(struct, member[index]); once an
array is involved, it seems to think it is not a constant expression.

Added MDRV_DEVICE_CONFIG_DATA32_EXPLICIT() macro which takes an explicit
size and offset. Changed MDRV_DEVICE_CONFIG_DATA32() to be built off of
this macro. Added MDRV_DEVICE_CONFIG_DATA32_ARRAY() and
MDRV_DEVICE_CONFIG_DATA32_ARRAY_MEMBER() which do explicit computations
of the offset to work around MSVC's problems.

Replicated these changes for DATA64 and DATAPTR macros. Updated latch8.h
to use the new macros.
2008-08-25 15:13:48 +00:00
Pierpaolo Prazzoli
8e44428b07 Used Nicola simplified formulas for Mahjong Man Guan Cai Shen decryption
Decrypted Mahjong Long Hu Zheng Ba 2 (set 1) and (set 2)
2008-08-25 15:05:01 +00:00
Andrew Gardner
4868576d3c Typo fixed in Simpsons readme. 2008-08-25 14:18:00 +00:00
smf-
8fc5baaaab Improved dip switch emulation in zn.c, ram hacks to get games booting are no longer required.
Added gun emulation for judge dredd.
Fixed judge dredd ide emulation when building with visual studio.
Mapped primal rage 2 inputs
Mapped player 3 & 4 inputs for 1 on 1 government, these are now the default with the 6 button inputs only mapped for games that need them.
Converted AT28C16 to a device.
Added preliminary support for devices to load/save nvram.

New games added or promoted from NOT_WORKING status

Super Football Champ (Ver 2.5O)
Super Football Champ (Ver 2.4J)
Magical Date / Magical Date - dokidoki kokuhaku daisakusen (Ver 2.02J)
Fighters' Impact (Ver 2.02O)
Judge Dredd (Rev C Dec. 17 1997)
Judge Dredd (Rev B Nov. 26 1997)
2008-08-25 09:52:26 +00:00
Andrew Gardner
aa4d5b369e Adds readme for The Simpsons.
Please credit Guru.
2008-08-25 05:38:36 +00:00
Couriersud
5e6fdaec16 Slight optimization of ycc_to_rgb 2008-08-24 23:41:46 +00:00
Couriersud
4d444b5b4a latch8: Renamed MDRV_LATCH8_MASK and added MDRV_LATCH8_INVERT
* renamed MDRV_LATCH8_MASK to MDRV_LATCH8_MASKOUT to clarify meaning
* Added MDRV_LATCH8_NOSYNC to specify which lines do not reed a cpu sync
* Updated drivers

The MDRV_LATCH8_NOSYNC is not used in dkong.c. All latches need synchronization
because at least one line does need a cpu synchronization.
2008-08-24 17:39:06 +00:00
Pierpaolo Prazzoli
04dd24b41d Simplified Mahjong Man Guan Cai Shen decryption (maybe there were some fixes too) 2008-08-24 13:18:17 +00:00
Roberto Zandona
65a96e4f7a some fix for m4510 core 2008-08-24 11:55:22 +00:00
Roberto Zandona
bfc0c6a5b2 some fix for m4510 core:
- banking in read and write operations
- jsr and jsrx instruction
2008-08-23 10:00:59 +00:00
Roberto Zandona
73e2b28ee0 updated memory map 2008-08-22 21:43:47 +00:00
Couriersud
e972cc1644 dkong & friends: Use new latch device
* adds new latch device where appropriate
* increased accuracy since now all main/sound cpu communications are properly latched
* removed quite some code as a consequence
* minor cosmetic edits
2008-08-22 21:29:11 +00:00
Couriersud
d8d031e8d3 Adds new generic latch device
8 bit latch interface and emulation
    
    Generic emulation of 74LS174/175, 74LS259 and other latches.
    Apart from providing synched latch operation, these
    latches can be configured to read their input bitwise from other
    devices as well and individual bits can be connected to
    discrete nodes.
    
    Please see audio/dkong.c for examples.
2008-08-22 21:25:49 +00:00
Couriersud
85e674d7fb 02142: centipdb, magworm, millpac: No Sound
* adjusted output volumes
2008-08-22 20:27:42 +00:00
Nicola Salmoria
06f9e52292 02150: spacegun: Missing crosshairs 2008-08-22 19:41:55 +00:00
Nicola Salmoria
5a14b6f516 snk.c rewrite (WIP)
fixed sprite-sprite priorities
2008-08-22 18:55:28 +00:00
Roberto Zandona
c4e22005eb removed a printf 2008-08-22 18:47:28 +00:00
Roberto Zandona
2b5bea71f4 some cleanup 2008-08-22 18:45:19 +00:00
Nicola Salmoria
c45d9ff0cd snk.c rewrite (WIP)
Chopper I
2008-08-22 18:15:52 +00:00
Nicola Salmoria
ec31b1d659 snk.c rewrite (WIP)
Psycho Soldier
the usual drill, nothing special about this
2008-08-22 17:19:09 +00:00
Nicola Salmoria
a87f670330 snk.c rewrite (WIP)
Bermuda Triangle / World Wars
removed ROM patches
simulated "turbo front" check
renamed bermudao->bermudaj
clarified the relationship between the four sets
made World Wars a main set instead of a clone of Bermuda Triangle
tliemaps, proper memory maps, inputs, etc.
2008-08-22 12:32:58 +00:00
Couriersud
9ff05871dc discrete.c: Added save state for node->output
* Ensures that input nodes survive save states
2008-08-22 11:05:21 +00:00
Pierpaolo Prazzoli
2443be6c3c Changed some decryptions in igs_blit.c to use program roms loaded byteswapped
Fixed vector table decryption in Mahjong Man Guan Cai Shen
2008-08-22 10:37:34 +00:00
Derrick Renaud
8a8e197eae added Discrete Sound for Starship 1. I still need to properly emulate the MC3340. 2008-08-22 03:51:26 +00:00
Aaron Giles
c50b07d391 From: john_rieman_la@yahoo.com [john_rieman_la@yahoo.com]
First of all thank you thank you thank you for all the hard work :-)

If I find that MAME is listing the wrong joystick type for a game where 
should I report it?

Journey (journey) and Domino Man (domino) are both listed as 8-way, but 
the manuals for both games show them being 4-way (they both have the 
exact same joystick as Ms. Pac-Man).


Parts manuals:

Domino Man

http://arcarc.xmission.com/PDF_Arcade_Bally_Midway/Domino_Man_Parts_and_Operating_Manual_(Nov_1982).pdf

Journey

http://arcarc.xmission.com/PDF_Arcade_Bally_Midway/Journey_Parts_and_Operating_Manual_(May%201983).pdf
2008-08-22 02:48:19 +00:00
Aaron Giles
2861244974 Author: Olivier Galibert <galibert@pobox.com>
Date:   Thu Aug 21 11:31:19 2008 +0200

    Outrun irq fix
   
    The level 6 irq happens only when both irq2 and irq4 line are active,
    not when either is, obviously.
2008-08-22 02:46:24 +00:00
Aaron Giles
7521888dd7 Added PR-8210 support to the ldplayer. Fixed step forward command on the PR-8210.
02136: cubeqst: from minimal UI cubeqst requires the optional CHD 
02127: xymg: The game name should be Xing Yun Man Guan and "Pin Yin:"should be omitted 
02138: flamegun: Debugger/Cheat System upper case cpu tag of MAIN doesn't work 
02139: In audio/system16.c, there is a reference to REGION_SOUND1 
02133: chindrah: The title of Zhong Guo Long?(Hong Kong,V011H) is Dong Fang Zhi Zhu(Hong Kong, V011H) 
02126: corrupt CHDs are reported as missing
2008-08-22 02:43:32 +00:00
Pierpaolo Prazzoli
ba5fd30bf8 Decrypted Mahjong Man Guan Cai Shen 2008-08-21 21:33:06 +00:00
Nicola Salmoria
5d2cd5732f snk.c rewrite (WIP)
Guerrilla War
tilemaps
proper memory map
input, dip locations, etc.
2008-08-21 16:08:26 +00:00
smf-
2eed0ee804 got aero fighters special out of test mode and made it the parent. 2008-08-21 12:25:30 +00:00
Nathan Woods
ef062182ce Fixed problem that would cause the "Return To Prior Menu" menu item to not stick
if one is calling ui_menu_reset() with UI_MENU_RESET_REMEMBER_POSITION, and that
menu item is selected
2008-08-21 11:26:37 +00:00
Roberto Fresca
a211e37694 Bells and whistles to Game-A-Tron gambling hardware.
After an exhaustive analysis to the unknown writes, finally figured out the missing sound device.

 - Added sound support to "Poker 4-1" and "Pull Tabs".
 - Figured out the output ports. Documented each bit accessed.
 - Added button lamps support. Created layouts for both games.
 - Switched the 8255 port C to be used as output port.
 - Adjusted the coin pulse timing.
 - Updated technical notes.
 - Splitted the driver to driver + video.
 - Final clean-up.
2008-08-21 09:42:50 +00:00
Roberto Zandona
c783bad331 first implementation of PAINT command (for now only 4bpp and 8bpp supported and the pattern is not supported) 2008-08-21 06:57:44 +00:00
Nicola Salmoria
7b13f5ba98 update comment 2008-08-21 06:52:45 +00:00
Nicola Salmoria
1fd68ecb28 snk.c rewrite (WIP)
Ikari Warriors, Victory Road
removed ROM patches
simulated "hard flags" behaviour
proper memory maps
fixed ikarijp color test
renamed dogosokj to dogosokb and loaded the correct palette PROMs
inputs, dip locations, etc.
removed NO_COCKTAIL flag since these games don't have a flip screen dip switch
02035: gwarb: Guerrilla War bootleg doesn't need a rotary joy 
00869: ikari: The title screen and high score screen do not have a black background, as MAME displays.

New clones added
----------------
Ikari Warriors (US) [Corrado Tomaselli]
2008-08-21 06:42:26 +00:00
Roberto Zandona
2a3a6ea782 modified description of a dsw in sf2m2 (it isn't unused) 2008-08-21 05:50:04 +00:00
Brian Troha
1b8e64ff7d adds in kludge logic but wrong values for Aero Fighters Special. 2008-08-21 05:42:22 +00:00
Brian Troha
d7c33492f5 adds missing SHA1 values (I missed this when it was added..) for WW3 in redalert.c 2008-08-21 05:37:47 +00:00
Brian Troha
f4280abecd partial addition of Aero Fighters Special (Tiawan)
Makes the addition as far as rom loads go & mamedriv.c

RB or SMF will have to finish off the kludge part like Sonic Wings Limited has.
2008-08-21 05:35:33 +00:00
Aaron Giles
c166186196 Derived video timing based on measurements. These are educated guesses.
The logic behind the derivations is shown in the source.
2008-08-21 04:45:06 +00:00
Aaron Giles
fd883f1e72 Fixed bug when writing AVI files with more than one RIFF chunk.
Added missing chdman error messages when extracting to an AVI file.
2008-08-21 04:18:12 +00:00
Andrew Gardner
e6a2212387 Hooks up sound CPU comms in Power Instinct 2. This enables synchronized dancing for the background characters.
Credit Shimapong.
2008-08-21 03:35:05 +00:00
Roberto Zandona
73cbd67b13 removed unused code and fix a little bug 2008-08-20 22:54:22 +00:00
Roberto Zandona
9507cf7a53 fixed for PTN command: copy direction and dot color
PAINT command, necessary for skattv, is yet missing
2008-08-20 22:03:39 +00:00
Couriersud
772082e0b8 devintrf.c: add devtag_get_device(machine, type, tag) to retrieve the device_config for (type, tag)
* This is needed, if you need to read a device or device status outside a AM_DEVREAD context.
2008-08-20 21:15:01 +00:00
Roberto Zandona
6f9eaf0908 modified the default of a dsw in sf2m2 2008-08-20 20:54:07 +00:00
Jim Stolis
b3d2dc5f59 Updated readme info for initialization of some missing games. 2008-08-20 17:00:59 +00:00
Roberto Zandona
9705d41ac7 removed unnecessary code for sf2m2 2008-08-20 16:34:01 +00:00
Roberto Zandona
7e1305fa5e sf2m2 clone: promoted to working 2008-08-20 16:29:27 +00:00
Andrew Gardner
847e160223 Fixes 00429 (fastlane: the random function of this doesn't work well and always gives a "no bonus").
This patch adds to the simulation of the K051733.

Please credit ShimaPong.
2008-08-20 15:42:21 +00:00
Roberto Zandona
fdbdbfbead removed duplicate buttons in sf2hack (as per stephh comment) 2008-08-20 15:24:12 +00:00
Nicola Salmoria
12269d8aa7 added 8303 ROM to the games using it and updated MCU simulation to match the new findings 2008-08-20 12:00:14 +00:00
Nathan Woods
57d3cb91e3 MESS-specific fixes 2008-08-20 11:31:21 +00:00
Nicola Salmoria
c6e6c95244 snk.c rewrite (WIP)
TNK3, Athena, Fighting Golf, Country Club
converted to tilemaps
removed hacks
proper memory maps
screen flip / cocktail mode support
dip locations
better implementation of sound CPU communication
hooked sound cpu interrupts to YM chips
fitegolf hax 1xYM3812, not 2xYM3526
2008-08-20 10:24:57 +00:00
Aaron Giles
565b5532a7 From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Subject: few patch based on u5
Hi, 

since it seems there will be one more update in this cycle, it is probably 
better to submit these patches. Hopefully, not too many changes have been 
done to the source and these will apply cleanly. Let me know if I have to 
re-submit any of the patches.

content of the zip

* Ndriv.diff, OPQdriv.diff and RSdriv.diff: clean up of input ports in drivers 
N->R and partially S. as usual AM_READ_PORTs, conversions to full 32bit inputs 
where suitable, CUSTOM_PORTs for eeprom bits etc.

* cps1.diff: small clean up of the inputs in cps1.c. In particular, I exploited 
a few port_include (modeled on cps2.c) and added specific inputs for sf2 hacks 
so that I could simplify input readings in video/cps1.c. Also, I added the 3rd 
buttons to games which test it in Service Mode even if they don't use it in game: 
if the game code tests for them in the service mode, they were supposed to be 
present...

* deco.diff, pgm.diff, psikyo.diff, nbmj.diff, jaleco.diff: clean up for 
specific large drivers

* other.diff: some usage of PORT_CUSTOM that I missed to implement previously


Regards,

     Fabio Priuli
2008-08-20 04:17:46 +00:00
Aaron Giles
0941eb004e Fix m68k irq line support.
Before this patch a:
      cpunum_set_input_line(5, ASSERT_LINE);
      cpunum_set_input_line(3, ASSERT_LINE);
      cpunum_set_input_line(3, CLEAR_LINE);
    
    loses the state of line 5.  This patch fixes it by adding an explicit
    but optional "virtual irq line" support to the 68k interface.

    Fix m68k interrupt handling by some drivers.
    
    Clearing the NMI line to clear all the IRQ lines worked, but it just
    doesn't make sense.  Now that the irq lines are really independant,
    the handling can be simplified.
2008-08-20 02:11:14 +00:00
Brian Troha
a9d7211726 I have a minor issue with two source trees... I only update half the stuff in both :-(
Anyways, removes the extra Wave Runner from mamedriv.c and corrects the year in model2.c

sorry for so many "fixes"
2008-08-20 01:31:21 +00:00
Aaron Giles
44019c7433 From: Atari Ace [mailto:atari_ace@verizon.net]
Subject: [patch] fd1089 external keys
Hi mamedev,

The attached patch moves the fd1089 decryption keys out of the source
of MAME and into the ROM files.  Nicola suggested this would now be
reasonable, so long as the incomplete ones were marked with BAD_DUMP.

~aa
2008-08-20 01:26:42 +00:00
Brian Troha
01c0923170 Moves Wave Runner from Model 2B to 2C like it should be ;-) 2008-08-20 01:25:38 +00:00
Aaron Giles
cf07a5a784 From: Atari Ace [mailto:atari_ace@verizon.net]
Subject: [patch] More reset/multisession cleanup

Hi mamedev,

This patch eliminates more cases of .data objects, in an effort to
make more drivers multisession/reset safe.  The changes should not
change the first time run behavior at all, except perhaps the ygv608.c
change, which had a suspicious use of a static rectangle.

~aa
2008-08-20 01:25:28 +00:00
Derrick Renaud
384422ee09 Discrete cleanups and fixed discrete logging. 2008-08-20 01:02:57 +00:00
Brian Troha
39ea677641 Top Skater (USA)
Currently not working any better then the parent
Restores old Wave Runner (Rev A, Model 2B) as a single non clone game

New clones added
----------------
Top Skater (USA) [Gerald (COY)]
2008-08-20 00:04:00 +00:00
Brian Troha
37fc923ccf Wave Runner (Model 2C)
Currently not working and missing a rom

New clones added
----------------
Wave Runner (Model 2C) [Gérald (COY)]
2008-08-19 21:10:23 +00:00
Wilbert Pol
38a811b727 Some MESS specific fixes. 2008-08-19 19:18:43 +00:00
Roberto Zandona
cc9883d312 fixed cpx and cpy when a ptn or a agcpy command is executed 2008-08-19 15:09:54 +00:00
Nathan Woods
15969c0428 Readded generic calls to install memory handlers that were in long before
0.126u5 - these are useful on the MESS side for things like the PC driver
2008-08-19 11:13:43 +00:00
smf-
cbe9983e42 changed DIRECTINPUT & DIRECT3D handling, so they can be overridden by environment variables. 2008-08-19 08:03:38 +00:00
davidhay
c9f47d831f minor updates to megadriv.c / genesis code.
My mail is broken (or I'm not on the list anymore?) so I don't know how the suggestion went down, but given that within the space of a week simply updating the tree completely broke my compile again I *need* these files maintained to develop with if we're going to see accurate genesis emulation in MAME.  There's too much to split out of MAME.

I haven't included driver definitions, but the source files at least need to compile or I'm going to go completely bananas.
2008-08-19 07:39:53 +00:00
Aaron Giles
0523e9feb7 Cleanups and version bump. 2008-08-19 07:31:55 +00:00
Aaron Giles
e959018aa8 02105: qbert and clones: Misplaced graphics 2008-08-19 07:17:30 +00:00
Aaron Giles
76be0ad854 02119: cischeat, bigrun: no sound 2008-08-19 07:05:24 +00:00
Aaron Giles
c44c835ab3 02121: reactor: input controls and startup tone 2008-08-19 06:47:15 +00:00
Roberto Zandona
49db9ee772 new implementation of agcpy command in hd63484 2008-08-19 06:37:36 +00:00
Aaron Giles
8b8585328c From: Christophe Jaillet [mailto:christophe.jaillet@wanadoo.fr]
Subject: Profiler related
Hi,

here is a smalll patch that :
   - remove include "profiler.h" to files that do not use profiling function
        * emu/machine/laserdsc.c
        * osd/windows/video.c

    - use PROFILER_USER2 instead of PROFILER_USER1 in mame/video/tx1.c
      USER1 was used twice, USER3 once. I guess that USER1 should be used
only once and USER2 used in the 2nd place

   - remove unused MACRO in emu/memory.c

Best regards,
Christophe JAILLET
2008-08-19 06:13:26 +00:00
Aaron Giles
7b53d0a62e From: Lei Wu [mailto:lanewu@hotmail.com]
Subject: Shogun Warriors (Europe Rev.xx)

1. added Shogun Warriors (Europe Rev.xx)(Kaneko 1992), detailed description in source code [Pythagoras573]
2. fixed a cps1 typo
2008-08-19 06:12:05 +00:00
Aaron Giles
13a3d3fb89 From: Oliver Stoeneberg [mailto:oliverst@online.de]
Subject: Various cleanups

A couple of minor cleanups sitting on my disk for a while:
- removed obsolete ENABLE_DEBUGGER occurance
- removed more unprintable characters in SH-2 disassembler
- memset() usage cleanups
- removed duplicated TMS5110 entry in sound.mak
- use machine in uigfx.c where it's already available
2008-08-19 06:10:43 +00:00
Aaron Giles
de5cd6e5a8 Added cheat functions frombcd() and tobcd() to convert numbers to/from
BCD format. Changed "Activate" to "Set" in the menus.
2008-08-19 06:08:24 +00:00
Nicola Salmoria
74777c6420 more CPS1 PALs 2008-08-19 05:42:10 +00:00
Aaron Giles
1d26d347e1 From: Guy Hufkens [mailto:guy.hufkens@telenet.be]
Subject: dooyong.c dips

Added DIP locations
2008-08-19 05:13:56 +00:00