Commit Graph

2834 Commits

Author SHA1 Message Date
Aaron Giles
ce7edb155d ldverify improvements:
- uses back-end decoding for CHDs directly to bitmaps
 - changed min/max detection to only check 0/255
 - fixed off-by-one bug in min/max computation
 - separated white code detection from frame number detection
 - track cadence with frame numbers as well as white codes
 - use vbiparse.h constants where appropriate
2008-09-29 02:26:20 +00:00
Couriersud
4021930758 Verified watchdog behaviour in schematics. 2008-09-28 18:08:43 +00:00
Andrew Gardner
889a589849 Fixes build with official dev tools. 2008-09-28 16:43:13 +00:00
Wilbert Pol
08e57e7e28 Converted the z80pio implementation into a device. 2008-09-28 15:32:18 +00:00
stephh
e8896b0416 Removed unneeded keys :
- UI_ON_SCREEN_DISPLAY (there is now a "Slider Controls" menu)
  - UI_ADD_CHEAT, UI_DELETE_CHEAT, UI_SAVE_CHEAT, UI_WATCH_VALUE, UI_EDIT_CHEAT, UI_RELOAD_CHEAT (these keys belonged to the old cheat engine)

A clean build is required and cfg/default.cfg has to be deleted !
2008-09-28 14:56:17 +00:00
stephh
490823b1aa Updated warpwarp.c driver :
- fix Mantis bug ID 02323 (this might not be the best way though).
  - reworked 'geebee', 'navarone' and 'warpwarp' INPUT_PORTS definitions by using conditional Dip Switches.
  - added 'geebeeb' INPUT_PORTS definition (this game has specific "Replay" settings).
2008-09-28 14:22:02 +00:00
Couriersud
197085900b 01090: invadpt2, sicv: Watchdog reset. 2008-09-28 12:07:27 +00:00
Couriersud
841649ee4c 02440: abcop, gprider1, rachero: abcop just shows a black flickering screen, rachero gives an error and crashes on exit 2008-09-28 11:03:24 +00:00
R. Belmont
a51c28697d Minor NSS/SNES cleanups [Fabio Priuli] 2008-09-28 01:13:07 +00:00
Aaron Giles
6c05b835a2 02442: -aviwrite produces faulty files 2008-09-27 22:48:52 +00:00
Aaron Giles
2a3301d0b9 Removed render_container_set_palette_alpha() hack. Now the alpha value
can be set directly in the palette entry and will be respected for
laserdisc overlays.
2008-09-27 22:05:30 +00:00
Couriersud
3959354577 02441: rdft22kc: rdft22kc just shows a black screen and fails to boot 2008-09-27 20:51:36 +00:00
Couriersud
e2e042dc14 02194: All Sets in othunder.c: Black screen, game does not start 2008-09-27 20:37:39 +00:00
Aaron Giles
9766dc2367 Changed MAKE_RGB macro to set the alpha to 255 instead of 0. Updated
palette.c to preserve the alpha when transforming palette values.
These changes should be transparent to almost all drivers and rendering
(ha-ha), but there may be an occasional instance where a driver relied
on the alpha being 0 in the system palette. This also means that the
palette_set_color() function preserves any alpha value that is set.

Changed Firefox to RGB32 to allow for mid-screen palette changes. Because
of the above change, the hacky alpha manipulation that was previously
required is no longer necessary; the alpha is set directly in the palette
entry.
2008-09-27 20:36:04 +00:00
Aaron Giles
c391ab646f 02410: -aviwrite: files over 2 gigs sometimes get cut off 2008-09-27 20:04:01 +00:00
Nicola Salmoria
9ff6c5bb96 added pen_mask tile attribute to the tilemap system.
implemented dynamic tile & sprite bit depth in the Taito F3 driver.
02024: pbobble3, pbobble4, ringrage and clones: Color Regression
2008-09-27 17:30:17 +00:00
davidhay
448984121f remove obsolete function in neocrypt.c 2008-09-26 21:12:43 +00:00
davidhay
c423c47d14 NeoGeo Update from Johnboy
(Guru, can you check that ms5pcb you have, the roms in MAME are now marked as NO DUMP)

Updated Neo-Geo game pcb infos
2020bba: Marked MVS and AES version
sonicwi2: Added correct sized v2
kof95 / kof95a:
	. Renamed kof95 to kof95h
	. Renamed p1 to correct chip label
	. Added note
	. Renamed kof95a to kof95
	. Renamed p1
samsho3 / samsho3a:
	. Renamed samsho3a to samsho3
	. Renamed samsho3 to samsho3h
	. Renamed p1 to correct chip label
	. Marked AES version
kof98 / kof98n:
	. Renamed m1 in kof98 to correct chip label
	. Renamed m1 in kof98n to correct chip label
	  (kof98n should be latest revision, cart had very high SN 1xx.xxx)
kof97: Marked MVS version
samsho5 / samsho5h:
	. Correct text layer size
	. Marked samsho5h AES version
neogeo:
	. Updated system set to what is found on NEO-MVH MV1FS
	. Added note
ms5pcb:
	. Hooked up bios dip
	. Renamed bios to correct chip label
	. Renamed p1 / p2 to correct chip label, marked NO_DUMP
	. Added note
2008-09-26 20:41:47 +00:00
davidhay
ef10dec73f para2dx rom should be good now. 2008-09-26 20:24:12 +00:00
Aaron Giles
229d598989 Cleanups and version bump. 2008-09-26 13:42:51 +00:00
Aaron Giles
6d7ed9b573 Reverted change 2915. 2008-09-26 13:31:31 +00:00
davidhay
d67de02bda getting there. 2008-09-26 08:10:28 +00:00
Couriersud
d9988a4f21 01187: gseeker: In attract mode, there is a priority error where a stealth bomber is coming out of a hanger. 2008-09-26 07:48:21 +00:00
davidhay
3e245f35a9 new game
--------

Paradise Deluxe 2 [Chris Hardy]

(redump of incorrect size roms pending)
2008-09-26 06:54:44 +00:00
Aaron Giles
8a78b0252d Hi,
compared to other emulator (i.e. kawak), mame does not perform very well in
terms of speed of emulation against Neo Geo games.

Looking at profiling data for these neo geo games, we can see :
---------------------------------------------------------
  %   cumulative   self              self     total
 time   seconds   seconds    calls   s/call   s/call  name
 18.40     18.80    18.80   971070     0.00     0.00  video_update_neogeo
 10.42     29.45    10.65     4416     0.00     0.00  texture_set_data
 10.06     39.73    10.28  1144463     0.00     0.00
sprite_line_timer_callback
  6.24     46.10     6.37 187970965     0.00     0.00  astring_cmpc
  3.77     49.95     3.85 35732143     0.00     0.00  memory_region
---------------------------------------------------------

I was wondering why functions like 'astring_cmpc' and 'memory_region' where
in the top 5 of the most time consuming functions.

The answer is found in the function 'draw_sprites' from
'mame/video/neogeo.c' where 'memory_region' is called for each sprites for
each VIDEO_UPDATE.
I patched mame in order to keep track of this 'memory_region'. This is done
in VIDEO_START via a global variable (region_zoomy) just like in some other
drivers.
2008-09-26 05:38:40 +00:00
Aaron Giles
decc35b5f2 From: Oliver Stoeneberg [mailto:oliverst@online.de]
Sent: Thursday, September 25, 2008 3:15 AM
To: submit@mamedev.org
Subject: using macros in UI message

This patch changes the message, that appears when no roms have been 
found, to use the macros instead of hard-coded strings
2008-09-26 05:32:29 +00:00
Aaron Giles
0f775dc84e From: Christophe Jaillet [mailto:christophe.jaillet@wanadoo.fr]
Sent: Wed 9/24/2008 2:00 PM
To: submit@mamedev.org
Subject: Speed up fillbitmap
Hi,

there are many places in mame which make use of "fill_bitmap" or the
equivalent "fillbitmap"

An optimisation is done when the depth of the bitmap is 16 or 32 bpp and
when the UINT16 or UINT32 corresponding to the color is composed of same
bytes (i.e 0xffff for example). This is usefull because most of the calls
are for color 0 (black).

In all other cases, the bitmap is filled one pixel at a time using a loop
with a code like :
================
    for (y = fill.min_y; y <= fill.max_y; y++)
    {
     UINT16 *destrow = BITMAP_ADDR16(dest, y, 0);
     for (x = fill.min_x; x <= fill.max_x; x++)
      destrow[x] = (UINT16)color;
    }

================


However, each rows of the final bitmap will be the same. So I modified this
simple assigned to work as follow :
    1) fill the first row one pixel at a time
    2) fill all the other rows by copying the first one.
This makes us use memcpy instead of a hard coded loop for most of the
filling process.
2008-09-26 05:31:34 +00:00
Aaron Giles
07d208cbbd From: Samuele Zannoli [mailto:samuele.zannoli@airmachine.it]
Sent: Tue 9/23/2008 1:16 PM
To: submit@mamedev.org
Subject: More naomi ...
Hi.

This patch shows the contents of the framebuffer if the 3d accelerator is
not used so that now the atomiswave logo and messages are shown (if you
wait enough).
Removes a maple bug (no more strange messages in cvs2gd).
Improves documentation of the communication registers with the dimm board.
And if DEBUG_VERTICES is defined as 1 the vertices sent to the tile
accelerator are collected and then drawn connected by a segment to give a
wireframe-like view of the scene.

Bye,
 Samuele Zannoli
2008-09-26 05:27:40 +00:00
Aaron Giles
3d65b57f77 From: Micko [mailto:mmicko@gmail.com]
Sent: Tuesday, September 23, 2008 4:46 AM
To: Aaron Giles
Subject: 8080 bug

To fix this bug : http://mametesters.org/mantis/view.php?id=2322
 
a part of my code should be removed.
 
It seams that this feature I have added is only available on KP580BM80A (Russian clone of this processor).
 
So until I make a new patch (that support this clone processor)  please apply this to fix MAME drivers.
 
Thanks,
Miodrag
2008-09-26 05:27:00 +00:00
Aaron Giles
390e9f007c From: abcd efgh [mailto:cix_999@yahoo.it]
Sent: Mon 9/22/2008 3:15 PM
To: submit@mamedev.org
Subject: Better Input clean in system1
I've re-made the job better than last time (i hope), clean up the inputs in system1, next time i'll fix all dips location.
Bye Sonikos.
2008-09-26 05:26:15 +00:00
Aaron Giles
0f3e79564d From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Sunday, September 21, 2008 10:45 AM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] More static qualifiers

Hi mamedev,

Another static function update from yours truly, almost entirely
affecting code added in the last few months to MAME.  The fixes are
the usual lot, changing enum definitions so they aren't declared,
decorating dead code/declarations with #if...#endif, and of course,
adding static where appropriate.  In addition, I fixed a bunch of
UNUSED_FUNCTON symbols to be spelled correctly (I didn't introduce
this).

~aa
2008-09-26 05:25:11 +00:00
Aaron Giles
844dca9402 -listroms knows about device-specific ROMs now. 2008-09-26 05:00:14 +00:00
Couriersud
f82a2aa779 Move memory_region calls into initialization routines. 2008-09-25 23:07:50 +00:00
davidhay
55f42eed2c copy + paste error in geebeeg romset? 2008-09-25 22:19:38 +00:00
Aaron Giles
4ef4716752 Changed indytemc to use the new BIOS stuff. 2008-09-25 16:28:57 +00:00
Aaron Giles
ed87d81e3d From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Sent: Thursday, September 18, 2008 6:01 AM
To: submit@mamedev.org
Subject: fix for MT 2252

1 line fix (silly mistake that I was sure I had fixed BEFORE sending the patch) :(

Regards,

    Fabio

---

From: Fabio Priuli [mailto:doge.fabio@gmail.com] 
Sent: Friday, September 19, 2008 1:15 AM
To: submit@mamedev.org
Subject: Fix for MT 2258

Regressed in 126u3 due to a wrong tag. Fixed.

   Fabio

---

enclosed please find a patch which makes non-static two pointers to i/o handlers and includes them in megadriv.h. This makes possible for external drivers (in particular MESS genesis emulation) to define elsewhere their own input handlers and to feed them to the megadriv.c routines.

---

From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Sent: Mon 9/22/2008 2:15 PM
To: submit@mamedev.org
Subject: fix for MT 2254
Hi,  

enclosed please find a patch which fixes bug 2254. Tags were switched. Thanks to Haze for noticing the root of the problem.

Regards,
    Fabio
2008-09-25 16:27:01 +00:00
Aaron Giles
9b72b5abc4 Added 22VP931 emulation, which is mostly working. Communication works
fine and basic searching/playback/skipping is functional. Still a bit
glitchy.

Firefox improvements:
 - removed need for deprecat.h
 - memory map is complete from schematics
 - gutted laserdisc hacks in favor of actual laserdisc implementation
 - fixed all CPU and sound clocks
 
Removed old laserdsc.c implementation.

Added generic timer devices, which simply allocate a timer but don't
prime it. This is the preferred method for allocating timers, and may 
eventually be the only mechanism for doing so in the future.
2008-09-25 16:21:35 +00:00
Wilbert Pol
e4dc04a323 rescale_notifier() changed to always allow rescaling for screenless drivers. 2008-09-25 10:02:46 +00:00
R. Belmont
45c7d1a094 System 23: fixed sound CPU shared RAM. comms not yet correct. 2008-09-25 03:26:41 +00:00
Couriersud
924e6acf54 Change timer_t to emu_timer * 2008-09-24 21:25:09 +00:00
Couriersud
2376fc84ad 02024: pbobble3, pbobble4, ringrage and clones: Color Regression
* set tile_bpp and sprite_bpp to 4. This reenables previous behaviour for theses games.
2008-09-24 20:23:31 +00:00
Couriersud
28173a071d leland ay8910/12 have all outputs tied together 2008-09-24 19:55:00 +00:00
Couriersud
df41a23888 02191: wseries, basebal2, dblplay, strkzone: Speech quality regression
* use a timer to update dacs per scanline
2008-09-24 19:54:03 +00:00
Aaron Giles
fad77cb08e Fixed AF calculation in mcs48. 2008-09-24 15:54:13 +00:00
R. Belmont
60fd22db00 Updates
System 23:
* Added Rapid River readme
* Adjusted Gorgon h/w MIPS clock to 133 MHz based on readme
* Renamed GP500 to 500GP, which is it's correct name

Game Cristal:
* Use correct BIOS [f205v]

Uploaded to roms/current/g.
2008-09-24 13:34:18 +00:00
R. Belmont
5564389ead Add alternate version of "GameCristal" MAME bootleg.
Includes mamedriv.c I missed with the System 23 checkin.

New games marked as GAME_NOT_WORKING
------------------------------------
GameCristal (version 2.613) [ANY, f205v]
2008-09-24 03:45:21 +00:00
R. Belmont
8e3cd1573d 65816/377xx: fix disassembly of BRL [ShimaPong] 2008-09-24 03:25:11 +00:00
R. Belmont
53bb5e5107 System 23 updates:
* Fixed text layer to show (colors are wrong)
* Added very preliminary support for Gorgon h/w
* Added Rapid River and an alternate Time Crisis 2

New games marked as GAME_NOT_WORKING
------------------------------------
Rapid River (RD3 Ver. C) [Guru, R. Belmont]
Time Crisis 2 (TSS2 Ver. B) [Guru]
2008-09-24 01:27:29 +00:00
Couriersud
a6624fbce7 Fixed typo and added explanation 2008-09-23 20:08:53 +00:00
davidhay
07a34e9cd3 New Games
---------

Chanbara [Tomasz Slanina, David Haywood]
2008-09-23 18:35:10 +00:00