Commit Graph

487 Commits

Author SHA1 Message Date
Zsolt Vasvari
b4cc7b0021 Removes TRANSPARENCY_NONE case from copybitmap_core, which can never happen 2008-01-25 16:35:16 +00:00
Zsolt Vasvari
596635241a - Removes copybitmap_remap and copyscrollbitmap_remap, neither which was used by anybody
- Removes some obsolete commented out code
- Fixed up some comments
2008-01-25 16:22:26 +00:00
Zsolt Vasvari
4b6ceec3f9 Simplifies Star Fire driver 2008-01-25 16:15:40 +00:00
Zsolt Vasvari
4930b2dbfd - Added deprecat.h that contains some deprecated/discouraged contructs (see below)
The idea is to create extra work if a driver wants to use these and hopefully
  gives an incentive to look for an alternate solution
- Added #include of deprecat.h that rely on these contructs
- Removed a bunch of unneccassary #include's from these files
2008-01-25 09:30:43 +00:00
Aaron Giles
877b75ad75 Cleanups and version bump to 0.122u7. 2008-01-25 06:17:54 +00:00
Aaron Giles
97cf740a23 From: roberto zandonà
Subject: risky challenge another opcode and unencryted routine

now the game boot with the intro animation
2008-01-25 03:01:57 +00:00
Aaron Giles
bbffc81785 From: roberto zandonà [mailto:robiza71@tin.it]
Subject: Fw: fix for toki060gre

please credits the fix to robiza and Corrado Tomaselli
2008-01-25 03:00:28 +00:00
Aaron Giles
2b0c136968 From: Wilbert Pol [mailto:w.pol@tiscali.nl]
Subject: z80gb cpu core patch

Changes:
- Small timing fixes when leaving HALT state.
- Fixed bug in retrieving Z80GB_SPEED pseudo register.

--

From: Wilbert Pol [mailto:wilbert@jdg.info] 
Subject: Re: timer_set_global_time patch

This patch for the z80gb cpu core also fixes my problems without the  
need to recode a lot of things:
- Split the execution of an instruction into separate fetch and  
execute phase.
2008-01-25 02:59:21 +00:00
Jim Stolis
9249191b8b Removed all memory hacks and game specific DRIVER_INIT. There are now just two DRIVER_INIT, one for normal boards and one for superboards.
Temporarily disabled AutoHold Cheat but documented addresses for future update.
2008-01-25 00:54:05 +00:00
Andrew Gardner
c930b5a187 Adds second set of Trivial Pursuit Genus 1 to balsente.c.
ROMs were downloaded from softwarethis.com and uploaded to /roms/current/t

Same program roms, but 20% of questions are different from Genus 1 set 1.
2008-01-24 16:26:48 +00:00
Zsolt Vasvari
b460e5cf43 Fix for broken xtal.h 2008-01-24 15:35:44 +00:00
Aaron Giles
ae72e423a6 From: Corrado Tomaselli [mailto:corrado.to@tiscali.it]
Subject: other frequencies verified

Corrected Diet gogo h6280 clock so that it behaves correctly with
Charles Macdonald fix to the cpu core.
Verified anc corrected frequencies and pin 7 okim6295 on the following
games:
The new zealand story (3 z80 version), Trio The punch, Vandyke,
paradise.c games, Downtown, Shaolin's Road and Twins.
Updated Xtal.h with 1.056mhz resonator from Trio the punch
2008-01-24 14:29:06 +00:00
Aaron Giles
444d77b838 From: Atari Ace [mailto:atari_ace@verizon.net]
Subject: [patch] Fix C4305 warnings, other MSVC tweaks

Hi mamedev,

This patch is a bit of a potpourri.  It is the result of enabling most
of the suppressed warnings when using MSVC compilers and seeing what
issues arose with different compilers (I used 70,71,80,90).  Two of
the warnings were judged to be useful to enable and methodically fix.
Some issues spotted by the other warnings were also fixed.

1. Fixed issues flagged by MSVC warning C4305 (type truncation).
Almost all of these are harmless double->float narrowing in
initializers, but one warning spotlighted a bug in segasyse.c, where
code to use a higher sprite number had no effect due to the
insufficient range of UINT8.
2. Removed /wd4550 for VS7/VS71 compilers (expression evaluates to a
function which is missing an argument list).  There are no cases of
this warning currently, and if there were they would most certainly be
bugs.  This also allowed the warning suppression lists to be remerged
for VS7 and VS2005.
3. Decoupled intrinsic support decisions from PTR64 in eivc.h.
4. Fixed some VS7-specific issues (OPTIMIZE=0 at least compiles now).
That compiler doesn't support "long long" or "ll" (rsp.c/dkong.c).
5. Added a missing case statement in sm8500d.c.  Noticed while
reviewing dead code warnings.
6. Replaced a number of static constants with an enum in sidenvel.h.
This is unrelated to the rest of this patch, but it was overdue to be
done.
2008-01-24 14:24:59 +00:00
Aaron Giles
f446536f18 Minor spacing and clock cleanup. 2008-01-24 14:16:13 +00:00
Zsolt Vasvari
3815ec44e1 - Changed cpunum_set_input_line* functions to take running_machine as an argument
- Added that fix the arm7dasm, otherwise I couldn't compile the code
2008-01-24 14:14:21 +00:00
Zsolt Vasvari
f7c5c67e2e First in a series of updates to remove the use of the global Machine from as many places as possible 2008-01-24 09:12:03 +00:00
Zsolt Vasvari
c1af761bef Sorry, broke Wolfpack -- one line fix 2008-01-24 06:27:25 +00:00
Zsolt Vasvari
4ab04517cb - Changed S14001A emulator to allow setting the clock frequency instead of the clock multiplier. This is how the real chip works
- Changed the Berzerk driver to set the S14001A clock as per the schematics.  This proves that the schematics are correct and the comment suggesting the contrary can be removed.
2008-01-24 06:18:30 +00:00
Aaron Giles
587c293ee0 From: RansAckeR [mailto:RansAckeR@pandora.be]
Subject: scramble-800fath dip locations

Verified DIP locations from manuals for scramble and 800fath.
2008-01-24 06:18:11 +00:00
Aaron Giles
47d0b81153 Too early for this one.
Also moved the pce games into a separate library.
(General rule is 2 or more drivers files warrants its own library.)
2008-01-24 05:57:53 +00:00
Ryan Holtz
a67e5be6db Credit to SGINut.
Changes:
- ARM7: Added support for the BLX opcode in THUMB mode.
2008-01-24 04:10:40 +00:00
Zsolt Vasvari
f1d2bde333 Formatting 2008-01-24 02:42:13 +00:00
Zsolt Vasvari
6d5ae15ab0 Removed the freely distributable Exidy games' dependency on Berzerk. Mainly for tinymame.mak 2008-01-24 01:53:56 +00:00
Zsolt Vasvari
feb32d305f - Uses its own debug flag instead of MAME_DEBUG
- An hard errors, do fatalerror instead of returning 0
2008-01-24 00:56:22 +00:00
Zsolt Vasvari
e25cf85f37 Demoneye-X fixes
- Correct colors, perhaps not the background, but probably is
- Added some sound
- Marked it NOT_WORKING, due to the (still) missing 3rd gfx layer that makes it impossible to pass the 2nd level.  Don't suppose anybody has a PCB?  It would be helpful even if I knew what I was supposed to be seeing
2008-01-23 10:54:03 +00:00
Brian Troha
d9f2974694 added all the known BIOS dumps we have. Corrected one BIOS name
added info about region bytes & version numbers.
reordered the BIOS list a little, IE:
  Export
  USA
  Japan
2008-01-23 03:06:06 +00:00
Zsolt Vasvari
79dcd62c8a Rewrote and modernize driver:
- correct colors -- in places different from the manual's description, but matches the flyer perfectly
- added speech
- fixed AY-8910 sounds
- odds and ends
- for now, broke Demon Eye X, but I wanted to get this out
2008-01-23 02:00:08 +00:00
Couriersud
7d8f30ab32 audio/dkong.c:
* revert a change after sound regression in dkong.
2008-01-23 01:00:36 +00:00
davidhay
890acbc2cc credit RussiaWithLove
typo fix.
2008-01-22 23:46:14 +00:00
davidhay
e3e182ee3d credit RussiaWithLove
Multifish and Rollfruit don't appear to have any 'recent' revisions, so this adds just those.  Sets are simply based on public dats.
2008-01-22 23:45:07 +00:00
Brian Troha
3e7a5b2ee6 updated one dip switch for Schmeiser Robo 2008-01-22 21:45:26 +00:00
Aaron Giles
4cd030663c (From OopsWare)
Improved linear zoom effect resolution to address gaps in rendering.
2008-01-22 16:30:15 +00:00
Yasuhiro Ogawa
28166636d4 Changed YM2203 clock to 3MHz (compared against OST) 2008-01-22 11:28:24 +00:00
Zsolt Vasvari
cca576b152 - Removed VIDEO_START_CALL(generic) from all drivers not needing it, which were all of them
- Removed VIDEO_START_CALL(generic_bitmapped) from jpmimpct.  By the way, Clueo has a bug where the screen is not cleared properly obscuring instructional text.  This happens after the demo mode takes a photo of the  'body'
2008-01-22 06:52:34 +00:00
Zsolt Vasvari
171ec4b063 Missed one file, sorry 2008-01-22 06:25:30 +00:00
Zsolt Vasvari
15e2918401 Changed all other video_*, sound_*, etc. calls to use macros 2008-01-22 06:22:39 +00:00
Zsolt Vasvari
268595ffef Replaced driver_init_* calls with macro 2008-01-22 04:41:11 +00:00
Zsolt Vasvari
817b3526f9 Added a _CALL variant to all prototype macros. The use of these should make it easier to change the signiture of these function 2008-01-22 02:55:04 +00:00
Ryan Holtz
e52de27a57 Prepending non-static (as well as static, for consistency) N64 VI members with n64_* in order to reduce namespace collision potential. 2008-01-22 02:41:57 +00:00
Ryan Holtz
0960ad9d7b Note: Removing the static qualifier on vi_width is necessary for PIN64 captures to work. I'm not submitting my changes for PIN64 yet, but leaving it as non-static means one less thing I need to manually merge to get PIN64 working in whenever I update my tree.
- Final pass on single-stepping behavior [SGINut]
- Corrected VRCP element lookup [SGINut]
- Corrected unaligned DMA behavior [Ville Linde] (Ville, do you mind that I submit this?)
2008-01-22 02:11:24 +00:00
Zsolt Vasvari
2c63c6e3d4 Reversing previous submission. The AY8910 has so many ways it can be hooked, that it doesn't really make sense to designate any one as "natural" 2008-01-22 02:02:09 +00:00
Zsolt Vasvari
1a17348787 - Added read/write handlers for the "natural" hook-ups of an AY-8910 chip
- Modified a couple of drivers to use the new handlers
- Added crystals for NYNY and Red Alert
2008-01-22 01:19:59 +00:00
Jim Stolis
b6a82f1762 Fixed timers from firing when not enabled. Checking TCON alone is not enough to invoke timers. Added IE SFR flags in conditional. 2008-01-21 22:27:44 +00:00
Nicola Salmoria
b0e569464a fixed VRCP instruction to match the real hardware results 2008-01-21 21:41:33 +00:00
Aaron Giles
3924c0bc9c Updated clocks and video timing based on measurements.
Still waiting for a retest of the NMI frequency.
2008-01-21 18:18:53 +00:00
Zsolt Vasvari
13b727a2c3 This updates makes the text displayed by the various UI sliders more intelligent. Basically, it will only print an index for an item if there are multiple of a given type 2008-01-21 12:38:53 +00:00
Zsolt Vasvari
3f1caeac76 Tidied up variable and function naming 2008-01-21 09:02:17 +00:00
Zsolt Vasvari
892153bd09 - Fixed saving callbacks across a reset
- Added 'pull' callback for the SID pin.  This is needed by the Red Alert voice board
2008-01-21 08:58:19 +00:00
Nicola Salmoria
45995624ff fixed typo 2008-01-21 07:21:26 +00:00
Zsolt Vasvari
adcf70548a - Added MC3417 and MC3418 variants
- Changed Mouse Trap to use MC3417
2008-01-21 03:36:21 +00:00
Nathan Woods
08efd6203a Sync with MESS 2008-01-21 03:35:09 +00:00
Zsolt Vasvari
6f14cdf61a Removed weird, address bit swapping shared RAM r/w functions with AM_SHARE 2008-01-21 03:15:57 +00:00
Zsolt Vasvari
81a8efe80e - Fixes Ninja Kuna
- Cleaned up memory maps
- Renamed files to ninjakun.c
2008-01-21 01:53:30 +00:00
Aaron Giles
977903f2ed Careless! Broke mspacman. :) 2008-01-21 00:35:37 +00:00
Aaron Giles
ba63d916a3 Fixed default memory view width for CPUs with >byte-sized minimum
Made menu updating dynamic at click time, fixing issues with incorrect checkmarks
2008-01-21 00:29:29 +00:00
Aaron Giles
bf89fc2b8f Various fixes to incorrect dynamic RAM/ROM installation. 2008-01-21 00:28:44 +00:00
Andrew Gardner
a2432adeba Adds second, possibly newer, set of Night Stocker.
ROMs were downloaded from softwarethis.com and uploaded to /roms/current/n

One program ROM is different, which adds an additional screen in service mode.  I'm sure there are other differences as well.

I would have added the PAL dump, but it's all 0's, and I'm guessing that isn't correct.
2008-01-20 23:37:31 +00:00
Couriersud
f8ddfc19fa sound:
* added MDRV_SOUND_ROUTE_EX to specify target input channel
* added input id to route struct
discrete sound:
* fixed DISCRETE_INPUT_STREAM
* added input channel # to DISCRETE_INPUT_STREAM
2008-01-20 22:38:21 +00:00
Andrew Gardner
50f7b75476 Adds priority and alpha comments, as per Guru's request.
Documents various priority issues as being original game bugs, and makes note of a missing alpha effect.

These notes will likely live in a new bug database someday, but were added to the driver so they won't be lost in the short term.

If it's whatsnew worthy, credit Guru for his time spent testing.
2008-01-20 19:57:26 +00:00
davidhay
ccccc9c2e3 ninjakd2.c wasn't compiling. 2008-01-20 18:55:10 +00:00
Nicola Salmoria
7f233aa02f fixed dip switch description 2008-01-20 16:23:30 +00:00
Nicola Salmoria
3caf91c713 - MAMEtesters bugs fixed: ninjakd2_0111u3gra, mnight0102gre
- cleaned up and merged ninjakd2, mnight and omegaf drivers into a single driver
- added flip screen support to all games
- fixed sprite overdraw mode:
  - ninjakd2 congratulations screen (e.g. stage 3) shows japanese characters which were previously missing
  - in ninjakd2, at the beginning of a level items are visible during the initial fade in. I'm not sure if this is correct but the other effects wouldn't work otherwise
  - in mnight attract mode, when the big ship is firing the other sprites no longer leave trails
  - in mnight at the end of a level the screen is slowly filled with balls and then slowly cleared to begin the following level. Same effect in the death sequence during attract mode.
- added proper computation of sprites to be drawn taking into account double size sprites. This fixes sticking shots in mnight without need for a hack.
- lowered ninjakd2 PCM playback rate to 13020 (from 16000). This seems to sound better and is a round division from one of the master clocks.
- removed ROM patch that was used to avoid the input protection in omegaf, added a rough but effective protection simulation.
- corrected some dip switches
- hooked up sound cpu reset line
- simplified ROM loading for the older games swizzling address lines in driver init.
2008-01-20 15:17:23 +00:00
Zsolt Vasvari
34a413510d - Added the ability to the HC55516 emulator to take an external osciallator
- Updated Mouse Trap to use the new interface
2008-01-20 15:05:31 +00:00
Zsolt Vasvari
cb6dbf5369 - Fixed invalid memory_install_*_handler calls in drivers/williams.c
- Emulated external OR circuit for all drivers using the PIA chip.  This used to be internal to the PIA emulation, but, in fact, this is external logic.  The PIA has two seperate INTA and INTB out lines.  This fixes at least PlayBall
2008-01-20 14:59:04 +00:00
Bryan McPhail
bef6265307 Added comment based on Zsolt's work on Stadium Hero 2008-01-20 10:23:23 +00:00
Brian Troha
490406c7ea Corrects 2 dip names for Real Break thanks to Ruben ;-) 2008-01-20 03:54:41 +00:00
Brian Troha
1b05699a0b Fixes MAMETesters penbros0111u5gra
Also adds dip port locations
2008-01-20 03:52:26 +00:00
Brian Troha
4b50186839 partially addresses schmisr0111u5gra
Corrects the Demo Sounds dip, but doesn't map the "Tilt" key
2008-01-20 02:42:10 +00:00
Brian Troha
1e4f0cf68b Fixes realbrk0111u4gra
plus adds dip locations to Real Break
fills in a couple of dips for the Pachinko Gindama Shoubu games
2008-01-20 02:39:01 +00:00
R. Belmont
a5b1a9d238 Fixed minor issue with timers B&C expiring. 2008-01-20 01:19:02 +00:00
R. Belmont
d72fe28729 [ST-V] Fixed a double-free crash on the MESS side. 2008-01-20 01:02:28 +00:00
Couriersud
4696730bc8 mario:
* removed all traces to video/generic.h
* fix flipscreen issue with autosave
* on a hires pcb picture, verified resistor and capacitor values
2008-01-20 00:38:14 +00:00
Couriersud
729fa5efc6 memory.h:
* fixes AM_SIZE_MEMBER macro
2008-01-20 00:28:27 +00:00
smf-
95bf0aa007 switched to MDRV_IMPORT_FROM 2008-01-19 21:30:22 +00:00
Aaron Giles
5254f279d4 Need to actually set the pool fail callback when allocating a pool. 2008-01-19 20:38:14 +00:00
R. Belmont
797d75363b Preserve fractional part of sample offset when looping, fixes remaining pitch stability problems. 2008-01-19 17:10:10 +00:00
smf-
0818e4793b changed banking to memory_configure_bank / memory_set_bank
simplified golgo 13 gun reading
2008-01-19 15:20:12 +00:00
Nicola Salmoria
e5b2e1f8ee added tilemap_get_scrollx / tilemap_get_scrolly 2008-01-19 15:02:18 +00:00
Aaron Giles
be4bd611f0 mpatrol driver cleanup.
- merged memory maps
 - complete memory map
 - correct video timing
 - correct CPU clocks
 - replaced protection hack with actual implementation
 - cleaned up inputs
 - fixed mpatrol0117u2gre
2008-01-19 10:37:35 +00:00
smf-
6a3860d951 switched over to memory_configure_bank / memory_set_bank. 2008-01-19 08:59:34 +00:00
Zsolt Vasvari
19fab2e1ef Converted to tilemaps 2008-01-19 07:13:31 +00:00
Brian Troha
ac396dedd7 Credit Jim Stolis
Updated peplus.c with three new clones:
Jokers Wild Poker (PP0065)
Double Down Stud Poker (PP0250)
Standard Draw Poker (PP0447)
2008-01-19 05:29:58 +00:00
Aaron Giles
eef3b17f7e (From Atari Ace)
> This one line fix addresses the crash reported in newui0118u4ora. I
> think most of the other issues reported in the bug are fixed by this
> as well, but I didn't test this thoroughly. Perhaps we should close
> the bug and have the testers file a new bug if remaining issues are
> found.
2008-01-19 04:34:16 +00:00
Zsolt Vasvari
fcf7dd71a9 Changes the dynamic installation of MRA8_RAM to banks 2008-01-19 02:03:20 +00:00
Aaron Giles
ebbb610f72 More poor install_memory_handler usage. 2008-01-19 01:12:30 +00:00
Aaron Giles
cc2f4fdee5 Fixed incorrect install_memory_handler usage in the sega memory mapper. 2008-01-19 01:11:32 +00:00
Aaron Giles
5387f8bf52 Fixed compilation problems introduced with last change. 2008-01-18 23:45:54 +00:00
Couriersud
0c44c5388b tms5110.c
* added all known variants of the tms5110 as proper chips
* updated dkong, cvs and scramble to use new chips
2008-01-18 22:57:47 +00:00
Couriersud
b9cbc1af47 blktiger.c:
* fixes blktiger37b15gre by adding configuration switch "Coin Lockout present"
* combines memory maps
* input ports were tagged
* all reads use input port tags
* added dip switch locations from Romstar manual
2008-01-18 20:52:40 +00:00
Aaron Giles
5baa045d9d Marked HD6309 as divide-by-4 internally.
Updated drivers accordingly.
Major cleanup to the ddragon driver:
 - improved video and interrupt timing
 - consolidated common memory maps and input ports
 - added save state support
 - correct clocks
2008-01-18 20:37:32 +00:00
Couriersud
f9eb989e5b sauro.c:
* rename sp0256 internal rom to "sp0256-al2.bin" following LN's verification
* remove BAD_DUMP from sp0256-al2.bin
2008-01-18 19:38:28 +00:00
Aaron Giles
806a3de01c Made detection of dynamic attempts to install ROM/RAM handlers more aggressive.
Previous checks would not catch modifications in DRIVER_INIT or MACHINE_START calls.
Also changed one of the cheat calls back to using more generic switch detection so they can be triggered via joysticks.
2008-01-18 19:34:54 +00:00
Couriersud
457df1ad82 asterix.c
* fixes asterix_1055gre - flip issue
2008-01-18 19:30:05 +00:00
Couriersud
6f3bf9f10f audio/phoenix.c:
* fixed sound issue related to (auto) save states
2008-01-18 17:57:37 +00:00
Zsolt Vasvari
c60ef331ab Removed MDRV_VIDEO_START(generic_bitmapped) from drivers that don't need it 2008-01-18 17:05:36 +00:00
Zsolt Vasvari
94e64171ca - Removed no longer applicable assert from VIDEO_START(generic)
- Removed VIDEO_START(generic) from drivers that didn't need it.  This leaves about 8 drivers with it.
2008-01-18 16:45:06 +00:00
Zsolt Vasvari
32f25eb010 Removes all palette_X_r functions 2008-01-18 16:21:47 +00:00
Zsolt Vasvari
936c375e98 This fixes stadhero0122u3gre and stadhero0122u3ora. Looks like there are two banks of PF2 tilemaps. Maybe Bryan can look at what I did. 2008-01-18 15:24:46 +00:00
Zsolt Vasvari
c9520bca69 Fixes tylz0122u5red. Not money worthy 2008-01-18 13:10:45 +00:00
Nathan Woods
cb29c57606 Sync with MESS 2008-01-18 12:39:13 +00:00