Commit Graph

7287 Commits

Author SHA1 Message Date
Curt Coder
abb8ad1fb6 Actually use the speaker interface if provided. 2009-11-27 13:11:19 +00:00
Curt Coder
a2e82426fe Intel 8255A: clear input latch after reading it 2009-11-27 13:10:50 +00:00
Phil Bennett
aa14c5764e New clones added
----------------

Cannon Ball (bootleg on Crazy Kong hardware) (set 3, no bonus game) [Volker Hann, Team Europe]


From: David Haywood <neohaze@nildram.co.uk>
Date: Wed, Nov 25, 2009 at 1:57 PM
Subject: Cannon Ball bootleg
To: Philip Bennett <p.j.bennett@gmail.com>


this one has the bonus round ripped out to avoid the protection
check.... of course that introduces it's own visual glitches, but
bootleggers will be bootleggers and I guess not crashing was more
important ;-)

new clones
-----------

Cannon Ball (bootleg on Crazy Kong hardware) (set 3, no bonus game) [Volker Hann & Team Europe]
2009-11-27 12:24:11 +00:00
Phil Bennett
1430bdc1a2 Temp fix for namcos23.c validity check warning 2009-11-27 12:10:39 +00:00
Fabio Priuli
832b946cc5 Added driver data struct and save states to btime.c and scregg.c 2009-11-27 10:09:27 +00:00
Fabio Priuli
5ea417d583 Added driver data struct and save states to fantland.c and firetrap.c
Added driver data struct to dcheese.c
2009-11-27 10:08:26 +00:00
Fabio Priuli
7e6ff401f5 Added driver data struct to dday.c
Unfortunately, if you load a save state too early the game starts with no sound. For the moment, no SUPPORT_SAVE flag, but the game goes in my list of drivers which needs a second look. Feel free to step up and fix saves, if you like
2009-11-27 00:44:28 +00:00
Fabio Priuli
6379e9c903 Added driver data struct to bwing.c and slightly simplified the video code (by removing a couple of redundant variables).
More work would be needed to fully clean it up, but I'm not expert enough right now.
2009-11-27 00:42:04 +00:00
Angelo Salese
792adf6a07 On behalf of Dave, added tc ram popmessage debug logging 2009-11-27 00:40:29 +00:00
Fabio Priuli
330341d5e3 Added driver data struct and save states to the following drivers: chinagat.c, esd16.c, f-32.c, fcombat.c, finalizr.c.
Also, added driver data struct to ddragon.c, ddragon3.c and fgoal.c

fgoal.c suffers of pending timers and hence no save state flag
2009-11-27 00:30:00 +00:00
Aaron Giles
cdd9d7c757 Introduced a generic_pointers structure within machine that is
designed to hold generic pointers that are commonly used. For
now, only generic_nvram has moved there. Added AM_BASE_GENERIC
and AM_SIZE_GENERIC macros for initializing generic pointers
in memory maps. Also added AM_BASE_SIZE_GENERIC to set both
base and size in one step.

Moved global variables out of machine/generic and into a private
data structure hanging off of the running_machine. Added newly-
needed machine parameters to coin_counter_w, coin_lockout_w, and
coin_lockout_global_w. Also added machine parameter to 
set_led_state.

Added interface functions to get the number of dispensed tickets
and to increment the count, to remove the need for direct access
to these global variables. Also added functions to get the
current count on a particular coin counter and to determine the
lockout state.

Future checkins will move the remaining generic pointers (for
paletteram, videoram, spriteram, colorram, etc.) into the new
generic_pointers structure.
2009-11-26 23:43:19 +00:00
Roberto Fresca
1583458859 Just minor cosmetic changes to get the thing aligned. 2009-11-26 19:48:40 +00:00
Angelo Salese
f67d21fad3 Fixed regression in magicard.c driver [Angelo Salese] 2009-11-26 18:58:58 +00:00
Angelo Salese
372642ca14 hng64: Implemented sprite disable bit [David Haywood] 2009-11-26 17:53:37 +00:00
smf-
4f90eda49b DEVCB_INPUT_PORT(tag) can be used for write callbacks. 2009-11-26 17:25:09 +00:00
Roberto Fresca
680cf15e6a Added Magic Card Jackpot and Magic Lotto Export to Impera Magic Card driver.
Also added PCB layouts, hardware description and technical notes.
Changed the bipolar prom dumps to serial I2C bus EEPROM.


New games marked as GAME_NOT_WORKING
------------------------------------
Magic Card Jackpot (4.01) [Roberto Fresca, Team Europe, krick & The Dumping Union]
Magic Lotto Export (5.03) [Roberto Fresca, Team Europe, krick & The Dumping Union]
2009-11-26 17:08:14 +00:00
Roberto Fresca
b32e17a0a2 Improvements to Noraut Poker driver:
* A lot of work in memory maps and machine driver stuff.
 * Improved Inputs / DIP switches for some games.
 * Added lamps support / layouts to new working games.
 * Added preliminary support to Kimble hardware.
 * Added support to CGI's Credit Poker 30x games.
 * Added new (and fixed old) technical notes.
 * Added Noraut Deluxe Poker (console).
 * Added Noraut Joker Poker (original).
 * Added Noraut Red Hot Joker Poker (alt HW).
 * Added Noraut Joker Poker (V3.011a).
 * Added Noraut unknown set 1 (console).
 * Added Noraut unknown set 2 (console).
 * Added Mainline Double Joker Poker.
 * Added Double Joker Poker (45%-75% payout).
 * Added Royal on Ten (Noraut Deluxe hack).
 * Added Credit Poker (ver.30c, standard).
 * Added Poker / Black Jack (Model 7521).
 * Added Kimble Joker Poker.
 * Added DRHL Poker (v.2.89).
 * Renamed norautpn descripion to Noraut Deluxe Poker (bootleg).
 * Added a placeholder for tpoker2's undumped 68705 MCU.
 * Reorganized the driver, plus some clean-ups.


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Noraut Deluxe Poker (console) [Roberto Fresca, ByteMaster]
Noraut Joker Poker (original) [Roberto Fresca, ByteMaster]
Noraut Red Hot Joker Poker (alt HW) [Roberto Fresca, ByteMaster]
Mainline Double Joker Poker [Roberto Fresca, ByteMaster]
Double Joker Poker (45%-75% payout) [Roberto Fresca, ByteMaster]
Royal on Ten (Noraut Deluxe hack) [Roberto Fresca, ByteMaster]
Credit Poker (ver.30c, standard) [Roberto Fresca, ByteMaster]


New games marked as GAME_NOT_WORKING
------------------------------------
Noraut unknown set 1 (console) [Roberto Fresca, ByteMaster]
Noraut unknown set 2 (console) [Roberto Fresca, ByteMaster]
Noraut Joker Poker (V3.011a) [Roberto Fresca, Alan Griffin]
Poker / Black Jack (Model 7521) [Roberto Fresca]
Kimble Joker Poker [Roberto Fresca, Alan Griffin]
DRHL Poker (v.2.89) [Roberto Fresca, Siftware]
2009-11-26 16:23:09 +00:00
Angelo Salese
ce92948dcd hng64: slight optimization to the tile dirty marking [David Haywood]
hng64: better documentation of mosaic and floor modes [David Haywood]
 
 -----Messaggio originale-----
 Da: David Haywood [mailto:neohaze@nildram.co.uk] 
 Inviato: giovedì 26 novembre 2009 15.35
 Cc: Angelo Salese
 Oggetto: Re: Slight optimization to tile dirty marking
 
 attempted to better document how it swaps between mosaic and floor modes 
 as they seem to use the same bits... although this still doesn't really 
 seem logical, so I'm probably missing something.
 
 It might allow me to hook up the floor in Fatal Fury without breaking 
 other things tho.
 
 
 David Haywood wrote:
 > oops, left a bug in that, use this
 >
 > David Haywood wrote:
 >> marking the entire tilemap as dirty is expensive, this only does so 
 >> if the tile size / tile depth flag changes.
 >>
 >> this prevents the crippling slowdowns in sams64_2
 >>
 >
2009-11-26 15:06:10 +00:00
Angelo Salese
7037370cb4 hng64: Implemented preliminary additive blending [David Haywood] 2009-11-26 12:36:37 +00:00
Miodrag Milanovic
149c6aa7ca CF clear after binary operations on Intel 8008 CPU core 2009-11-26 09:37:12 +00:00
Angelo Salese
6693a2612e hng64: re-implemented zooming in Fatal Fury WA, and added alternative zooming mode used by the other games, they have some precision bugs though [Angelo Salese] 2009-11-26 01:59:15 +00:00
Angelo Salese
58e1ff522a Removed an useless debug thing ;) 2009-11-26 00:48:24 +00:00
Angelo Salese
81b88a907c Small addendum of the previous update (and yes, this HW cannot do per-sprite bpp switch but can do per-sprite mosaic) 2009-11-26 00:46:33 +00:00
Angelo Salese
72954ce864 hng64: documented some sprite findings [Angelo Salese] 2009-11-26 00:12:37 +00:00
Fabio Priuli
e021bc1c14 Added save states to equites.c, exedexes.c, exerion.c and exprraid.c 2009-11-25 21:07:22 +00:00
Angelo Salese
c8178c6b75 Implemented use of per tile colour lookup ROM in Portraits, colour decode is still wrong [David Haywood] 2009-11-25 20:29:10 +00:00
Fabio Priuli
8617017844 Added save states to the following drivers: dynadice.c, dwarfd.c, dunhuang.c, enigma2.c, epos.c, drgnmst.c and egghunt.c
Also, added driver data struct to embargo.c (which was already supporting saves)
2009-11-25 16:38:19 +00:00
Fabio Priuli
0b7a91267e converted the following drivers to use EEPROM device: deco156.c, eolith.c, eolith16.c, limenko.c, taito_f3.c, taito_z.c, taito_b.c, taitojc.c, toaplan2.c and kaneko16.c 2009-11-25 16:33:02 +00:00
Aaron Giles
409223e919 Switched from linear interpolation to antialiased point sampling
when upconverting low-frequency sound streams. This should
de-muffle low-frequency streams, treating them has having
hard edges at sample boundaries.
2009-11-25 14:41:09 +00:00
Angelo Salese
fe2987870a Fixed sprite flipping and sprite disabling (actually a bit that invertes the x offset value) 2009-11-25 14:21:55 +00:00
Curt Coder
f47855ec04 CDP1869 changes:
- converted page RAM functions to use devcb
- added pull interface for predisplay
2009-11-25 11:15:10 +00:00
smf-
8836834f08 added memory_install_write_port_handler & memory_install_readwrite_port_handler to be consistent with installing handlers. 2009-11-25 09:48:44 +00:00
Aaron Giles
f1f5ea0287 The one-line fix below fixes a problem where aviio.c writes out ridiculously
large lengths for the audio stream of an AVI file. The occurrence of the
bug depends on the way that audio buffers are filled by the calling code;
if there are never two or more chunk's worth of audio samples queued then
the bug will not occur. [CDiFan]
2009-11-25 06:41:07 +00:00
Scott Stone
bdc6c1cc6a Updated DIP LOCATIONS in Submarine for Lives and Coinage options. 2009-11-25 04:36:41 +00:00
R. Belmont
b7de2e3da0 New games marked as GAME_NOT_WORKING
------------------------------------
Airline Pilots (Rev. A) [f205v]
Sega Tetris [Guru]
2009-11-25 03:21:41 +00:00
Angelo Salese
31547688c3 Small comment adjustement before I forgot the existance of this HW ;-) 2009-11-25 02:21:40 +00:00
Angelo Salese
610d57597b new working game
----------------
Submarine [Volker Hann, Team Europe, David Haywood, Angelo Salese]

(Is it ok now?)
2009-11-25 02:18:24 +00:00
Fabio Priuli
9b5b396d06 ooops... forgot that I added driver data struct to cheekyms.c as well. here it is. 2009-11-25 01:14:45 +00:00
Fabio Priuli
c2d537c3dd Added save states to the following drivers: ddayjlc.c, ddealer.c, deniam.c, discoboy.c, diverboy.c, dorachan.c, dragrace.c, dreamwld.c, dribling.c, drmicro.c, drtomy.c 2009-11-25 01:13:14 +00:00
Fabio Priuli
3ac828ef36 Added driver data struct to the following drivers: docastle.c, dotrikun.c, cloud9.c and destroyr.c
Notice that save states do not work in destroyr.c due to timers issues, atm.
2009-11-25 01:01:14 +00:00
Fabio Priuli
59fdf8232b Updated a few more drivers to use EEPROM device: cps1, cps2, konamigq and zr107.
More to come in the next few days...
2009-11-25 00:50:46 +00:00
Fabio Priuli
5258619fcb Updated drivers using EEPROM devices (20pacgal.c, albazg.c & astrocorp.c) to use the new input_port_write handlers. No need to mention this in the whatsnew. 2009-11-25 00:47:07 +00:00
Angelo Salese
092b3ac559 new not working
---------------
Submarine [David Haywood, Angelo Salese]
2009-11-24 23:31:30 +00:00
Luca Elia
ddfa89f822 Added sprites list stop to igs017.c. Implemented joystick mode in mgdh and sdmg2 [Luca Elia] 2009-11-24 22:24:15 +00:00
Angelo Salese
ad1876757a hng64: Implemented x/y sprite global offsets, used by Samurai Shodown 64 1 ranking screen [David Haywood]
hng64: Hooked-up backup ram [Angelo Salese]
2009-11-24 21:30:12 +00:00
Angelo Salese
8307ee05d0 hng64: Implemented sprite clearance capability, fixes garbage gfxs as seen in Samurai Shodown 64 1 & 2 [Angelo Salese] 2009-11-24 17:08:48 +00:00
Angelo Salese
70c71abae8 Fixed video register comment layout, no credit please 2009-11-24 15:44:12 +00:00
Angelo Salese
a7a09f29d5 hng64: added 16x16 / 8x8 tilemap mode select, fixes one scene in Extreme Rally and transition layer in Fatal Fury WA (squares on title screen) [David Haywood]
hng64: Added alt layout for the roz, fixes Roads Edge graphics before the title screen [David Haywood]

-----Messaggio originale-----
Da: David Haywood [mailto:neohaze@nildram.co.uk]
Inviato: martedì 24 novembre 2009 16.04
A: Angelo Salese
Oggetto: Hyper 64 alt layout

here..
apply over previous
alt layout for the roz.

From David Haywood (thru IM channels):

 ...and added 8x8 and 16x16 tilemaps for each mode.

corrects one scene in Xrally intro, and also transition layer in fatfurwa (see squares when you press start on title screen)

 (doesn't fix road edge alt tilemap mode yet)

 note: includes/hng64.h added, 3d disabled in driving games.
2009-11-24 15:28:16 +00:00
smf-
2877513af1 Hooked up eepromdev.c using PORT_READ_LINE_DEVICE/PORT_WRITE_LINE_DEVICE in groundfx.c.
Output ports are now affected by IP_ACTIVE_HIGH/IP_ACTIVE_LOW (eepromdev.c has active low cs).
The previous value for callbacks in inptport.c is now tracked per field. This saves recalculating it for PORT_CHANGED & conditional fields wouldn't always get updated correctly.
Tidied up eepromdev.c interface.
2009-11-24 12:05:35 +00:00
Angelo Salese
c09db0e234 hng64: Fixed sprite wrap-around [David Haywood]
hng64: Implemented irq 11, used by the racing games for network check, currently crashes due to an invalid parameter inside the 3d packets [Angelo Salese]

-----Messaggio originale-----
Da: David Haywood [mailto:neohaze@nildram.co.uk] 
Inviato: martedì 24 novembre 2009 0.23
A: Angelo Salese
Oggetto: Sprite Wrap

Samurai Shodown 64 / 2 character select seems to indicate that the 
sprite sign bit is 0x200, not 0x8000 as it sets sprites to 0x3ff 
co-ordinate range when they move off the top of the screen (used for the 
pictures which are meant to zoom when you select them)
2009-11-24 00:42:22 +00:00
Ryan Holtz
603ebf6ac7 (from MESS) Added support for SCSI command 0x2a (Write w/ 32-bit LBA), upped input buffer size in WD33C93 controller [Harmony] 2009-11-23 23:29:56 +00:00
Angelo Salese
40e2a10729 hng64: Implemented V-Blank register, fixes palette uploading in Samurai Shodown 1 & 2 [Angelo Salese] 2009-11-23 21:31:03 +00:00
Angelo Salese
0aa359902d hng64: hooked up global bpp switch for sprites, HW doesn't seem capable of doing per-sprite bpp switch, fixes coin credit text in Buriki One [Angelo Salese] 2009-11-23 20:56:42 +00:00
Angelo Salese
93768e08fd hng64: fixed scrolling text in Buriki One attract mode [Angelo Salese] 2009-11-23 19:26:09 +00:00
Angelo Salese
7eafbc7326 hng64: Corrected sprite end boundary, fixes credit messages in Buriki One [Angelo Salese] 2009-11-23 18:03:05 +00:00
R. Belmont
c28a73c485 New games marked as GAME_NOT_WORKING
------------------------------------
Dragon Chronicles (DC001 Ver. A) [Guru]
Netchuu Pro Yakyuu 2002 (NPY1 Ver. A) [Guru]
Soul Calibur II (SC23 Ver. A) [Guru]
Soul Calibur II (SC21 Ver. A) [Guru]
Tekken 4 (TEF3 Ver. C) [Guru]
Tekken 4 (TEF2 Ver. A) [Guru]
Tekken 4 (TEF1 Ver. A) [Guru]
Mobile Suit Z-Gundam: A.E.U.G. vs Titans (ZGA1 Ver. A) [Guru]
Capcom Fighting Jam (JAM1 Ver. A) [Guru]
Quiz and Veriety Suku Suku Inufuku 2 (IN2 Ver. A) [Guru]
Mobile Suit Z-Gundam: A.E.U.G. vs Titans DX (ZDX1 Ver. A) [Guru]
Soul Calibur III (SC31001-NA-A) [Guru]
Kinnikuman Muscle Grand Prix (KN1 Ver. A) [Guru]
Taiko No Tatsujin 9 (TK91001-NA-A) [Guru]
Tekken 5.1 (TE51 Ver. B) [Guru]


This covers the BIOSes and memory card keys.  DVDs will be added later.  Please credit only Guru for these games.
2009-11-23 17:50:55 +00:00
R. Belmont
c80aaff52c Fixed GCC compile error in SC/MP.
I assumed the as-edited line was the intent of the code, if not Micko will need to fix it :)
2009-11-23 17:44:36 +00:00
R. Belmont
e76480c990 Fixed 64-bit GCC build. 2009-11-23 17:28:24 +00:00
Angelo Salese
c8093c4a52 hng64: implemented "simple" scroll register layout [David Haywood]
hng64: implemented "complex" scroll register layout [David Haywood]
2009-11-23 14:53:03 +00:00
Fabio Priuli
0502582bfe Added save states to astrocorp.c. Also updated the driver to use EEPROM device.
Converted groundfx.c to use EEPROM device.

The latter was mainly a test for the eepromdev_bit_r PORT_CUSTOM introduced in svn7301. It seems to works perfectly fine.
2009-11-23 13:27:34 +00:00
Miodrag Milanovic
7b1aa92c4d INS 8060 SC/MP II support (using clock divider 2), main model renamed to INS 8050 SC/MP 2009-11-23 11:19:15 +00:00
Miodrag Milanovic
d98fa09e1f Added Intel 8008 and National Semiconductor SC/MP CPU cores 2009-11-23 08:19:29 +00:00
Aaron Giles
65250dc49c Oops, forgot to add these. 2009-11-23 06:42:47 +00:00
Aaron Giles
9072c7f911 Added new module tagmap which is a simple hashed string map.
Updated device and input port lists to use the tagmap for
tag searches. Also removed the whole "quark" thing from the
validity checker in favor of using the tagmaps.
2009-11-23 04:55:26 +00:00
Brian Troha
41be698d6e adds information about the "Sand Scorpion" Chinese title screen with alt hardware revision set. 2009-11-23 04:26:50 +00:00
Fabio Priuli
7ce018db1d Added save states to the following drivers: compgolf.c, champbas.c, copsnrob.c, cop01.c, cosmic.c, cntsteer.c, dacholer.c and dec8.c
Also, removed a memory_set_bankptr I forgot in cultures.c
2009-11-23 01:01:03 +00:00
Fabio Priuli
2cac12df6b Added driver data struct to decocass.c.
For some reason video is not correctly restored after state loading, hence I haven't added the SUPPORTS_SAVE flag, yet. Not sure about the reason.
2009-11-23 00:02:30 +00:00
Fabio Priuli
8c0bcf5093 Added driver data struct to crgolf.c and clayshoo.c 2009-11-22 23:57:31 +00:00
Brian Troha
81c34417d0 minor documentation update for volfied.c driver 2009-11-22 19:03:46 +00:00
Brian Troha
725b5ebc84 designate Puzzle Bang Bang (vamphalf.c) as Korean version. For this set the title and language cannot be change. 2009-11-22 18:47:19 +00:00
R. Belmont
8bd282b8c4 Galaxian3 update [Naibo Zhang]
- Fleshed out skeleton driver.  Each CPU board passes many self-tests
- Master and slave CPU comms hooked up
2009-11-22 16:45:54 +00:00
R. Belmont
336139104b System 23 update [Naibo Zhang]
-Corrected memory mapping of palette RAM and handling of palette data.  Power-On Self Test now shows correct colors.
-Changed Panic Park from SS23 to S23 game.


New games marked as GAME_NOT_WORKING
------------------------------------
Final Furlong (FF2 Ver. A) [Guru]
2009-11-22 16:40:46 +00:00
R. Belmont
7f40f5fdb7 New games marked as GAME_NOT_WORKING
------------------------------------
The King of Fighters Neowave (Japan) [Cah4e3]


This is just the EPROM - he said he'll send the cart to Guru to get the mask
ROMs done.  The AX number on the EPROM matches the current (world?) set but
the contents are different (same encryption key works though).
2009-11-22 16:00:39 +00:00
Phil Bennett
9164eaf994 03545: tekken3, tektagt: Tekken games do not proceed into attract mode after initial screen [Phil Bennett]
03540: glpracr3, hvnsgate, raystorm: Missing sound. [Phil Bennett]
2009-11-22 14:23:36 +00:00
Fabio Priuli
7b8c510c95 and finally, the best part: added save states to armedf.c, calorie.c, canyon.c, chanbara.c, citycon.c, commando.c, crospang.c & cultures.c 2009-11-22 00:26:08 +00:00
Fabio Priuli
9307f270e5 And now, something worth a mention: added full driver data struct to changela.c, circus.c and circusc.c 2009-11-22 00:15:07 +00:00
Fabio Priuli
2744c3711c Added driver data struct to cball.c and capbowl.c.
Unfortunately, save states do not work due to pending timers. As for boxer.c, I'll dig further into the issue at a later stage
2009-11-22 00:07:53 +00:00
Fabio Priuli
db53fd5203 Not worth credit: added as complete as possible driver data struct to 1945kiii.c, actfancr.c, aquarium.c and ccastles.c.
some palette/sprite/nvram regions require generic handlers, and are commented out
2009-11-22 00:03:39 +00:00
Fabio Priuli
3045188af1 Added driver data struct and save state to albazg.c.
Also updated the driver to use hanafuda standard inputs, eeprom device, and memory_set_bank in place of memory_set_bankptr.
2009-11-21 23:49:12 +00:00
Fabio Priuli
1847675e7f Added nodefault eeprom macro for 93c46 and 93c66b eeprom device (not worth any credits) 2009-11-21 23:44:29 +00:00
Angelo Salese
1bae8ae070 hng64: Added preliminary hook-up for multi-byte chain mode for sprites, used by Buriki One and the two Samurai Shodown games [David Haywood, Angelo Salese]
hng64: Fixed back plane color, thus giving characteristic blue background for POST screen [Angelo Salese]
hng64: Improved Dual Port emulation, fixing the POST errors about it  [Angelo Salese]
2009-11-21 18:37:59 +00:00
Phil Bennett
f3d64920aa 03542: Sets/Drivers using YM2610: Missing sounds [Phil Bennett] 2009-11-21 15:44:07 +00:00
Angelo Salese
b52ad118e3 Small name bug-fix, no credit please 2009-11-21 14:54:49 +00:00
Ryan Holtz
8e250f09dc - RDP Updates: Fixed TMEM size, removed separate tlut, fixed tlut uploads [angrylion] 2009-11-21 14:33:14 +00:00
smf-
a9947ed0d3 updated ddr 3rd mix plus protection to remove display corruption. 2009-11-21 12:24:36 +00:00
smf-
7a3cc980ed added set name to -romident 2009-11-21 12:00:38 +00:00
Fabio Priuli
3d1b4b6fdd not to be credited: some steps towards tnzs.c save states
all statics are stored in struct, memory_set_bankptrs have been replaced by memory_configure_banks... yet save states do not work.

either I'm blind and I can't see some typo of mine, or all the memcpys in VIDEO_EOF do not work well with save states.

suggestions are welcome ;)
2009-11-21 01:08:47 +00:00
Fabio Priuli
715bbec027 Added driver_data struct and save states to chaknpop.c
Added save states to 2mindril.c, ashnojoe.c, bigfghtr.c, bublbobl.c, cchance.c, champbwl.c, missb2.c
Removed use of memory_set_bankptr where possible (in the drivers above and in angelkds.c)

i.e. some Taito love :)

as usual, drivers with only save state added also have almost complete driver_data struct, but the missing items do not affect saves (generic palette/sprite ram is automatically saved)
2009-11-21 01:00:09 +00:00
smf-
dd1d8777a9 added device support to the input system. internally this replaces PORT_CUSTOM/PORT_CHANGED, backward compatibility is achieved with an internal dummy device.
added output lines (IPT_OUTPUT), which can be written using new input_port_write* functions or directly from a memory map using AM_WRITE_PORT
converted adc083x to use io lines.
adc08x chips are all hooked up using input/output ports
reversed racing force steering wheel input and gas pedal, which is enough to get the game to boot.
reversed steering wheel input on winding heat, the usa cabinets are however hooked up the other way.
renamed adc0831_interface to adc083x_interface.
fixed adc083x gnd input
removed stray call logerror from adc083x.c
fixed default adc083x sars value
adc083x reset only affects outputs
2009-11-20 22:36:52 +00:00
Wilbert Pol
bcd6cff1fe tms7000: Fixed disassembly of PCREL addressing mode. 2009-11-20 18:53:06 +00:00
Jim Stolis
209ad304a0 drw80pkr.c:
- Added Save State Support
- Added Preliminary Dip Switch Settings
- Corrected CPU Clock Value
- Corrected Sound (Now Works)
- Narrowed Down More IO R/W Areas
2009-11-20 18:09:08 +00:00
Fabio Priuli
01afdeded1 Added driver_data struct and save states to blockout.c and bigevglf.c 2009-11-20 15:32:12 +00:00
Fabio Priuli
d20689a4f8 Added save states to zerozone.c, yunsun16.c, dominob.c, dogfgt.c and bogeyman.c
Out of whatsnew: I also added driver_data struct to these drivers (and to bombjack.c & blktiger.c as well) BUT, as in bionicc.c, some memory pointers (spriteram, paletteram or nvram) are commented out due to use of generic handlers
2009-11-20 15:29:53 +00:00
Phil Bennett
d536755b09 Removed some rogue occurrences of 'x1snd' resulting from device tag mass-change 2009-11-20 10:08:25 +00:00
Fabio Priuli
737b583448 Added driver data struct to beaminv.c
Added driver data struct and save states to blmbycar.c
2009-11-20 09:58:37 +00:00
Aaron Giles
f0cdba5b11 Cleanups and version bump. 2009-11-20 06:50:40 +00:00
Jim Stolis
620a6cbe4b drw80pkr - more code cleanup, no additions to whatsnew here 2009-11-20 04:38:07 +00:00
Brian Troha
8b7f643612 enable a couple of Naomi games that are now old enough to be included. Revert in needed. no what's new 2009-11-20 02:24:36 +00:00
Fabio Priuli
d9967c1e94 forgot to save one last change I did to arkanoid.c... 2009-11-20 00:47:32 +00:00
Fabio Priuli
dcb1342d42 - Added driver_data struct to arkanoid.c
- Added driver_data struct and save states to hexa.c
2009-11-20 00:41:58 +00:00
Jim Stolis
ad5a31d1d3 drw80pkr - more graphics/memory cleanup and preliminary input support 2009-11-20 00:13:15 +00:00
Fabio Priuli
cba7af8e5b Added save states to bionicc.c
Out of whatsnew: this driver also has 99% of driver data stored in the struct. 
it still misses paletteram16, which currently uses a generic handler(and hence does not fit the struct approach), but I wanted save states so much for this game that I commit it anyway :-)
2009-11-19 23:22:24 +00:00
Phil Bennett
aa2e1eb445 Fixed possible NULL pointer dereference in video/dec0.c [Oliver Stoneberg]
---------- Forwarded message ----------
From: Oliver Stöneberg <oliverst@online.de>
Date: Mon, Nov 16, 2009 at 7:59 PM
Subject: possible NULL pointer dereference
To: submit@mamedev.org


This pacth fixes a possible NULL pointer dereference in
src/mame/video/dec0.c reported by cppcheck.
2009-11-19 23:18:09 +00:00
Fabio Priuli
205846afd7 Added driver_data struct to astrof.c, ambush.c and angelkds.c 2009-11-19 23:16:22 +00:00
Phil Bennett
d433391568 Added dual screen output to the Konami GX Type 3/4 games [David Haywood]
-----Messaggio originale-----
Da: David Haywood [mailto:neohaze@nildram.co.uk]
Inviato: martedì 17 novembre 2009 0.44
A: Philip Bennett; Angelo Salese
Oggetto: Konami GX Type3/4 dual output

this starts to add dual screen output to the Koanmi GX Type 3 /4 games.

they're probably missing a sprite base register, because if you turn the
dipswitch for 2nd monitor on they're using the wrong spritelist, even in
Soccer Superstars, but otherwise the games automatically bank the
tilemaps in an appropriate way.

Kale, they seem to trigger extra protection writesi in this mode?

btw, Aaron, is there a way to tell MAME to default to a SINGLE screen
layout, but still give the dual screen layout in the video options, that
would better suit these games than displaying 2 screens by default
(because the 2nd screen only tells you that it's disabled at the moment)
2009-11-19 23:10:11 +00:00
Fabio Priuli
5020027c32 Added driver_data struct to appoooh.c and boxer.c. Also merged boxer video emulation into drivers/boxer.c.
Notice that state saves still do not work for boxer, due to timers which need to be untangled. I hope to work more on this issue in the weekend.
2009-11-19 20:36:19 +00:00
Fabio Priuli
d6ab329f41 Added driver_data struct and save states to bankp.c, battlane.c, blockade.c, blueprnt.c, brkthru.c and bsktball.c 2009-11-19 20:32:12 +00:00
Angelo Salese
4f0e1dc0a8 hng64: work-around to get to the character screen in Samurai Shodown 64, hangs again after it 2009-11-19 19:31:05 +00:00
Wilbert Pol
d28c77d4fb Added missing sound type check. 2009-11-19 19:31:04 +00:00
Jim Stolis
752068a42c drw80pkr - additional graphic fixes. 2009-11-19 13:53:03 +00:00
Fabio Priuli
a7d1114325 Added driver_data struct and save states to battlex.c, carjmbre.c, popper.c and spaceg.c
...some Omori love ;)
2009-11-19 08:40:17 +00:00
Aaron Giles
cf62f4e8bc Put minimum tag length back to 2 characters for now. 2009-11-19 05:34:46 +00:00
Jim Stolis
5709ada61a Renamed drw80pkr to drw80pk2. Appears to be later version and MN jurisdiction specific.
Replaced drw80pkr with older dump from [Team Europe].

drw80pkr:
- Added various graphics improvements and corrected colors.  Game boots much farther and cleaner.
2009-11-19 04:10:44 +00:00
Fabio Priuli
15b0c50409 Added driver_data struct and save states to astinvad.c and avalnche.c 2009-11-19 00:57:14 +00:00
Angelo Salese
511f74f7f6 hng64: removed Program Counter-based routines in Samurai Shodown 64 1/2, this fixes the first episode that can now be coined up, however it hangs soon after that 2009-11-19 00:34:33 +00:00
Angelo Salese
6787330805 hng64: improved MCU simulation and added inputs in Beast Busters 2nd Nightmare, it can now reach gameplay mode too. 2009-11-19 00:01:08 +00:00
Fabio Priuli
69e98c3a1e Forgot to commit this: Added driver_data struct to aeroboto.c 2009-11-18 23:26:26 +00:00
Fabio Priuli
df5e775183 Added driver_data struct and save states to atarifb.c 2009-11-18 23:24:43 +00:00
Fabio Priuli
b5af35345a Added driver_data struct and save states to n8080.c 2009-11-18 23:20:30 +00:00
Fabio Priuli
09cb5b9ffc Added driver_data struct to adp.c, albazc.c and arabian.c
Out of credits, I also added: 
* save states to adp.c (because part of the struct was already there), but nothing is working => no flag; 
* save states to albazc.c, but I don't want credit, since no variable needed to be saved (i.e. save states were already there)
2009-11-18 23:12:34 +00:00
Angelo Salese
68f3c5b386 hng64: rewritten the MCU simulations, basically to be more clean than before 2009-11-18 20:19:56 +00:00
Fabio Priuli
462870d6ad Added driver_data struct to ace.c 2009-11-18 19:22:01 +00:00
Scott Stone
4eb5f07a9c Verified/changed clocks and vsyncs on the following games: Aerofighters (only vsync), Power Spikes, Turbo Force (only vsync), Guzzler/Swimmer (same pcb), Exerion and Karate Champs Vs. [Corrado Tomaselli] 2009-11-18 19:02:03 +00:00
Fabio Priuli
d1903dddb1 Fixed wrong order parameters in memset (spotted by Beledgol) 2009-11-18 18:32:07 +00:00
Aaron Giles
ad062c9e43 Fix TLBMOD exceptions so they also properly set BadVAddr. 2009-11-18 15:46:52 +00:00
Fabio Priuli
0e9664b331 Added driver_data struct to 1942.c and 1943.c. Also moved 1943.c to use memory_configure_bank in place of memory_set_bankptr.
Side-notes (not worth mention): 
* I fear we were missing a local static array in 1942 save states (now it is saved)
* I haven't found a better way to configure 1943 banks than to split the 0x4000 bank into 4 pieces. can anyone come up with a better approach?
2009-11-18 15:30:40 +00:00
Fabio Priuli
ea72b5770d Added tentative PORT_CUSTOM(eepromdev_bit_r) for EEPROM devices.
Not 100% sure this is the better way to implement this (we pass the eeprom tag as parameter of the PORT_CUSTOM), but I haven't been able to find a better solution.

No driver uses this yet, so I'm open to any suggestion before to use it extensively ;)
2009-11-18 13:26:30 +00:00
Fabio Priuli
778aebca90 Updated 20pacgal to use EEPROM device. Proper save state support still needs some work (to handle the rom banking mechanism).
Updated galgbios to use EEPROM_NODEFAULT.
2009-11-18 12:59:47 +00:00
Fabio Priuli
514c637bbe Added a MDRV_EEPROM_NODEFAULT_ADD macro for drivers which do not need default data size / data
I don't like too much this solution, but now the code is self contained: hence, better fixes (e.g. no MDRV_DEVICE_CONFIG_DATAPTR(eeprom_config, default_data, &_data) at all for the NODEFAULT eeprom?) could be added without further modifying the behavior across the drivers.
2009-11-18 12:56:36 +00:00
Fabio Priuli
1a9e28c419 Added driver_data struct to 4enraya.c 2009-11-18 12:51:25 +00:00
Jonathan Gevaryahu
2aa28ef3d9 fix crash bug 2009-11-18 08:56:19 +00:00
smf-
2fb6585733 removed include of non existant irem.h 2009-11-18 08:37:46 +00:00
Jonathan Gevaryahu
3dbbc11f0d Got rid of R->OldNoise since it causes problems for gamegear/sms. Changed noise taps accordingly. Redid change to gamegear/sms for XOR vs XNOR, now verified by Justin Kerk. Verified gamegear noise taps thanks to sample provided by Justin Kerk.
Add stereo sound support to sn76496.c for gamegear. [Lord Nightmare, Justin Kerk]
2009-11-18 08:09:19 +00:00
Fabio Priuli
c3ea836b07 Not worth any mention: fixed a couple of unknown manufacturer 2009-11-18 07:29:43 +00:00
Fabio Priuli
d8588f632f Added save state support and driver data struct to m10.c, m14.c, m52.c, m57.c, m58.c, m62.c, m63.c and travrusa.c.
Merged some include files and merged audio/fghtbskt.c in drivers/m63.c.
2009-11-18 06:47:40 +00:00
Aaron Giles
693024974e Fix assertion in DRC. 2009-11-18 06:12:50 +00:00
Angelo Salese
f9a9cbe81b hng64: Improved the Samurai Shodown 64 2 i/o simulation comms, now inputs works and enters into proper gameplay 2009-11-17 23:43:08 +00:00
Scott Stone
ef6e492a40 Fix for r7200 changes to allow nndmseal to boot once again. [David Haywood] (no whatsnew needed) 2009-11-17 22:35:24 +00:00
Phil Bennett
6fbe49dcb9 Replaced model3.c fatalerror() calls with development-friendly logerror() calls. Also allows dayto2pe to boot again. 2009-11-17 20:40:34 +00:00
Fabio Priuli
5d6b32a8a5 it might help to save latest version of the files before commit: this properly adds save state flag to marineb.c games 2009-11-17 18:55:47 +00:00
Fabio Priuli
2548154f87 Added save state support to marineb.c
Added driver data struct to espial.c, marineb.c & zodiack.c
2009-11-17 18:51:55 +00:00
Fabio Priuli
112a759ceb Added driver data struct and save state support to pandoras.c 2009-11-17 18:07:30 +00:00
Fabio Priuli
0ce54a4eda Fix for MT03535: 3stooges: P1-P2-P3 button does not match documentation (input (this game))
Please credit Haze for this fix.
2009-11-17 17:48:19 +00:00
Aaron Giles
aeca44b1ca Fix PowerPC 603 translation so it doesn't get stuck in an infinite
loop after the first fixup.
2009-11-17 15:43:06 +00:00
Aaron Giles
39957739fd Fix broken DRC logging. 2009-11-17 15:40:48 +00:00
Jonathan Gevaryahu
0a647b65c9 revert gamegear/sms psg change, was probably correct before, but need a better sample of the waveform to make sure. 2009-11-17 13:34:30 +00:00
Aaron Giles
ccefa6749d MIPS3 TLB fixes:
- fixed bug in vtlb code that caused us to lose track of previously
    registered fixed page ranges
 - fixed MIPS3 behavior that would not clear out invalid page ranges
    from the VTLB under certain circumstances
 - added support for TLB sizes less than 48 entries
2009-11-17 06:09:38 +00:00
Brian Troha
ff8dd5641e Greyhound driver update:
Mark second "Super Poker" rom as BAD_DUMP, self test reports it as bad.  Added version number to amuse1 rom def and minor whitespace cleaning
2009-11-17 02:53:20 +00:00
mariuszw1
de54fe04aa Merged findout.c and getrivia.c into gei.c [Mariusz Wojcieszek] 2009-11-16 22:02:33 +00:00
Phil Bennett
ba64d1b501 New clones added
----------------
Steraranger (Moon Cresta bootleg) [Siftware]
2009-11-16 16:10:45 +00:00