Commit Graph

2815 Commits

Author SHA1 Message Date
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
smf-
bc3fdbecd7 removed sprite to tile priority, it doesn't exist. 2008-09-22 21:47:00 +00:00
Couriersud
42dc413890 02156: naughtyb: Wrong RESNET calculation of the green component.
* RGB circuit is driven by a 7407 open collector IC
2008-09-22 20:51:04 +00:00
Aaron Giles
990ef98b53 02280: any set with multiple CPUs: Disassembler freezes when doing a Run on any CPU other than CPU 0 2008-09-22 06:06:23 +00:00
R. Belmont
aca7c102f4 NB1/2: Fixed dips, added diplocations, used latest idioms. 2008-09-21 20:16:06 +00:00
R. Belmont
d0ee12bc4c NB1/NB2: fix default dips. IMPORTANT: you must delete all cfg and nv files for these games! 2008-09-21 16:17:27 +00:00
davidhay
0ccf1e16da reworked neogeo m1 decryption a little [Andreas Naive] 2008-09-20 21:58:34 +00:00
davidhay
acf1eb7cb8 fix some comments 2008-09-20 20:57:57 +00:00
davidhay
ff996589e3 fixed kf2k3pcb decrypt, the checksum (used to generate the key) must be calculated BEFORE the additional bitswap is applied. 2008-09-20 20:34:22 +00:00
davidhay
41e49963f0 the neogeo m1 key is actually generated from a checksum of the first 64kb of the m1 rom (confirmed on real hardware) [cyberwillis] 2008-09-20 20:26:29 +00:00
davidhay
df77920f75 typo 2008-09-20 12:00:00 +00:00
davidhay
3b6ebfba72 ms5pcb decryption is the same, rom was bad 2008-09-20 11:53:46 +00:00
Roberto Zandona
75c3ea62a7 removed unused variable 2008-09-20 09:59:41 +00:00
davidhay
9685c7cf7d decrypt ms5pcb m1 rom, it uses a different bitswap in one of the stages [Andreas Naive] 2008-09-20 07:31:33 +00:00
Andrew Gardner
49c8293fd9 Rewrite of the Motorola DSP56k disassembler. (Andrew Gardner)
(Same changelog as before - found another couple - not worth adding to whatsnew)
2008-09-19 02:49:18 +00:00
Andrew Gardner
66954044d1 Rewrite of the Motorola DSP56k disassembler. (Andrew Gardner)
* Fixes branch relative offset decoding.
2008-09-19 02:28:20 +00:00
Andrew Gardner
e5efb8a895 Rewrite of the Motorola DSP56k disassembler. (Andrew Gardner)
* Removes arbitrary opcode groupings in favor of flat decode model.
* Fixes a number of small issues with unknown opcodes.
* Added the final ALU parallel move ops.
2008-09-19 02:07:52 +00:00
Phil Bennett
b65671f81b Comment out a printf statement. 2008-09-18 23:08:28 +00:00
davidhay
6a3f53319a Correct NeoGeo M1 decryption for all CMC50 sets except ms5pcb [Andreas Naive]
I've ported Andreas' code over, it doesn't work for ms5pcb, there is probably an additional lineswap or something, I've asked him to look at it.  Some of the bootlegs are still using decrypted roms but that should be correct IMO.
2008-09-18 22:34:49 +00:00
Phil Bennett
49b0c4feb3 New games added or promoted from NOT_WORKING status:
TX-1 (Atari/Namco/Taito license) [Phil Bennett, Guru]
2008-09-18 21:36:17 +00:00