Commit Graph

2726 Commits

Author SHA1 Message Date
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
Aaron Giles
719eca9c82 Added validity check to ensure that ports referenced by a condition
actually exist. Fixed a case where this was violated.
2008-08-19 05:12:45 +00:00
Andrew Gardner
35ee8d5279 Added new Guru readme for namcos22 driver.
Please credit Guru.
2008-08-19 04:50:19 +00:00
Aaron Giles
6c21097922 Added validity check to ensure that AM_READ_PORT() macros reference
valid ports. Fixed several cases where the check failed.
2008-08-19 04:33:19 +00:00
Brian Troha
e58907ac1a Corrects BPROM type after verifying against the schematic vs a hi-res pic which is hard to tell. 2008-08-19 02:59:45 +00:00
Brian Troha
79c1a8fc2c Slight documentation update.
Removes bad_dump from WW3 as readme said "most" reads matched the Red Alert sound rom.  Also it the read me stated the BPROM also matched the Red Alert BPROM.
2008-08-19 02:28:44 +00:00
R. Belmont
7d762634aa Reduce YM2612 DAC level relative to FM. This better matches real hardware. 2008-08-19 02:21:37 +00:00
Aaron Giles
2e422e5b72 Final SHA1 for Cube Quest. 2008-08-19 02:13:32 +00:00
Aaron Giles
d62faabec6 From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Subject: small submission
Hi,  

enclosed please find a tiny diff which makes megadriv_vdp_r & megadriv_vdp_w 
handlers in megadriv.c non-static (and includes them in megadriv.h).

This small change, while making essentially no difference for MAME, would make 
life easier to maintain pico emulation in MESS.

--

From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Subject: fix for MT bug 2115
Hi, enclosed please find a small fix for the typo causing berlwall inputs 
breakage. No matter how extensively I test my changes, some typos always 
succeed to slip through my cross checks :( 

Anyway, this regression is fixed. 

--

From: Fabio Priuli [mailto:doge.fabio@gmail.com] 
Subject: Fix for MT bug 2114

Hi, 

enclosed please find a patch which fixes the red/blue inversion for eolith.c 
games. It regressed in 0.124, when the driver it's been converted from bitmap_format_rgb15 
to bitmap_format_indexed16 with the wrong palette_init.
2008-08-19 02:13:13 +00:00
Aaron Giles
87066dc341 From: MASH [mailto:mameinfo@ewetel.net]
Hi there,

Astro Wars (Zaccaria 1980) can be added to the galaxia.c.
The attract mode works and it uses the same hardware and
the rom names/lacations are identical.
The picture shows three screenshots of Astro Wars, the left and middle uses
only one of the gfx roms and the right both.

M*A*S*H

New game NOT WORKING: Astro Wars
2008-08-19 02:01:55 +00:00
Couriersud
2dc5c0648b dkong3 - added prom
* added address decode prom 5e from roms/unemulated/Nintendo/dk3prom.zip to dkong3/dkong3j
2008-08-19 00:44:21 +00:00
Couriersud
7d16a28e7f New games/clones: WW III (Irem 1981), I P M Invader (Incomplete Dump)
* Added roms/unemulated/Irem/iremM10_incomplete.zip as ipminva1 to m10.c
* Marked as GAME_NOT_WORKING
* The roms are all different from ipminvad, one is missing. The game does 
  enough to see that it is some sort of invaders type game.

* Added roms/unemulated/Irem/ww3_roms.zip as ww3 to redalert.c
* Dumped by Stefan Lindberg
* Please credit Stefan Lindberg as well 
* Either redalert is the clone or ww3 is the clone. Redalert has a speech board in addition
  to the m37b audio board.

New games marked as GAME_NOT_WORKING
------------------------------------
I P M Invader (Incomplete Dump) [unknown dumper, Couriersud]
 
New games added or promoted from NOT_WORKING status
---------------------------------------------------
WW III [Stefan Lindberg, Couriersud]
2008-08-18 23:25:42 +00:00
Aaron Giles
c0fae223af Increased blank reporting threshold. Fixed error in blank tracking. 2008-08-18 16:38:40 +00:00
smf-
c860d00f1b reverted incorrect checkin, caused by lack of concentration when retrying the checkin due to an update being required. 2008-08-18 12:10:31 +00:00
smf-
e334a63782 reverted unit mask changes and removed the unused & unsafe memory_install functions. 2008-08-18 12:08:08 +00:00
Nicola Salmoria
b51601cc66 use proper gfx ROMs (+ PALs) for varthj
load correct A-Board PALs for QSound games
2008-08-18 12:05:11 +00:00
Roberto Zandona
94abf9470d implemeted service mode switch in skattv 2008-08-18 07:15:18 +00:00
Roberto Zandona
3d33c20559 modified 68681 to return 0xff if input port is NULL 2008-08-18 06:31:15 +00:00
Aaron Giles
284b5a0d95 Added new generic laserdisc VIDEO_UPDATE handler to the laserdisc code.
This handler works for both disc-only games and those with overlays. 
For disc-only games, the base macro is sufficient. For games with 
overlays, an additional set of configuration macros are provided:

   MDRV_LASERDISC_OVERLAY - specifies update function, width, height,
      and bitmap format of the overlay
   MDRV_LASERDISC_OVERLAY_CLIP - specifies the visible area of the
      overlay bitmap
   MDRV_LASERDISC_OVERLAY_POSITION - specifies default x,y position
   MDRV_LASERDISC_OVERLAY_SCALE - specifies default x,y scale factors

The update function provided to MDRV_LASERDISC_OVERLAY is identical to
a normal VIDEO_UPDATE callback, so a standard one can be used. All
existing laserdisc drivers have been updated to support this new
rendering mechanism, removing much duplicated code.

Added the ability to configure the overlay position and scale 
parameters at runtime. Added OSD menus to control them. Added logic
to save/restore the data in the game's configuration file.

Added new macros MDRV_LASERDISC_SCREEN_ADD_NTSC and _PAL, which
defines a standard screen with the correct video timing characteristics
and update function for laserdiscs. Updated all drivers to use these
macros instead of defining their own screens.

Added DISK_REGIONS to all laserdisc drivers.

Added DISK_IMAGE_READONLY_OPTIONAL to support games (like Cube Quest)
where the disk is non-essential to the game's operation.

Fixed bug in identifying the custom sound driver for the laserdisc.

Updated ldverify to identify blank regions of the disc for post-
processing.

Fixed rendering 16bpp with alpha using bilinear filters (fixes
screenshots of laserdisc games with overlays).

Included support for parsing .gdi files in chdman. [ElSemi]

Added new driver for Cube Quest. This includes CPU cores for the three
bitslice processors, as well as laserdisc support for the hacked
laserdisc that was used to drive the games. 
[Philip Bennett, Joe Magiera, Warren Ondras]

Note that the SHA1/MD5 for the laserdisc will likely undergo at least
one more change before being finalized.
2008-08-18 04:31:08 +00:00
Roberto Zandona
d0eb89399f removed speedup patch in timecris;
with this commit and commit 2565 the bug 01992: (timecrsa, timecris: SubCPU start wait fails test) is fixed
2008-08-17 18:43:28 +00:00
Roberto Zandona
0a0a3ef383 fixed INT_ACK initialization 2008-08-17 17:24:55 +00:00
Wilbert Pol
ab1030258c Some MESS specific changes 2008-08-17 15:02:15 +00:00
smf-
3297ac117d identified compatible timekeeper used by midway zeus ii.
removed all the timekeeper memory handlers, except for 8 bit & changed the drivers to use the conversion built into the memory system.
2008-08-17 11:47:26 +00:00
smf-
5c5337424a Added unit mask to all memory installs that override the bus width. You couldn't install a handler with a different width before, as it complained about the lack of the unit mask. So I've assumed it's safe for all current calls to be changed to the one that picks up the cpu bus width. 2008-08-17 10:15:22 +00:00
R. Belmont
f118954dc5 Split out SH-4 non-interpreter-specific stuff to sh4comn.c. 2008-08-17 04:44:02 +00:00
R. Belmont
a6210713da SH-2 DRC updates:
- Moved IRQ handling front-end into recompiled code
- Added TSTM/ANDM/XORM instructions
- Added SH-1 CPU support, including lower precision on MAC.W and locking out SH-2 only instructions
2008-08-16 16:50:41 +00:00
R. Belmont
9c671d6ecf 64-bit GCC fix. 2008-08-16 16:47:03 +00:00
R. Belmont
d8a88c5084 Added save states to 65816 CPU. 2008-08-16 16:46:24 +00:00
Roberto Zandona
4a79e7af34 partially implemented ptn and wptn command in hd63484
now skattv boot in service mode and you can see correct gfx
2008-08-16 15:47:42 +00:00
davidhay
84f88adc6a makes redhawki work, I suspect it's a bootleg.. 2008-08-16 13:56:37 +00:00
Roberto Fresca
d85c50929c Minor corrections. 2008-08-16 10:39:51 +00:00
Roberto Fresca
5831f1f74e - Added Hot Slot and Magic Colors (not playable due to protection issues).
- Simulated the co-processor to pass the initial test.
- All Inputs worked from the scratch.
- Fixed position of tilemap layers.
- Added scroll register preliminary support.
- Fixed Super Pool graphics.

New games marked as GAME_NOT_WORKING
------------------------------------
Hot Slot (ver 05.01) [Roberto Fresca]
Magic Colors (ver 1.7a) [Roberto Fresca]
2008-08-16 08:46:58 +00:00
Jonathan Gevaryahu
50438fc4f5 update t5182.c comments once more, to fit in 80 columns.
also rewrote the description of the theoretical trojan attack in a far more concise manner.
2008-08-15 22:46:18 +00:00
Jonathan Gevaryahu
fbfaa93fa2 fixed comment formatting and one minor sentence chunk which didn't belong 2008-08-15 22:20:15 +00:00
Jonathan Gevaryahu
c272be4f4a Update the t5182.c documentation/pinout 2008-08-15 22:12:39 +00:00
smf-
bd3ba85c50 changed at28c16 memory handlers to 8 bits and perform the conversion in the memory mapping. 2008-08-15 20:11:15 +00:00
Roberto Zandona
6bb2a0e698 fix ram dimension and window width 2008-08-15 17:47:32 +00:00
Brian Troha
d8e8dffe4b Updated documentation:
Added PCB layout for Torus & Mad Ball
Corrected rom names and / or added U locations
2008-08-15 16:29:27 +00:00
Roberto Zandona
edfc74b1d1 fix gfx in cps2 games 2008-08-15 14:36:20 +00:00
Roberto Zandona
efc80cc200 fix ram size in hd63484 and removed driver init for adp games 2008-08-15 14:17:31 +00:00
Roberto Zandona
888337ddb9 add new commands in hd63484 core 2008-08-15 10:48:38 +00:00
Roberto Zandona
fdfeed931d some progress in adp games: now you can see a blue rectangle in skattv 2008-08-15 09:10:52 +00:00
davidhay
f71dd506c0 new clone, Red Hawk (Italy) (NOT WORKING)
it's another horizontal set like the 'redhawkb', but video registers seem to be different.

If it's wrong it's because I had to remerge everything.
2008-08-15 07:56:50 +00:00
Brian Troha
aa0aa81c7d New clones added
----------------
Red Hawk (Haedong Corp.) [Tirino73 / Mame Italia] (Not Working)
Snow Bros. - Nick & Tom (Dooyong license) [Tirino73 / Mame Italia]
2008-08-15 03:26:04 +00:00
Brian Troha
71ebf50919 corrects a spelling mistake 2008-08-15 02:16:23 +00:00
davidhay
4e99cb9af4 adds correct CRCs for DOA2 [Guru] 2008-08-15 00:12:08 +00:00
Roberto Zandona
9c68b61e38 implemented read operation of MRA and MRB in 68681 device (this command is necessary for adp games) 2008-08-14 19:12:47 +00:00
Nicola Salmoria
56e734716a oops, QSound CPS1 games have a different A-board so the PLDs of the normal gmaes aren't valid. 2008-08-14 18:53:21 +00:00
Roberto Zandona
d7c9b3cf8f wip - a try to implement 68681 device in skattv 2008-08-14 15:00:52 +00:00
Roberto Zandona
7a8e9bb4b8 convert adp to 4 bpp rendering 2008-08-14 13:33:06 +00:00
R. Belmont
4303262b04 Another 64-bit GCC fix. 2008-08-14 13:14:46 +00:00
R. Belmont
06c0d541ed Another one... 2008-08-14 13:13:40 +00:00
R. Belmont
841c0ce03a Another 64-bit GCC fix. 2008-08-14 13:10:34 +00:00
R. Belmont
5b8cc47145 Fixes for 64-bit GCC. FPTR isn't just a good idea, it's the law. 2008-08-14 13:08:53 +00:00
Nicola Salmoria
8c07fef2d7 added more Universal game IDs from schematics 2008-08-14 08:21:35 +00:00
Aaron Giles
224eb1f58b Cleanups and version bump. 2008-08-14 08:05:35 +00:00
Aaron Giles
2e7d262931 02113: xymg: xymg title mispelled
02110: All sets in cps3.c: video from a DV cam proves the refresh rate of CPS3 in MAME is wrong 
02095: chqflag, chqflagj, -listxml: memory leaks
2008-08-14 07:36:27 +00:00
Aaron Giles
aeb7e74d74 Oops, missed deleted file. 2008-08-14 07:14:26 +00:00
Aaron Giles
4380531fc8 From: JoshuaChang [mailto:joshuachang2005@gmail.com]
Subject: cps3 sfiii3 title+linear zoom effect fix

fix the sfiii3's title animation (cps3.c line 1055)
also fix the linear zoom effect that OopsWare didn't improve properly
since 0.122u7(cps3.c line 1168,1189,1190)

i've attached 2 images to show the difference between the priginal and
fixed one~
hope this helps~
2008-08-14 06:33:31 +00:00
Aaron Giles
aa4b4b3e7d From: Oliver Stoeneberg [mailto:oliverst@online.de]
Subject: mame.mak - sound chip cleanup

Cleaned up and grouped the sound chip entries based on sound.mak.
2008-08-14 06:32:03 +00:00
Aaron Giles
ec66ef6ab0 From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Subject: two more patches

Hi,

enclosed please find the following patches

* portM.diff which completes the basic port cleanup in 
drivers starting with M. It's mostly conversion of 8bit 
-> 16/32bit inputs and usage of AM_READ_PORT in memory maps 
(plus a couple of eeprom_bit_r replaced with PORT_CUSTOM 
and daitorid_soundstatus_r in metro.c converted to a 
CUSTOM_INPUT as well)

* avgdvg.diff converts most of the games checking avgdvg_done() 
in inputs to use a CUSTOM_INPUT (which I added to video/avgdvg.c). 
avgdvg_done() is still in use in mhavoc.c (which requires some 
more changes, so I'll take a look later) and in omegrace.c (which 
reads it directly and not through inputs). While at it, I've 
also done a small cleanup of inputs in starwars.c and tempest.c.

Regards,
     Fabio
2008-08-14 06:31:06 +00:00
Aaron Giles
2ec0fea9c2 From: Atari Ace [mailto:atari_ace@verizon.net]
Subject: [patch] Collapse timer callbacks

Hi mamedev,

The following patch collapses timer callbacks in some cases to avoid
duplicating code.  In the case of crystal.c, it also refactors two DMA
handlers and shuffles the init/reset code around a bit.  I noticed
while doing this that h8_itu_read8 is missing cases 0x96,0x97 which is
almost certainly a bug, but I left it alone.

~aa
2008-08-14 06:27:52 +00:00
Aaron Giles
d6b6e913fa From: RansAckeR [mailto:RansAckeR@telenet.be]
Subject: clshroad.c dips

Added DIP locations
2008-08-14 06:22:07 +00:00
Aaron Giles
0921968934 From: Atari Ace [mailto:atari_ace@verizon.net]
Subject: [patch] Fix i386 bsr implementation

Hi mamedev,

The i386 cpu emulator will return the wrong result for bsr when the
highest bit is set (0 instead of 15 or 31).  The attached patch fixes
this.

~aa
2008-08-14 06:21:31 +00:00
Aaron Giles
5ad309b60f From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Subject: few more patches

Hi,

enclosed please find a few patches to continue the input port 
clean up (and to fix a mistake in the previous submission). In 
detail:

* hal21.diff: with my last submission I made a mistake in hal21.c 
(I converted it only partially to custom inputs, still returning 
1<<5 instead of 1 from the handler). please revert that change 
(it was in u4_custom04.diff) and apply this one, to fix the 
communication with sound cpu

* clean_new.diff: introduce AM_READ_PORT & c. in drivers starting 
with M (only few of them updated, more to come)

* custom_new.diff: improves input handling in mainsnk.c and marvins.c 
by using CUSTOM_INPUTs and AM_READ_PORTs

* gaelco3d.diff: converts radilkalb inputs to 32bit inputs (as 
they are), removing the need of AM_READ16 for those

* itech32.diff: converts inputs of later games to 32bit inputs and 
updates all the occurrences as needed. It also simplifies input 
handling by removing special_port_r from most of the maps (replaced 
by a CUSTOM_INPUT). Now only drivedge still uses 16bit inputs and 
special_port_r, but I'll investigate it later.

* arkanoid.diff: changes mcu reads to CUSTOM_INPUTS (and muxed 
inputs as well). Bootleg inputs has been slightly changed as well 
to cope with the new implementation of the protection

* irem.diff: this patch changes a lot of input related things in 
m10->m107 irem boards. First of all, it moves input definitions from 
drivers/m92.h to include/iremipt.h (which was already there, just 
a bit unused ;) ) and it removes completely drivers/m92.h (which 
only contained those definitions). Moreover, it adds more common 
inputs to iremipt.h and starts to use that file in m62->m107 instead 
of local #defines. Finally, it adds diplocations to all the games in 
m62->m107 which were missing and it implements coinage mode 2 through 
dipconditions in the drivers which didn't support it.

I tested as much as I could these changes and I can see no regressions.

Regards,
     Fabio
2008-08-14 06:20:42 +00:00
Aaron Giles
51c1079953 From: Atari Ace [mailto:atari_ace@verizon.net]
Subject: [patch] Fix 1802 cybrcomm, raveracw, raveracj, raveraja,
ridgerac, ridgerab, ridgeraj, acedrvrw, victlapw: No sound in games
after reloading via the MAME UI

Hi mamedev,

The problem with namcos22 games losing sound when running multisession
is actually an m37710 cpu initialization bug.  The attached patch
fixes it, and also collapses all the timer callbacks together as an
unrelated code cleanup.

Note: namcos22 has a lot of uninitialized state, so I wouldn't be
surprised if there are other multisession issues.
2008-08-14 06:13:56 +00:00
Aaron Giles
3b76b8e25e From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Subject: some more input clean-ups
Hi, 

attached please find a few patches against u4. These diffs improve 
input ports for drivers starting with F->L. In particular: they add 
AM_READ_PORT whenever suitable, they make inputs fully 32bit where 
needed, they remove indexed input read handlers from INITs, they 
replace many read handlers with appropriate CUSTOM_INPUTs. 

Additional improvements:

* added dip switches and locations to go2000 (even if they were 
partially documented in the source)
* fixed artmagic protection (it used a wrong tag, which probably 
I added somewhere in 0.125uX); even if I haven't experienced any 
problems due to the bug since the regression now it's fixed

More details on the patches:

* u4_clean01 -> u4_clean07: these are standard changes like the 
one I submitted previously (no custom inputs involved)
* u4_custom01 -> u4_custom04: here there are also changes involving 
custom inputs (they mainly deal with eeprom reads, but a few were a 
bit more interesting); I separated these from the other ones in 
case you want to check them more in detail
* itech8.diff: this patch improves ports & their handling in itech8.c. 
In particular, it replaces the 'special' handlers with a single 
custom input and I would like a confirmation that it was the right 
choice in this case.

Patches are independent one from the other and should apply with 
no problems. Let me know if this is not the case.

Regards,
    Fabio
2008-08-14 05:17:39 +00:00
Aaron Giles
15893eeed0 Fixed includes of rescap.h. 2008-08-14 04:51:04 +00:00
Brian Troha
6d0de192fa Updated the header of the ladybug.c driver with a little bit of info 2008-08-14 04:46:18 +00:00
Brian Troha
55a1654534 Correct rom names with PCB locations for Lady Bug and verified the dump against an original Universal Lady Bug PCB. Added information about the Universal PCB number and prom type.
Verified that Lady Bug, Cosmic Avenger & Snap Jack all use the same PCB set and adjusted the rom names as needed.
2008-08-14 04:34:28 +00:00
Derrick Renaud
a615a52ccb minor correction to Guru Read Me 2008-08-14 02:31:03 +00:00
Derrick Renaud
ad617cfb1e Added Guru ReadMe for madalina.
credit (Guru)
2008-08-13 23:57:00 +00:00
Roberto Fresca
37414e4353 Minor corrections to the notes and some acknowledgements. 2008-08-13 23:36:39 +00:00
Nicola Salmoria
ac821a6f88 implemented proper shadow handling. Some intial cleanup.
00233: ikari: The current implementation of the shadow in Ikari Warriors and Victory Road is wrong.
2008-08-13 17:53:31 +00:00
Aaron Giles
a0574bb473 Moved several include files from mame/ to emu/, as they were
included by generic components in emu/ and thus should have no
dependencies on the MAME code.

Added new target ldplayer, which is based on MAME but serves as
a standalone laserdisc player for CHDs. Right now only the
Pioneer LD-V1000 is connected, and limited commands are available.
Each player type is a driver, so you specify the player type on
the command-line. The driver then opens the first CHD it finds
in your ROM path and uses that as the laserdisc. The intention is
that you specify the -rompath each time on the command-line, so
a typical approach might be:

   ldplayer ldv1000 -rompath j:\mach3

where it will pick up the mach3.chd lurking in your j:\mach3
folder. Several basic commands are supported:

   Space = play/pause
   Alt   = toggle frame display
   Left  = scan forward (when playing) or step forward (when paused)
   Right = scan backward (when playing) or step backward (when paused)
   0-9   = enter numbers for search
   Enter = execute search to frame
2008-08-13 15:09:08 +00:00
Aaron Giles
16903498a4 Improved video signal warning reporting. 2008-08-13 05:18:02 +00:00
Aaron Giles
480df37d02 Added new flag to menu items: MENU_FLAG_DISABLE, which means the
item will be visible but not selectable.

Fixed bug that prevented the cheat engine from working when the
debugger was disabled.

Modified xmlfile.c to accept integer values in decimal or hex. The
default is decimal. Numbers may be prefixed by '#' for decimal
values, or by '$' or '0x' to indicate hexadecimal values. Also
added function xml_get_attribute_int_format() to return the format
of the attribute, so that it can be later replicated.

Updated cheat parser to preserve the format of attribute values
used for cheat parameters and items.

Added support for information-only cheat items, which will be
displayed in the menu but which are not selectable and have no
action associated with them. Empty information-only items are
automatically converted to menu separators.
2008-08-13 04:55:42 +00:00
R. Belmont
04239409b0 SH2DRC: Allow delay slot of a BSR to trash the PR if it wants. (Manis 2059) 2008-08-13 03:58:02 +00:00
Derrick Renaud
1daf41e218 Final CPU header updates. Mostly just re-naming the re-inclusions.
The structures/names were getting too complex for my macros to handle.  They would require hand editing and my computer is too slow to keep re-compiling.

Passes a clean compile.
2008-08-13 02:48:52 +00:00
R. Belmont
0f0b9208f6 Fix crash with DRC, now hangs waiting for impossible conditions again. 2008-08-13 02:33:22 +00:00
Tomasz Slanina
936c9c5275 Fixed ROM mapping and added preliminary video emulation. 2008-08-12 22:55:30 +00:00
davidhay
6debb2fb24 fix compile error pt2.
rule #1 of SVN, test before commit ...... not being able to compile the latest code is very annoying.
2008-08-12 22:47:00 +00:00
davidhay
216a0b5c3b fix broken compile. 2008-08-12 22:28:40 +00:00
Aaron Giles
111a34fea5 Added video level detection and reporting to ldverify.
Removed channels parameter from avcomp decode configuration.

Fixed incorrect test in winwork that led to spinning instead
of using the nicely allocated events we had on hand.

Forced a sound synchronization on each vsync in the laserdisc
playback. This prevents overwriting the tail end of the
buffer which was fouling up the MACH 3 audio decoding.

Removed obsolete size check for uncompressable audio data.
2008-08-12 17:37:53 +00:00
Brian Troha
c2b9cb3b7e corrects rom names for Road Riot 4WD 2008-08-12 17:36:22 +00:00
Roberto Zandona
906b6a5c39 now shanghai and adp use hd63484.c e hd63484.h in video folder 2008-08-12 15:29:20 +00:00
Nicola Salmoria
82494e9da3 updated Alpha 8302 MCU simulation to match newly dumped internal ROM.
Added the ROM to Champion Baseball 2.
2008-08-12 14:50:34 +00:00
Roberto Zandona
d6269d15fa use last version of HD63484 (like shanghai driver) 2008-08-12 12:23:24 +00:00
Roberto Zandona
526be2629c some improvements to shanghai video drivers:
1) convert framebuffer's ram from 8 bit to 16 bit
2) convert dma command from 8 bit to 16 bit
3) convert gfx command from 8 bit to 16 bit
4) implemented all gfx mode: 1,2,4,8,16 bpp
for now the rendering is only 8 bpp
now we can use this gfx chip for adp driver that use 4bpp
2008-08-12 12:04:21 +00:00
Aaron Giles
a85c4c754d Rejiggered huffman.c to support multiple interleaving
streams and a delta-RLE pre-encoding. Added optimized
case for the Y/Cb/Y/Cr video encoding case. Cleaned up
the code.

Updated avcomp.c to use the new huffman.c functions.
Reworked configuration options to allow for both input
and output of naturally aligned data streams. Updated
chdman and laserdsc to use the new interfaces. New
compression gives an additional 3-7% over previous
attempt and compresses the dummy CHDs down significantly.
2008-08-12 09:24:22 +00:00
Nicola Salmoria
d89508d201 Added reverse engineered PLD images to CPS1 games (A-board to all and B-board and C-board to many).
Credit Corrado Tomaselli and Charles McDonald.
2008-08-12 06:04:03 +00:00
Derrick Renaud
0ec9cda36e Fixed NMI on Mad Alien sound CPU. This fixes shot sound and various other sound glitches.
Marked madalien and madalina as Imperfect Graphics.  They are missing an effect.  When you shoot an enemy in the dark, the whole screen lights up.  Basically the headlights fill the whole screen.

credit Guru, Derrick Renaud
2008-08-12 03:51:29 +00:00
Derrick Renaud
d5d5d9449b structure, lower-casing functions and re-inclusion updates of the src\emu\cpu headers J - M. 2008-08-12 03:40:09 +00:00
Brian Troha
7e7e4ef30f removed bad dump from China Dragon (Hong Kong)... I dumped this PCB way back and mentioned that the copy protection checks needed fixing. The other 2 roms matched the parent set, that's why it was only the program rom.
BrianT
2008-08-12 01:40:56 +00:00
Nicola Salmoria
241e19186c KO Punch boxer graphics had to be doubled. Evidence:
http://www.retro-gaming.it/videogiochi_img/magazine_videogiochi/videogiochi2/videogiochi_2_54.jpg
http://www.retro-gaming.it/videogiochi_img/magazine_videogiochi/videogiochi2/videogiochi_2_55.jpg
(these are two halves of the same shot).
The shot is clearly from some other version of the game since the graphics are different, however it's clear that the boxer is supposed to fill the screen.
2008-08-11 16:50:55 +00:00
Nicola Salmoria
d099ba2be0 02101: wboy, wboysys2: Access Violation 2008-08-11 15:10:08 +00:00
Andrew Gardner
6be1af1ea3 Adds readmes for Great 1000 Miles Rally 2 and Super Monaco GP.
Credit Guru.

(This completes *all* the readmes)
2008-08-11 15:03:02 +00:00
Derrick Renaud
3c2b00d332 structure, lower-casing functions and re-inclusion updates of the src\emu\cpu headers up to I.
It's mostly just re-inclusion renaming, but there are few other re-nameings.
2008-08-11 03:06:59 +00:00
Brian Troha
9ab4f76a04 adds the Plotting PAL to the Japanese set. Also corrects the PAL ROM name. Adds a note that PAL is stamped B86-04... curently we don't know what Taito game B86 is for :-( But if one is dumped we'll know it should go in the taito_l.c driver 2008-08-11 00:46:39 +00:00
Derrick Renaud
3710253aa7 This (mostly - see below) completes the structure, lower-casing functions and re-inclusion updates of the src\sound\emu headers.
I did not do much to the following files because I did not know the best way to name them.
aicadsp.h
sid.h
sidenvel.h
sidvoice.h
ymdeltat.h

I did not update structures only used in the src\emu\sound\*.c files.  They are only used locally in the file so they were not worth the effort.
2008-08-11 00:32:08 +00:00
Andrew Gardner
fdf667cf9c Adds readmes for Vivid Dolls, Tower and Shaft, Star Soldier Vanishing Earth, Stone Ball, Sky Lancer, Squash, Winning Spike, Versus Net Soccer, Undercover Cops, War Gods, Space Fever, Strikers 1945, Rohga, Super Eagle Shot, Treasure Hunt (stv), and Tickee Tickats.
Credit Guru.

(This completes adding all of Guru's readmes to the MAME source.  There remain ~20 readmes that I still need to compare to what's in MAME to see if they have any additional information, but beyond that, this little project is done!)
2008-08-11 00:23:04 +00:00