Commit Graph

7509 Commits

Author SHA1 Message Date
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
Brian Troha
61f667fa84 fixes rom names is several merit trivia question sets 2009-12-07 01:46:40 +00:00
Angelo Salese
f98e1228b8 Fixed a stupid math bug with charset decoding... 2009-12-06 23:19:07 +00:00
Angelo Salese
ab385355a8 Moved charram to a more logical position 2009-12-06 23:06:28 +00:00
Angelo Salese
8a675c2e8c Improved DMA understanding 2009-12-06 21:14:21 +00:00
Angelo Salese
b767724436 Fixed paletteram and implemented basic inputs 2009-12-06 20:07:37 +00:00
Angelo Salese
b1923d53ad Allow it to draw RAM-based chars, starts to show correct gfxs 2009-12-06 17:56:16 +00:00
R. Belmont
c165519e07 Fix 64-bit issue noted by Juergen. 2009-12-06 17:30:10 +00:00
Angelo Salese
8fc1ec0384 Fixed program ROM memory map loading as per the service mode item 2009-12-06 17:28:54 +00:00
Angelo Salese
d71b64645a Fixed some stuff as per Guru and Dox, now goes into Service Mode 2009-12-06 16:51:05 +00:00
Aaron Giles
98484d44b0 Internal memory system shuffling. Address maps initialized internally
now call the same installation handlers that drivers do for dynamic
installation. Cleaned up some parameter ordering and error detection.
2009-12-06 08:18:34 +00:00
smf-
0be7db3893 replaced char * pointer comparison with strcmp. 2009-12-06 02:19:12 +00:00
smf-
2c3c41b08f fixed compiling after share were changed to a tag, not tested if this is the correct behaviour. 2009-12-06 02:03:29 +00:00
Aaron Giles
0fd8c755ff Memory shares are now specified by tag instead of index.
The AM_SHARE() macro now takes a tag parameter. All existing
shares have been bulk renamed to "share##". However, the name
does not matter, so please use descriptive tags going forward.

Also added tag validation for bank and share tags.

Added flag to tagmap_add functions that optionally will
replace existing objects if a duplicate is found.
2009-12-05 20:19:04 +00:00
Roberto Fresca
9fdc5ec196 Noraut Poker driver improvements:
* Added new technical notes.
 * Added Kimble Z80 hardware support.
 * Added Prologic-Noraut hardware support.
 * Added proper discrete sound support to Kimble games,
   and Prologic-Noraut Joker Poker.
 * Slightly adjusted the visual area.
   This can be wrong and must be rechecked.
 * Relocated the hardware notes and layouts to ROM_LOAD section,
   so can be seen/maintained in a cleaner way.
 * Fixed the default lamps state.


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Noraut Joker Poker (Prologic HW) [Roberto Fresca, Alan Griffin]


New games marked as GAME_NOT_WORKING
------------------------------------
Kimble Double HI-LO (z80 version) [Roberto Fresca, Alan Griffin]
2009-12-05 20:05:03 +00:00
Angelo Salese
8d4b6387f3 Cleaned up a small left over quirk, not worth mentioning 2009-12-05 19:24:44 +00:00
Scott Stone
86cbe8c506 Changed occurrences of device label "cpu" to "maincpu" to comply to stated guidelines. 2009-12-05 18:22:48 +00:00
Aaron Giles
ee315fe99d Renamed functions:
memory_install_read/write_port_handler -> 
        memory_install_read/write_port

   memory_install_read/write_bank_handler -> 
        memory_install_read/write_bank
2009-12-05 07:59:31 +00:00
Aaron Giles
9eda9e163e More memory system cleanup. Removed SMH_* macros entirely. In
their place are a series of expanded macros and new memory
installation helpers. Some mappings below (not all are new):

   AM_READ(SMH_RAM)                       -> AM_READONLY
   AM_WRITE(SMH_RAM)                      -> AM_WRITEONLY
   AM_READWRITE(SMH_RAM, SMH_RAM)         -> AM_RAM
   AM_READ(rhandler) AM_WRITE(SMH_RAM)    -> AM_RAM_READ(rhandler)
   AM_READ(SMH_RAM) AM_WRITE(whandler)    -> AM_RAM_WRITE(whandler)
   AM_DEVREAD(tag, rhandler) AM_WRITE(SMH_RAM) 
                                  -> AM_RAM_DEVREAD(tag, rhandler)
   AM_READ(SMH_RAM) AM_DEVWRITE(tag, whandler) 
                                  -> AM_RAM_DEVWRITE(tag, whandler)

   AM_READ(SMH_ROM)                       -> AM_ROM
   AM_WRITE(SMH_ROM)                      -> (was a no-op)

   AM_READ(SMH_NOP)                       -> AM_READNOP
   AM_WRITE(SMH_NOP)                      -> AM_WRITENOP
   AM_READWRITE(SMH_NOP, SMH_NOP)         -> AM_NOP

For dynamic memory handler installation of the various types,
use the new functions:

   memory_unmap_read()
   memory_unmap_write()
   memory_unmap_readwrite() -- unmaps a section of address space

   memory_nop_read()
   memory_nop_write()
   memory_nop_readwrite() -- nops a section of address space

Cleaned up the internals of the address_map_entry structure, and
also normalized the way the address map macros work to remove a
lot of redundancy.
2009-12-05 07:54:11 +00:00
Tomasz Slanina
320793ee8f New clones added
----------------
Gals Panic (Korea, EXPRO-02 PCB) [Guru]
2009-12-04 19:30:10 +00:00
Phil Bennett
1c58ec77c5 03557: All sets in namcos12.c: Music is slower than original [Phil Bennett]
Measured and corrected Namco System 12 H8/C352 clocks [Phil Bennett]
2009-12-04 19:01:30 +00:00
Brian Troha
dc53a14ef2 Minor name change for a CPS2 clone to make it more logical 2009-12-04 01:55:12 +00:00
Angelo Salese
3a40556117 Cool Riders: discovered that area 4******* of SH-2 is actually a weird kind of text tilemap blitter [David Haywood, Angelo Salese] 2009-12-04 01:39:17 +00:00
Angelo Salese
9bc7aee599 Cool Riders: basic DMA hooked up 2009-12-03 23:03:13 +00:00