Commit Graph

7632 Commits

Author SHA1 Message Date
Aaron Giles
201ea424db Get rid of explicit resource tracking for state saving. Now we just use
the auto_ allocators, since registration is restricted to initialization.
2009-12-23 16:44:55 +00:00
Aaron Giles
680184085a Added "new" command -listdevices (or -ld) to list the devices attached
to a driver. I notice that MESS has a command with the same name; hopefully
the behaviors can be combined eventually.
2009-12-23 16:37:09 +00:00
Aaron Giles
caf41f8f39 Fixed recent regression reports.
Converted rtc65271 to a device.
2009-12-23 16:16:12 +00:00
Fabio Priuli
edaf5442b9 Updated konamigx.c, tmnt.c and mystwarr.c to use eeprom device (and removed init hacks)
Added missing save items in konicdev.c

Also, cleaned up tmnt.c from some dead code I forgot to remove earlier
2009-12-23 08:09:18 +00:00
Roberto Zandona
2b0dc14468 cb2001: added 2 opcodes 2009-12-23 06:59:05 +00:00
Andrew Gardner
06bdbdbe52 Reworked the polygon chunk recovery code to be more crash-proof.
Documented what's known about the 3d data much better.
Fixed vertex ROM loading for fatfurwa and buriki.

(No games should segfault anymore, but they all appear to use the hardware in different ways, 
so this could be fun.)
2009-12-23 06:56:15 +00:00
Aaron Giles
7eace0d29e EEPROM device now looks for a matching memory region to fetch the
default values from. Fixed bug in ROM loader that would change the
memory region flags to match devices with no address bus. Updated
groundfx to use the new default loading scheme.
2009-12-23 06:06:20 +00:00
Angelo Salese
656c6e1f2e Spark Man: Refactored the protection, implemented thrash protection that's used after the title screen 2009-12-23 00:56:16 +00:00
Fabio Priuli
5719b6c623 Converted gaelco3d.c to use eeprom device code. This fixes the regression reported by Tafoid. 2009-12-23 00:24:10 +00:00
Fabio Priuli
367be04864 Updated asterix.c, gijoe.c, hornet.c, lethal.c, moo.c, overdriv.c, rungun.c, vendetta.c, xexex.c & xmen.c to use eeprom device
Also, removed eeprom init hack in all the above drivers and in simpsons.c
2009-12-23 00:10:54 +00:00
Angelo Salese
74966517a9 Fixed sprite bank bit in Spark Man 2009-12-22 23:52:33 +00:00
Roberto Zandona
aa0c3f245f cb2001: 6 new opcodes 2009-12-22 22:45:58 +00:00
Brian Troha
cfecdd9fac New Clone add: Mortal Kombat 4 v1.0 (not working)
Roms pass the self test, but the 3D is messed up.  Aaron will have to check into that.

from the DU list: "credit goes to xrodney (from
Malta, Europe) with the help of HobbyRoms and Patrick McCarron".
2009-12-22 22:44:30 +00:00
Fabio Priuli
742e9eccc9 uncommented a line (my mistake in previous commit) 2009-12-22 22:04:16 +00:00
Fabio Priuli
e9fe258647 Fixed gigamn2 problem at init (and a second issue with sound banking)
Also, done a small cosmetic change to pgm.c (not worth to be mentioned)
2009-12-22 21:50:42 +00:00
Roberto Zandona
b6161dc7f5 cb2001 added 3 opcodes 2009-12-22 20:58:41 +00:00
Angelo Salese
62a8aa1675 Added flickering effect in Super Slams title screen [Angelo Salese, Guru] 2009-12-22 19:18:07 +00:00
Roberto Zandona
8cf551295f cb2001: fixed two opcodes 2009-12-22 18:06:49 +00:00
Fabio Priuli
42dfa7d420 updated plygonet.c to use Konami video devices and input_port_write for eepromdev_read_bit
added supports save flag to cvs.c since Aaron's recent work fixed the remaining issues
2009-12-22 17:56:23 +00:00
Aaron Giles
953ef60d7b Quick cleaning of eepromdev. 2009-12-22 15:33:36 +00:00
Aaron Giles
354a6677eb Converted eeprom to eeprom device in simpsons and plygonet.
This begs the question: shouldn't we remove the auto-init hacks
from games like simpsons? We force most other Konami games to use
the F2/F3 reset technique.
2009-12-22 15:27:42 +00:00
Fabio Priuli
ff7213f6f1 Added save states to ics2115 sound device
Added driver data struct and save states to psikyo.c and pgm.c

Added driver data struct to psikyo4.c and psikyosh.c
2009-12-22 14:49:27 +00:00
Phil Bennett
30dff4284a New clones added
----------------

Pipi & Bibis / Whoopee!! (Z80 sound cpu, set 2) [Dlfrsilver]
2009-12-22 11:26:02 +00:00
Phil Bennett
d4553e147a New clones added
----------------

Caveman Ninja (bootleg) [Dlfrsilver] (NOT WORKING)
2009-12-22 11:16:56 +00:00
Aaron Giles
607d93047b Last round of fixups based on Tafoid's regression list.
Please report anything else you find.
2009-12-22 07:10:15 +00:00
Jonathan Gevaryahu
3d59567c5d Fix megadrive emulation to use the SMSIII version of the sn76489 sound chip.
[Lord Nightmare, DFJustin]
2009-12-22 06:54:37 +00:00
Fabio Priuli
9656342b9a Updated bishi.c and djmain.c to use Konami video devices
Removed unused VIDEO_START from tmnt.c
2009-12-22 01:32:15 +00:00
Phil Bennett
e2368bf447 New clones added
----------------

Blood Bros. (set 3) [Dlfrsilver]
2009-12-22 00:54:13 +00:00
Angelo Salese
33c2b67c39 Fixed Brick Zone parent set bitplane graphics 2009-12-22 00:33:10 +00:00
Phil Bennett
2434ce3fab Eliminated the use of generic.colorram and generic.videoram in several drivers [Atari Ace]
---------- Forwarded message ----------
From: Atari Ace <atari_ace@verizon.net>
Date: Mon, Dec 14, 2009 at 5:43 AM
Subject: [patch] Eliminate generic.colorram
To: submit@mamedev.org
Cc: atariace@hotmail.com


Hi mamedev,

generic.colorram and generic.videoram are unused by the MAME core, and
are simply slots convenient for driver use.  As such, the drivers are
better off using their own driver_data slots for these.  To discourage
further use of colorram, this patch eliminates all current uses of it,
and the uses of videoram as well in the affected drivers.  This is
partially a retrograde step, since ideally we'd like to introduce the
driver_data structs as well for these drivers, but eliminating
colorram and disentangling the various uses of generic makes it on the
balance an improvement IMHO.

~aa
2009-12-21 23:26:32 +00:00
Phil Bennett
2fd263c18b Removed the global "includes" include and instead specify the "includes" path in all #include occurences. [Oliver Stoneberg]
---------- Forwarded message ----------
From: Oliver Stöneberg <oliverst@online.de>
Date: Sat, Dec 12, 2009 at 3:27 PM
Subject: includes cleanup
To: submit@mamedev.org


This patch removes the global "includes" include and explcitly
specifies the "includes" path in all #include occurances.
2009-12-21 23:09:02 +00:00
Roberto Zandona
6e99f3e7c8 cb2001 another opcode 2009-12-21 22:49:57 +00:00
Fabio Priuli
8b75692d5c Updated dbz.c, lethal.c, metro.c, rungun.c, tail2nos.c, tmnt.c, ultraman.c, wecleman.c, xmen.c & zr107.c to use Konami video devices instead of konamiic.h code 2009-12-21 22:28:54 +00:00
Roberto Zandona
1becf25fd5 cb2001 more decrypted opcodes 2009-12-21 22:17:25 +00:00
Brian Troha
432b5eca8e found matching CRC32 checksums for files that had different names. Converted the wrong name to the proper rom label 2009-12-21 22:14:58 +00:00
Roberto Zandona
40716c8bdc cb2001: added another opcode and confirmed two opcodes 2009-12-21 19:51:16 +00:00
Roberto Zandona
ab47438586 cb2001: added 3 new opcodes and some info about the relation between cmv4 and cb2001 2009-12-21 19:32:20 +00:00
Fabio Priuli
c3b3bf2f93 Fixed silly regression introduced in suprslam while trying to fix f1gp2 (in svn 7621). Also, decided for fixed linectrl ram in 053936 2009-12-21 17:14:28 +00:00
Phil Bennett
685bac3770 Removed deprecated core function decodegfx() [Christophe Jaillet]
---------- Forwarded message ----------
From: Christophe Jaillet <christophe.jaillet@wanadoo.fr>
Date: Mon, Dec 14, 2009 at 9:56 PM
Subject: Removal of a deprecated function
To: submit@mamedev.org


Hi,

a function in "drawgfx.c" is declared in "deprecat.h"
This function ("decodegfx(...)") is not used any more in the code, so it
could be removed.

Hope this help.
Best regards,

CJ
2009-12-21 16:32:45 +00:00
Phil Bennett
bc485032d7 03583: Windows Debug: Stack crawl is not generated anymore [Oliver Stoneberg]
---------- Forwarded message ----------
From: Oliver Stöneberg <oliverst@online.de>
Date: Tue, Dec 15, 2009 at 5:40 PM
Subject: Stack Crawl
To: submit@mamedev.org


This patch enables the stack crawl on windows platforms again (bug
3583).
2009-12-21 16:25:32 +00:00
Aaron Giles
ead42740ca And some more. Converted the ds2404 to a device along the way. 2009-12-21 16:10:00 +00:00
Aaron Giles
a9697769d9 A few more fixes. 2009-12-21 10:06:40 +00:00
Aaron Giles
90c6e390f0 2nd batch of initialization cleanups. 2009-12-21 08:34:28 +00:00
Scott Stone
9f87b44bbd Added Guru's board notes to the Outrun/Super Hang-0n Driver. 2009-12-21 03:20:54 +00:00
Brian Troha
002000c4fb fix a typo in a rom name correction for the merit.c driver 2009-12-21 02:10:08 +00:00
Brian Troha
69bd1e2df4 more rom name corrections for the merit.c driver [Brian Troha]
don't mention this part:
I had to download the zips and info text files from softwarethis.com and compare the CRC32 values of the file then match the file with info for the correct rom label. Big thumbs down for the naming convention when dumping the roms (IE: metit2_1.1 ect), but at least a thumbs up for making and keeping the info files with correct label info.
2009-12-21 02:05:11 +00:00
Aaron Giles
d0af9ba1e8 First round of fixes for post-initialization allocs.
In the process, converted 7474, 74148, and 74153 to
devices.
2009-12-20 23:57:25 +00:00
Angelo Salese
8a90eaaa0b That's why I hate blind faith... 2009-12-20 21:22:53 +00:00
Angelo Salese
6293f5e1be Reorganized parent-clone relationship in sranger and friends (no whatsnew) 2009-12-20 21:20:46 +00:00
Angelo Salese
3e9821a222 Worked around protection in sranger, srangerw and srangerb [Angelo Salese] 2009-12-20 21:16:34 +00:00
Scott Stone
486408ca6c Fixed both:
03589: mystston, myststono: VSYNC does not match original PCB [Corrado Tomaselli]
03588: mystston, myststono: Music is faster than original PCB [Corrado Tomaselli]
2009-12-20 21:12:07 +00:00
Scott Stone
290de3bfc6 Fixed 03592: outrun, outrunra, outruno, outrundx, outrunb: Master clock is incorrect.
I also made all clock values XTALs in segaorun.c.
2009-12-20 20:34:51 +00:00
Ryan Holtz
9f1f17d6cd Forgot a few files. 2009-12-20 20:34:01 +00:00
Ryan Holtz
7ab8a6d8f6 More RDP optimization through branch flattening. [Harmony] 2009-12-20 20:12:04 +00:00
Roberto Zandona
dd5315d0ce chnged an opcode (no whats new) 2009-12-20 19:38:49 +00:00
Brian Troha
2979b1329f fix spelling and wording from the last merit.c update. 2009-12-20 19:14:08 +00:00
Brian Troha
2c3fc7437a Corrected several rom names in various sets. Cleaned up some white space. Added misc notes about alternate rom labels and question sets. [Brian Troha] 2009-12-20 19:07:38 +00:00
Angelo Salese
9045f619dd Fixed sprite-tilemap priorities in Super Slams [Angelo Salese] 2009-12-20 17:36:28 +00:00
Roberto Zandona
38ccda1646 added ay8910 and 8255ppi devices
added some info about relation between cmast91 and cb2001
2009-12-20 17:26:43 +00:00
Aaron Giles
30d57e3f48 Minor drc improvments:
- simplified RSP's misaligned memory accesses
 - removed now-unnecessary shifts from direct memory accesses in
    mips3/powerpc drcs
 - optimized AND with 0xff/0xffff/0xffffffff cases for x86/x64
 - added rudimentary memory/register tracking in x86 backend to
    remove redundant loads
2009-12-20 15:21:26 +00:00
Fabio Priuli
f0358680a7 Updated ajax.c, bottom9.c, chqflag.c, rollerg.c, spy.c, surpratk.c to use Konami video devices 2009-12-20 15:18:01 +00:00
Scott Stone
c328e6c190 1943.c - Added comment to document the special procedure needed to access all Service Mode tests. 2009-12-20 04:06:16 +00:00
Ryan Holtz
d47b36dae1 Optimized N64 RDP renderer by using function pointers to function variants that eliminate costly branches. [Harmony] 2009-12-20 01:10:21 +00:00
Couriersud
c58957452c Fix 64-bit compile 2009-12-19 23:37:21 +00:00
Couriersud
3af4cd9bec Added option "numprocessors"
-numprocessors <auto|value>
        Specify the number of processors to use for work queues. Specifying
        "auto" will use the value reported by the system or environment 
        variable OSDPROCESSORS. To avoid abuse, this value is internally limited
        to 4 times the number of processors reported by the system. 
        The default is "auto".
2009-12-19 23:12:07 +00:00
Scott Stone
da19077b98 gomoku.c, sspeedr.c - Added DIPS and changed clock values to XTAL
nitedrvr.c, tourtabl.c - Changed clock values to XTAL
2009-12-19 21:51:30 +00:00
Angelo Salese
3b659a1211 luckgrln: Implemented CRT Controller hook-up 2009-12-19 18:21:01 +00:00
Angelo Salese
f3ba692e44 removed a pointless log 2009-12-19 15:48:36 +00:00
Angelo Salese
a7df1ce05f Fixed a bunch of protection quirks found in Cross Bingo.
(And yes, they won the prize "lamest protection ever" by protecting the attribute RAM of a tilemap element...)
2009-12-19 15:23:28 +00:00
Angelo Salese
5aa4e7d8b8 New Working game
----------------

Poker Carnival [David Haywood, Angelo Salese]
2009-12-19 14:58:48 +00:00
Phil Bennett
b377e78e73 New clones added
----------------

ST-V BIOS 1.11 [2 sets - Japan and Taiwan] [XingXing]
2009-12-19 14:55:52 +00:00
Fabio Priuli
707c4d14cc updated gradius3.c, mainevt.c & gijoe.c to use Konami video devices 2009-12-19 14:32:33 +00:00
Phil Bennett
b1293d18ac Fix crash in tilemap viewer when driver has no tilemaps (no whatsnew) 2009-12-19 14:28:22 +00:00
Angelo Salese
06c1f8edbf Fixed decryption in Cross Bingo [David Haywood] 2009-12-19 14:07:36 +00:00
Phil Bennett
123f4decc7 Fixed NULL pointer dereference in tilemap_set_flip_all() when game has no tilemaps (no whatsnew) 2009-12-19 14:04:10 +00:00
Aaron Giles
c3fb047204 Added new profiler bucket for DRC recompilation.
Removed a number of extraneous sign extensions from the RSP DRC.
2009-12-19 08:50:34 +00:00
Brian Troha
0995630b65 Update the Asian Phoenix Hyper Street Fighter 2 to use the same hs2.07 rom instead of the calling the rom hs2a.07 2009-12-19 06:23:00 +00:00
Ryan Holtz
2e65d4a968 RSP recompiler improvements / optimizations: [Harmony]
- Split SATURATE_ACCUM into a signed and unsigned version to reduce stack usage.
 - Corrected an issue with the 0h variants of VMRG, VAND, VNAND, VOR, VNOR, VXOR and VNXOR.
 - Slightly optimized unaligned reads and writes
 - Optimized unaligned dword reads
 - Corrected an issue where badly-written RSP programs could jump to invalid addresses
2009-12-18 23:14:19 +00:00
Angelo Salese
6bbda18272 Added a bunch of inputs for Victor 21 2009-12-18 19:37:40 +00:00
Aaron Giles
21a522e0ee Clean up initialization, timer usage, memory management in several
drivers.
2009-12-18 17:56:25 +00:00
Angelo Salese
0baad6db2c New Working game
----------------

Victor 5 [David Haywood, Angelo Salese]

(Protection is way much easier than expected...)
2009-12-18 17:56:01 +00:00
Scott Stone
691d9cacb5 hexa.c - Added DIP LOCATIONS as well as assigned XTAL for the clock speeds, using those from Arkanoid, since the boards are nearly identical in many aspects.
Comments:  I've noticed enough similarities in this game to Arkanoid to consider merging this into arkanoid.c, or establishing a drkorea.c file containing Hexa and Tetris (D.R. Korea) version which is already in arkanoid.c.  Any thoughts?
2009-12-18 17:41:09 +00:00
Angelo Salese
f176f8198d New Working game
----------------

Victor 21 [David Haywood, Angelo Salese]
2009-12-18 13:49:48 +00:00
Angelo Salese
8ac68d079a Fixed input ports in Victor 5 / Victor 21, I'll hook-up inputs on a later date 2009-12-18 12:53:42 +00:00
Angelo Salese
18aa27260b Fixed display in Victor 21 [David Haywood] 2009-12-18 12:32:18 +00:00
Fabio Priuli
adf3319b1c Made machine->gfx[num] choice (when starting Konami devices), independent of the device order
Updated overdriv.c to use the Konami video devices

Commit of machine/simpsons.c that I forgot to commit earlier (sorry)
2009-12-18 12:30:33 +00:00
Miodrag Milanovic
ef4d608713 SCMP assert fix (No whatsnew is needed) 2009-12-18 11:55:30 +00:00
Fabio Priuli
8a363b4e08 Improved a few Konami device interfaces, moved most rom deinterleaving to DEVICE_START and fixed k053250 (init and handlers)
Updated parodius.c, simpsons.c, thunderx.c, vendetta.c and xexex.c to use the new video devices
2009-12-18 09:00:09 +00:00
Aaron Giles
e6e51ca4bc Fix MSVC warning. 2009-12-18 06:41:20 +00:00
Angelo Salese
6153136640 Added preliminary inputs to Victor 5, also noticed that this game is actually protected (card combinations + prize counts). 2009-12-17 21:29:14 +00:00
Angelo Salese
279beb1db8 Improvements to Victor 5, Victor 21 and Cross Bingo [David Haywood, Angelo Salese] 2009-12-17 20:55:44 +00:00
Angelo Salese
2391c9aa79 Added preliminary decryption to Victor 5, Victor 21 and Cross Bingo [David Haywood]
Decoded Cross Bingo proms [Angelo Salese]
2009-12-17 19:21:19 +00:00
Scott Stone
5511f14f12 ggconnie.c - Added DIP LOCATIONS to match those showing in service mode. Added game year to source from title screen. 2009-12-17 16:54:50 +00:00
Angelo Salese
38c85d8f57 Obviously me isn't me if I don't do silly errors :/ 2009-12-17 16:53:45 +00:00
Angelo Salese
9cabaac449 New Working game
----------------

Shark Party (Italy, v1.3) [David Haywood, Angelo Salese]
2009-12-17 16:48:36 +00:00
Angelo Salese
78b266473b Decrypted Shark Party, game now boots without inputs [David Haywood] 2009-12-17 16:15:13 +00:00
Fabio Priuli
468decb293 Converted aliens.c, blockhl.c, crimfght.c and gbusters.c to use Konami video devices 2009-12-17 07:20:15 +00:00
Fabio Priuli
93878fd7c2 Fixed crash in cpspicb games (audiocpu is disabled -> no banks) and removed bankptr from fcrash.c 2009-12-17 06:43:37 +00:00
Fabio Priuli
bb388def9e Fixed 32bit compile (un-commented a line in konicdev.c)
I had missed this because I tested a debug+symbols build and it ignores warnings. my bad
2009-12-17 06:32:20 +00:00
Andrew Gardner
1a8d95b3de Re-implemented 3d rasterization in the hng64 driver as a FIFO system.
(This unfortunately didn't solve the flicker problem, but there 
are other theories as to why that happens.  They will be tested
soon.)

(But first I'm going to try to get the 3d rendering in games other
than fatfurwa and buriki)
2009-12-17 05:05:10 +00:00
Brian Troha
002508ee0c clean up whitespace from last naomi.c update 2009-12-17 03:03:26 +00:00
Brian Troha
c7b847a113 adds new Naomi 1 & 2 Export BIOS
Adds newer Export BIOS to the GD-ROM BIOS list (both G & H)
Removed redundant comment about F355 BIOS

No whatsnew please ;-)
2009-12-17 02:58:39 +00:00
Ryan Holtz
0534f875b9 Fixing the RSP disassembler, no whatsnew. 2009-12-17 02:18:15 +00:00
Brian Troha
3a3b1e4519 mark the 07 rom in the set Hyper Street Fighter 2: The Anniversary Edition (Japan 031222) as a bad_dump. The "Japanese" 07 rom differs by a single bit. Marking it as bad will hopefully get a redump at some point. 2009-12-17 01:58:58 +00:00
Scott Stone
e79bc04fc2 sbowling.c - Added proper COINAGE selections as well DIP LOCATIONS to the driver. Added mapping for button 1 which is used to allow change from curve to straight throw. Replaced clock speeds with XTAL values. 2009-12-17 00:48:03 +00:00
Ryan Holtz
60ba4bbfad Fixing Aleck 64 games from hanging, forgot a file. No whatsnew... 2009-12-16 23:49:58 +00:00
Ryan Holtz
f9045e7268 [RSP] Preliminary RSP recompiler, with all vector ops stubbed out to C functions for now. [Harmony] 2009-12-16 23:26:58 +00:00
Angelo Salese
6a6b1eb094 Actually fixed colors for good 2009-12-16 22:22:11 +00:00
Angelo Salese
ea3dd72d94 Super Rider: improved bitplane order and colors 2009-12-16 22:16:56 +00:00
Fabio Priuli
dc96a004e6 some more Konami work (again):
* fixed 053936 init which was giving problems to f1gp2 (in debug build only, apparently)

* removed banptr preventing proper save states in rockrage.c: now save works fine

* added driver data struct and saves states to f1gp.c, fastlane.c, flkatck.c, hcastle.c, labyrunr.c and suprslam.c
2009-12-16 21:59:36 +00:00
Fabio Priuli
9e298f5f96 Fixed longstanding bug MT00400: combascb: since 0.79 this game have some graphic bugs, on the "players" screen, and some scrolling problems on 1st stage.
It seems nobody noticed that default writes to io_ram got lost in the 0.78->0.79 update
2009-12-16 21:49:04 +00:00
Brian Troha
a76bfc1875 New clone added: Hyper Street Fighter 2: The Anniversary Edition (USA 040202)
New Clone Added
-------------------------------------------
Hyper Street Fighter 2: The Anniversary Edition (USA 040202) [Artemio Urbina, David Haywood]
2009-12-16 21:25:09 +00:00
Angelo Salese
f9f9ca6f9a Trivia Madness: Improved graphics & colors [Angelo Salese] 2009-12-16 19:48:08 +00:00
Angelo Salese
2ba1316646 Sky Army: cleaned up the driver, also removed the GAME_WRONG_COLORS flag since the colors actually seems correct according to the references. [Angelo Salese] 2009-12-16 16:59:45 +00:00
Angelo Salese
449143fec6 Carrera: fixed colors [Angelo Salese] 2009-12-16 15:51:01 +00:00
Angelo Salese
5dc1be9b98 Koi Koi Part 2: written an hardcoded table (disabled by default), concluded that a color prom is currently undumped. Also documented a bunch of unused ports [Angelo Salese] 2009-12-16 14:41:23 +00:00
Curt Coder
3dde298da4 CIA6526: fixed FLAG handling 2009-12-16 12:11:52 +00:00
Fabio Priuli
b2c155b9f7 Fix for MT03575: block2: [debug] Memory Leak in Debug 2009-12-16 10:48:42 +00:00
Fabio Priuli
334c553890 some more Konami wip:
* fixed 056832 device start order to avoid wrong settings for layer 0. updated asterix.c and moo.c to use the device implementation now that it's working correctly.

* added driver data struct to 88games.c, combatsc.c and rockrage.c

* added driver data struct and save states to battlnts.c, bladestl.c, crshrace.c and contra.c

* renamed combasc to combatsc now that clones can have longer names
2009-12-16 10:47:22 +00:00
Phil Bennett
85d7a3fb99 03569 escounts: Access Violation after OK [Phil Bennett] 2009-12-15 19:55:31 +00:00
Fabio Priuli
dd269def34 Moved SNES timer allocation to MACHINE_START 2009-12-15 17:28:22 +00:00
Fabio Priuli
908778a92e Updated Guru's readme for coolridr.
Also added info bits (which seemed of interest to me) from Guru's mails.
2009-12-15 17:27:10 +00:00
Curt Coder
ff5c33c8d1 CIA6526: slight interface cleanup 2009-12-15 12:36:38 +00:00
Aaron Giles
3292e64a31 DCS, CAGE, and V-unit timers are now devices. 2009-12-15 08:51:50 +00:00
Aaron Giles
fdcfa2a467 Changed ticket.c into a device, updated all users. 2009-12-15 08:10:30 +00:00
Andrew Gardner
c3916b36c9 (not whatsnew.txt worthy)
Last refactoring pass before doing the 3d FIFO.
2009-12-15 06:28:28 +00:00
Aaron Giles
26d1e3868a Some more atari driver shuffling. Added atarigen_init() function
which allocates all timers and registers for save states.
Updated all drivers to call it. Converted some drivers to use
device timers.
2009-12-15 05:41:34 +00:00
Aaron Giles
f43747b221 Some misc cleanups:
- added warning messages for auto_malloc, timer, and save state
    allocations done after init time. These should be fixed when
    detected, as I would eventually like to disallow them entirely.
 - changed state registration functions to pass through the caller's
    file and line number to facilitate fixing the above warnings
 - converted Taito F3 sound to a separate machine driver which is
    imported into games that use it
 - converted the balsente driver to driver_data structure
 - converted harddriv timers into devices
 - fixed crash in cps2 games due to not configuring the qsound bank
 - cleaned up initialization in taito_l to allocate at init time
    instead of reset time
2009-12-15 02:37:46 +00:00
Aaron Giles
c1c28e486b Fix crash on exit for systems with no tilemaps. 2009-12-15 00:28:30 +00:00
Fabio Priuli
75bf0c5a10 On behalf of David Haywood: added redumped roms to coolridr 2009-12-14 18:39:39 +00:00
Fabio Priuli
f2a4c06f27 Misc Konami updates:
* moved k056800 sound device to emu/sound and removed the old code (mame/machine/konamiic.c )
* updated gticlub.c, hornet.c, nwk-tr.c, ultrsprt.c and zr107.c to use this implementation
* fixed various small (and not so small) problems in konicdev.c
* as a result Konami 007342, 007420, 052109, 052160 and 051316 devices are now working and 88games.c, battlnts.c, bladestl.c and rockrage.c have been updated to use them
2009-12-14 17:58:20 +00:00
Aaron Giles
eb025378a9 Fix tilemaps so they can be initialized at device start time. 2009-12-14 07:33:54 +00:00
Aaron Giles
9dacb74ef0 Fixed obvious typo. 2009-12-14 07:19:00 +00:00
Fabio Priuli
bf07322216 Added preliminary device versions of all the Konami custom ICs currently emulated in machine/konamiic.c and video/konamiic.c.
In particular, device-fied Konami 007121, 051733 and 053251 work fine and combatsc.c, contra.c, crshrace.c, f1gp.c, fastlane.c, flkatck.c, hcastle.c, labyrunr.c and suprslam.c have been converted to use the new code.


Side notes: 
* chips which have their own tilemap in MAME (e.g. 056832 and 052109) are not working yet, and other chips cannot be fully tested because they're used together with these... it's still wip
* some cleanup is in order (especially for interfaces), once I get the remaining chips to working state
* converting the drivers above, I noticed that f1gp2 was only using half of the k053936 regs: this is now fixed and, even if I don't know of any visible improvements, now there are definitely less unmapped writes logged by the debugger ;)
2009-12-14 01:32:51 +00:00
Fabio Priuli
d8e3212c7b Added driver data struct to 8080bw.c and mw8080bw.c. Also merged the .h files. 2009-12-14 01:17:45 +00:00
Fabio Priuli
5424444497 Added SET_TILE_INFO_DEVICE to tilemap.h (it should be correct) 2009-12-14 01:15:48 +00:00
Aaron Giles
8bccdbd5cc Enhanced the UML opcodes for LOAD, LOADS, and STORE to support
arbitrary scaling factors. Previously, specifying a size implied
a scaling factor equal to the size (i.e., specifying DWORD meant
the index was scaled by 4). This is still the default. However,
now you can specify the scale explicitly for other cases. For
example, you can specify DWORD_x1 to fetch a DWORD but don't
scale the index at all, or BYTE_x8 to fetch a BYTE while scaling
the index by 8. Updated all backends to make this work.
2009-12-13 20:01:26 +00:00
Phil Bennett
c254101a9a 03572: pandoras: [possible] Music pitch/speed is too high. [Phil Bennett] 2009-12-13 12:45:07 +00:00
Fabio Priuli
8bdb970d1d Made MB14241 Shifter IC a device and moved its source to emu/machine. Updated mw8080bw.c and 8080bw.c accordingly. Also converted fgoal.c to use this implementation in place of its own version. 2009-12-13 12:03:51 +00:00
Fabio Priuli
4d2eba9882 Added TILE_GET_INFO_DEVICE macro to tilemap.c
Added driver data struct and save states to malzak.c
2009-12-13 11:59:35 +00:00
Fabio Priuli
30e421aac2 Added driver data struct to cvs.c
Added driver data struct and save states to: cbasebal.c, chinsan.c, mitchell.c and quasar.c


Not to be mentioned: I also removed use of memory_set_bankptr from CPS1 sound banking and renamed a couple of rallyx.c constants to be less generic
2009-12-12 19:03:40 +00:00
Fabio Priuli
9ccef5fb60 Imported SAA5050 emulation from MESS and made it a device. Updated malzak.c to use it, removing the almost identical implementation in the driver.
Out of whatsnew: Unfortunately, I was unable to make both malzak and p2000t (in MESS) to work without a small kludge, clearly documented in the source. I plan to further investigating the problem once I manage to merge the other 505x variants (later)
2009-12-12 18:22:43 +00:00
Aaron Giles
26ef740b4b Fix MT03444. Global arrays are now included once again in the memory view.
ALso changed the memory views to determine the list of subviews at
creation time, not init time, allowing for new stuff to appear later.
2009-12-12 08:52:16 +00:00
Fabio Priuli
092edee31b Let's see if we can put a bunch of nails in the coffin of hiscore.dat:
* added driver data struct to neogeo.c and added GAME_SUPPORTS_SAVE flag to all sets, because save state support was already there
* added driver data struct and save state support to cps1.c, cps2.c and fcrash.c
2009-12-12 00:06:43 +00:00
Fabio Priuli
66f8650aac misc small updates:
* added saves to 6522via.c. this fixes problems of gameplan.c and trvquest.c games with -autosave
* added driver data struct and save states to toratora.c and sf.c
* enable GAME_SUPPORTS_SAVE flag to dday.c because some of the core changes have fixed the sound problem at loading
* added a couple of comments about header inclusions
2009-12-11 23:59:11 +00:00
Fabio Priuli
b991a168d1 From David Haywood:
new NOT WORKING
------------------------

Happy 6-in-1 [XX]



(not sure who should be credited, I'll ask)
2009-12-11 23:48:35 +00:00
Fabio Priuli
c081ece894 Removed the last input_port_by_index occurrence in src/mame/
@Aaron: now I think there is only a single occurrence of input_port_by_index in the whole source (in src/emu/sound/disc_inp.c), in case you want to remove the whole handler
2009-12-11 23:39:12 +00:00
Fabio Priuli
67f64cf723 Fix for MT03567: trvquest: Access Violation after OK 2009-12-11 23:35:40 +00:00
Fabio Priuli
e5f5ebeaff Not worth mention: Properly amended s2636 to have correct work ram size. Thanks go to Mariusz for noticing it.
it's funny that I spend my days solving PDEs and functional analysis problems, then I manage to easily fail these stupid calculations...
2009-12-11 23:30:21 +00:00
Scott Stone
ff180f0ce7 Fixes 03570: kf2k3pcb: Access Violation after OK [Fabio Priuli] 2009-12-11 22:06:39 +00:00
Fabio Priuli
fe3420b40f Fixed stupid copy&paste mistake in s2636.c
This is what you get when you forget to press save before the commit :(
2009-12-11 18:20:35 +00:00
Fabio Priuli
72d156a858 of course, you could not compile without these files ;) 2009-12-11 10:54:02 +00:00
Fabio Priuli
989a275f22 Added driver data struct to airbustr.c and djboy.c. Now the latter also supports saves (the former already did). 2009-12-11 10:51:55 +00:00
Andrew Gardner
9f1254ed51 (not whatsnew worthy)
Further refactoring of the hng64 3d code in preparation for FIFO 3d system.
2009-12-11 07:24:24 +00:00
Aaron Giles
40bcc29e8a Cleanups and version bump. 2009-12-11 06:19:46 +00:00
Fabio Priuli
dcd164adc7 Converted Signetics 2636 video chip to be a MAME device and updated drivers using it accordingly
Also, added driver data struct and save states to laserbas.c, laserbat.c, lastfght.c, lazercmd.c and lemmings.c

Finally, added driver data struct to lasso.c
2009-12-11 01:34:38 +00:00
Aaron Giles
64a35dfe95 Added tilemap_create_device() function which lets you create a tilemap
from within a device, and be passed that device in your callback.
2009-12-10 15:42:56 +00:00
Aaron Giles
8ba04b825a Apply mirrors and global masks at address map detokenizing time rather
than later. Also added disabled code to detect address maps with
overlapping regions for future analysis.
2009-12-10 15:32:44 +00:00
Fabio Priuli
ab171be6cd Removed Iron clad, until confirmed against proto 2009-12-10 14:54:01 +00:00
Fabio Priuli
e34fbfef2a on behalf of David Haywood:
Added Astro Fighter wire hack to Tomahawk as well, and documented that some Tomahawks appear to have the Astro Fighter PROM. [David Haywood]
2009-12-10 14:40:17 +00:00
Fabio Priuli
4a396461b3 Added driver data struct and save states to the following drivers:
ladybug.c, ladyfrog.c, lastduel.c, lwings.c, redclash.c and yunsung8.c
2009-12-10 14:22:37 +00:00
Fabio Priuli
c0488dbe0d Converted Kaneko Pandora sprite chip to be a MAME device and updated drivers accordingly. 2009-12-10 09:28:17 +00:00
Phil Bennett
907c61c43e i386 core improvements: [Barry Rodewald]
* Fixed EIP displacement when executing FPU instructions with no 80387 present
* Added 32-bit implementations of SLDT and STR


---------- Forwarded message ----------
From: Barry Rodewald <bsr@xnet.co.nz>
Date: Wed, Dec 9, 2009 at 2:02 AM
Subject: More i386 fixes
To: submit@mamedev.org


Hi,

Here's two more small fixes for the i386 core.

First, is FPU instructions used on 80386.  On a system without a
80387, FPU instructions should have no effect.  Part of the FM Towns
TBIOS (runs as an MS-DOS device driver, providing extra system
functions) initialises the FPU, and tries to detect it.  Upon hitting
the FSTCW instruction, though, it doesn't increase EIP enough when an
extra displacement byte is needed.  So, I've added a call to GetEA to
the escape() function (called when there is no FPU) which will fetch
the extra byte if necessary.

Second, is a 32-bit implementation of the SLDT and STR instructions.
Basically, I copied it from the 16-bit versions, and modified it to
use 32-bit registers.

Thanks,
Barry Rodewald
mailto:bsr@xnet.co.nz
2009-12-10 09:12:35 +00:00
Andrew Gardner
7ffcc2ee76 (not whatsnew.txt worthy)
A tiny bit of reorganization of the hng64 3d.
This is in preparation for rasterizing the 3d FIFO-style.
2009-12-10 08:07:40 +00:00
Brian Troha
eaffaff2ec adds PCB layout for Rapid Fire 2009-12-10 02:19:37 +00:00
Scott Stone
843cf48407 Cleaned out old cheat text commented in the dblewing driver. These can be located in Pugsy's cheat archives. No whatnew is needed. 2009-12-10 00:09:46 +00:00
Fabio Priuli
e0119d9db4 on behalf of David Haywood:
Identified Semicom's Dream World hardware as a copy of Psikyo's 68020 hardware (it was already known that their older platforms were copied from Snow Bros, and Tumble Pop) [David Haywood]

new clones
-----------
Fighting Fantasy (bootleg with 68705) [f205v] (not working)
Phantom (Spectar bootleg) [Team Europe & rades]
Panzar (Spectar bootleg) [f205v]
Fatsy Gambler (Video Hustler bootleg) [f205v]
Fitter (bootleg) [f205v]
Vs. Super Mario Bros. (bootleg with Z80) (2 sets) [f205v, Dante Profeta] (not working)

new NOT WORKING
------------------------
Video Stars [Andrew Welburn]
2009-12-09 23:52:28 +00:00
Fabio Priuli
637085584b Added driver data struct and save states to the following drivers:
kangaroo.c, karnov.c, kchamp.c, kickgoal.c, kingobox.c, kncljoe.c, koikoi.c, kopunch.c, ksayakyu.c and kyugo.c
2009-12-09 23:42:28 +00:00
Brian Troha
db86be935f new games added: Rapid Fire
Adds Rapid Fire v1.0 & v1.1

revert if needed

No whatsnew please
2009-12-09 19:31:02 +00:00
Brian Troha
ef97f61c36 New clone added: Strikers 1945 (Hong Kong, bootleg)
New Clone Added
---------------------------------
Strikers 1945 (Hong Kong, Bootleg) [David Haywood, Brian Troha, Dumping Union]
2009-12-09 19:29:02 +00:00
Angelo Salese
d053723050 Version mismatch, sorry...d-l 2009-12-09 18:02:12 +00:00
Angelo Salese
58f2a610f2 Aleck 64: Worked around hard-locks at start-up, I let decide to MG what's the best solution for it. 2009-12-09 17:47:06 +00:00
Fabio Priuli
58f0e8c7c2 Added driver data struct and save states to: jangou.c, jantotsu.c, jollyjgr.c and jongkyo.c 2009-12-09 16:04:47 +00:00
Fabio Priuli
08b933040b removed comment 2009-12-09 16:03:31 +00:00
Fabio Priuli
700da468ac Added Driver Configuration to astrof.c to emulate common wire hack which causes black background [David Haywood] 2009-12-09 15:51:53 +00:00
Aaron Giles
a0375128a0 Fixed DMADAC wrapping behavior. [Tim Schuerewegen] 2009-12-09 15:40:16 +00:00
Aaron Giles
e349350227 Converted atari drivers over to using driver_data for the most
part. Some shared systems still exist with globals, but this
tackles the atarigen module and the variables local to each
driver.

Also added validity check that AM_BASE_MEMBER and AM_SIZE_MEMBER
items point within the bounds of the driver_data structure.
2009-12-09 15:34:23 +00:00
Fabio Priuli
3781da05a5 Added driver data struct and save states to jack.c 2009-12-09 14:10:54 +00:00
Fabio Priuli
eb9e1e53e5 Added common driver data struct to timeplt.c, tutankhm.c, junofrst.c, pooyan.c, rallyx.c and rocnrope.c (these drivers all use audio/timeplt.c). As a side effect, we now have save states in junofrst.c and rallyx.c.
Added driver data struct to jackal.c

out of the whatsnew, a couple of remarks: 
- rallyx and nrallyx might require a separate driver data struct to deal with namco_soundregs, but I'll take care of this eventually (if really needed)
- jackal does not properly save the work ram banks atm, hence no SUPPORTS_SAVE flag, but I keep looking for a clean solution to the problem
2009-12-09 14:09:22 +00:00
Brian Troha
fa9e91f866 Adds Ironclad to neogeo driver (neodrvr.c)
no whatsnew please
2009-12-09 05:03:02 +00:00
Roberto Fresca
a26c0493cb Fixed the new unknown Draw Poker HI-LO sets, adding both bipolar PROM dumps to each one. 2009-12-09 04:05:41 +00:00
Fabio Priuli
970edeb987 Added driver data struct to ironhors.c 2009-12-09 00:46:57 +00:00
Fabio Priuli
0c3290533f Added save states and driver data struct to the following drivers: fromance.c, fromanc2.c, ikki.c, imolagp.c, inufuku.c
Added driver data struct to pipedrm.c and added devices to gameplan.c driver data struct (to remove a few cputag calls)

Also, removed a couple of memory_set_bankptr that I had forgotten (buggychl.c & homedata.c)
2009-12-09 00:45:33 +00:00
Roberto Fresca
575f81b93e Added a PCB layout for M.Kramer's Black Jack Poker, based on a hi-res pic.
Also added undumped devices as NO_DUMP.
2009-12-08 19:17:53 +00:00
Angelo Salese
bc26ce3ce5 Aleck 64: Implemented player 2 inputs [Angelo Salese] 2009-12-08 18:30:10 +00:00
Phil Bennett
81c2b67b66 Corrected magicmsk.u8 CRC/SHA1 (no whatsnew) 2009-12-08 14:57:21 +00:00
Phil Bennett
c8608dcc22 Cleaned-up several drivers; added missing prototypes and removed dead ones,
marked non-exported functions as static and removed cases of #include "deprecat.h" [Atari Ace]

---------- Forwarded message ----------
From: Atari Ace <atari_ace@verizon.net>

Date: Sat, Dec 5, 2009 at 7:18 AM
Subject: [patch] Header cleanups
To: submit@mamedev.org
Cc: atariace@hotmail.com

Hi mamedev,

This patch improves the quality of the mame driver headers, by adding
missing prototypes and source comments, removing dead prototypes, and
marking some non-exported functions as static within the drivers.  It
also eliminates about a dozen cases of #include "deprecat.h".

~aa
2009-12-08 14:54:29 +00:00
Angelo Salese
ddc7f0334b deleted obsolete comment as per Haze 2009-12-08 13:28:10 +00:00
Fabio Priuli
d1a758c12a Added save states and driver data struct to glass.c & homedata.c
Added driver data struct to hyprduel.c
2009-12-08 10:36:43 +00:00
Roberto Fresca
14cb5e25ce New games marked as GAME_NOT_WORKING
------------------------------------
Fast Draw (poker conversion kit)? [Roberto Fresca]
Draw Poker HI-LO (unknown, rev 1) [Roberto Fresca, Dumping Union]
Draw Poker HI-LO (unknown, rev 2) [Roberto Fresca, Dumping Union]
2009-12-08 04:18:28 +00:00
Angelo Salese
750b79a409 Quick and dirty function to draw some garbage in the blitter, written by Haze 2009-12-07 22:27:43 +00:00
Angelo Salese
ee2a6affca Some hook-ups for the text blitter 2009-12-07 21:53:10 +00:00
Angelo Salese
75b0d0c872 As per Dox, swapped r<->b colors, colors looks now more realistic (and a sincere thank you to Sega that isn't even able to decide a standarized paletteram format for its HWs :/) 2009-12-07 17:42:46 +00:00
Angelo Salese
b20c8a4100 Fixed a DMA list processing quirk, this fixes most black squares in background drawing 2009-12-07 16:57:13 +00:00
Angelo Salese
3d7b47d280 Hooked up videoram reading in drawing functions, more gfxs are now displayed 2009-12-07 15:31:08 +00:00
Angelo Salese
9b4440922d Implemented DMA vram transfers 2009-12-07 15:15:24 +00:00
Angelo Salese
6540973d1a Refactored driver, added Guru's readme^TM and applied alternative gfx rom loading, more logical according to the readme structure 2009-12-07 13:57:33 +00:00
Phil Bennett
54570e176e Fixed srcclean handling of embedded comments within strings [Atari Ace]
(Update of r7501)

---------- Forwarded message ----------
From: Atari Ace <atari_ace@verizon.net>
Date: Sun, Dec 6, 2009 at 5:51 PM
Subject: [patch] srcclean bugfix
To: submit@mamedev.org
Cc: atariace@hotmail.com


Hi mamedev,

My srcclean changes to track C-style quotes didn't handle all the
special cases correctly (for instance, '\"' and "\\\"").  This fixes
it, and adds some /* ... */ to m68k_in.c so that src2html.exe does a
better job on it.

~aa
2009-12-07 11:13:54 +00:00
Aaron Giles
fd34a32091 Added new functions:
memory_install_ram() to assign a un-named bank to a region and specify
    a pointer to where the RAM lives. If this is called in the DRIVER_INIT
    function or MACHINE/SOUND/VIDEO_START functions, then it is permissible
    to specify NULL, in which case the memory system will allocate memory
    and register it for save states.

  memory_install_rom() is like the above except that it only installs a
    read handler.

  memory_install_writeonly() is like the above except that it only installs
    a write handler.

Updated several instances in the code that were assigning banks to these
sorts of static RAM regions and simplified the code.

Also fixed several regressions reported by Tafoid.
2009-12-07 08:32:02 +00:00
Brian Troha
f47d21d30a minor name update to last name update for Merit trivia roms 2009-12-07 02:00:51 +00:00