Commit Graph

2036 Commits

Author SHA1 Message Date
Aaron Giles
ec54e3911d Save state support:
* added save state support to the MIPS3 recompiler
 * added save state support to CAGE audio system
 * added save state support to the voodoo emulator
 * added save state support to the smc91c9x emulator
 * added save state support to the kinst, seattle, and vegas drivers
 * fixed core video handling of save states with dynamic screen resolutions

SMC91C9x:
 * converted to proper device
 * updated seattle and vegas drivers to allocate devices
 * added separate 91C96 device for eventual 2049 use
 * cleaned up code
2008-06-23 07:58:17 +00:00
Roberto Fresca
1fc4546190 Cal Omega driver updates:
- Lots of improvements on the input system.
 - Adjusted the CPU adressing to 14 bits for systems 903/904.
 - Adjusted the CPU adressing to 15 bits for system 905.
 - Rewrote all the ROM loads based on these changes.
 - Defined CPU, UART and sound clocks.
 - Splitted the sound interface to cover different systems.
 - Splitted the PIAs interfaces to cover different systems.
 - Added sound to system 905 games.
 - Added MACHINE_START and MACHINE_RESET to initialize the devices properly.
 - Documented the systems 903/904 UART connections.
 - Traced and added PIAs connection diagrams for systems 903/904/905.
 - Hooked the missing DIP Switches bank to the AY8912 for system 903.
 - Added preliminary serial/UART support to systems 903/904.
 - Hooked the missing DIP Switches bank to the ACIA 6850 for systems 903/904. It allow to choose the proper transfer rate for UART.
 - Fixed graphics ROM loads for different Hotline versions.
 - Added support to Game 8.0 (Arcade Black Jack).
 - Added support to Game 12.3 (Ticket Poker).
 - Added support to Game 23.0 (FC Bingo (4-card)).
 - Renamed all roms of each set according to the systems schematics and official list.
 - Cleaned-up the sets.
 - Cleaned-up the driver.
 - Updated technical notes.


New games marked as GAME_NOT_WORKING
------------------------------------
Cal Omega - Game 8.0 (Arcade Black Jack) [Roberto Fresca]
Cal Omega - Game 12.3 (Ticket Poker) [Roberto Fresca]
Cal Omega - Game 23.0 (FC Bingo (4-card)) [Roberto Fresca]
2008-06-23 04:49:26 +00:00
Brian Troha
9006bb8402 minor information updates:
20pacgal.c: Known alt version not dumped
segas16a.c: Made Action Fighter game def like the others
segas16b.c: Found the game number for Shinobi set
2008-06-23 02:20:52 +00:00
R. Belmont
bdd608f8ba Various NiLe fixups. Music in-game now sounds quite acceptable, if not yet perfect. 2008-06-23 02:07:52 +00:00
Aaron Giles
0dc00ab33f Converted voodoo into a proper device.
Updated drivers accordingly.
2008-06-23 01:28:05 +00:00
R. Belmont
167df11887 Correct the loop flag in the NiLe. Still more to do. 2008-06-23 01:14:48 +00:00
Wilbert Pol
a01d5624a3 Removed i8x41.ram hack from the i8x41 cpu core. 2008-06-22 20:21:51 +00:00
Tomasz Slanina
cecb9c22a9 Preliminary emulation of ST-0026 NiLe (sound).
Added audio (imperfect) to Super Real Mahjong P6.
(2nd attempt)
2008-06-22 20:14:14 +00:00
Couriersud
50b9d23c82 dkong.c: Merge driver init code for drakton and strtheat
* made decryption for drakton and strtheat more compact
* moved decryption and driver init code into dkong.c
* deleted drakton.c and strtheat.c
2008-06-22 14:59:35 +00:00
Couriersud
f18db5b067 implemented 8257 dma controller as proper device
* rewrote 8257dma.[ch]
* updated dkong.c accordingly
2008-06-22 13:48:55 +00:00
Couriersud
0bee46b0ac x86emit.h: Back out commit #2007 which accidentally commited this file as well 2008-06-22 11:44:26 +00:00
Couriersud
b85a4f86e5 Cleaned up z80dma interface - missing files from last commit)
* removed compatibility to old z80dma driver
* now uses std. callbacks (READ8_HANDLER, WRITE8_HANDLER)
* updated mario and dkong3 accordingly
2008-06-22 11:41:50 +00:00
Couriersud
d711b98626 Cleaned up z80dma interface
* removed compatibility to old z80dma driver
* now uses std. callbacks (READ8_HANDLER, WRITE8_HANDLER)
* updated mario and dkong3 accordingly
2008-06-22 11:40:40 +00:00
Aaron Giles
8138105277 01916: srmvs: Assertion
Removed erroneous assertion.
2008-06-22 03:03:43 +00:00
Aaron Giles
d4b702bf33 01900: All sets in kinst.c: Mass coin input disables dipswitch access, and thus further coin input during a fight 2008-06-22 01:40:28 +00:00
Couriersud
a6cec043df 01709: startrek, tacscan, zektor: Duplicate P1 + P2 Starts Mapped 2008-06-22 00:16:12 +00:00
Couriersud
a337e5dcf8 01715: ballbomb: Player 1 Left+Right and Button 1 mapped twice.
* in addition, fixes duplicate inputs for invaders, sicv and clones.
2008-06-22 00:02:32 +00:00
Couriersud
6441dc4dd7 01714: ssfindo: Player 2 Start mapped twice. 2008-06-21 22:28:32 +00:00
Couriersud
75ad1fa1e7 video/namcofl.c:
* fixes read from input port during VIDEO_START
2008-06-21 16:01:40 +00:00
Couriersud
a52d87d3cb williams.c:
* pass input port tags as param to williams_mux_r following Aaron's suggestion.
2008-06-21 14:02:15 +00:00
Couriersud
f845557c10 williams.c
* use CUSTOM_INPUT and PORT_CUSTOM for multiplexing inputs
* code pre aaron's comments
2008-06-21 13:47:56 +00:00
Couriersud
389c0dec33 01818: All sets in rastan.c: 2nd (unused) Service Mode DIP assigned.
* credit stephh
* removed duplicate comment as well
2008-06-21 10:01:57 +00:00
Aaron Giles
3245688ccf 01905: Many Sets: Fatal Error crash - Fatal error: Input ports cannot be read at init time! (src/emu/inptport.c:1278)
Removed call to discrete_reset() in the initialization code. It is already
called by the sound system during reset, at which point it is safe to read
input ports.
2008-06-21 05:25:19 +00:00
Aaron Giles
02ad5125b1 01912: Various: Unable to construct input ports! (part 2) 2008-06-21 04:57:44 +00:00
Couriersud
f9364b11a7 01889: realbrk, realbrkk, realbrkj: Flip screen DIP switch doesn't work 2008-06-21 00:27:33 +00:00
Couriersud
1dc5e722a8 williams.c:
* removed duplicate inputs from tshoot and joust2
2008-06-20 23:43:54 +00:00
Couriersud
f75e658053 01869: alienar, alienaru, splat: Duplicated Inputs 2008-06-20 23:19:31 +00:00
Couriersud
548af32f1b 01575: joust, joustr, joustwr: Player 1 and Player 2 Start buttons are mapped twice. 2008-06-20 23:10:50 +00:00
Couriersud
1b58bbc985 01866: gstream: Duplicated Inputs
* added custom inputs to mirror existing ports
* changed to use input_port_read
2008-06-20 22:12:10 +00:00
Couriersud
bf85ec357e 01903: mooncrst and most clones: 3rd+4th Wave have enemies that are corrupted. 2008-06-20 19:15:41 +00:00
Aaron Giles
587c6c7176 01908: Various: Access Violation when saving a snapshot 2008-06-20 14:42:34 +00:00
Aaron Giles
b9415c289f Fixes for MSVC compile. 2008-06-20 14:35:07 +00:00
Yasuhiro Ogawa
f54f4c9959 fixed stupid mistake 2008-06-20 12:56:52 +00:00
Nicola Salmoria
495e328fd4 updated comments 2008-06-20 08:15:44 +00:00
R. Belmont
85d9163a63 MultiPCM/315-5560 rewrite by ElSemi. All features are now supported including PLFO and ALFO. 2008-06-19 16:21:46 +00:00
Yasuhiro Ogawa
7bff8e6548 GX era haradware: use actual value written to the CCU 2008-06-19 09:26:58 +00:00
R. Belmont
61bd2a49a1 Added assert as suggested by Olivier. 2008-06-19 01:17:20 +00:00
R. Belmont
ce942e905f Fix for GCC 4.3. Tested with kinst, blitz, carnevil, and cryptklr. 2008-06-18 16:55:33 +00:00
Aaron Giles
df51f92bba 01906: All sets in atartig1.c: Fatal Exception crash 2008-06-18 02:32:17 +00:00
Aaron Giles
438d70d8a8 01904: [DIP/Input] teetert: Player movement has slowed from previous MAME 2008-06-18 02:27:28 +00:00
Aaron Giles
b724c35c1f Fixed input port read validation. The previous check was way too aggressive,
and prevented CUSTOM_INPUT handlers from reading other ports. This one sets
an "all clear" flag as soon as the configuration data is loaded.
2008-06-18 02:10:53 +00:00
Curt Coder
76869d8284 Fixed input port read at init time. 2008-06-17 19:55:40 +00:00
Aaron Giles
2d035a1c6a Cleanups and version bump. 2008-06-17 15:19:10 +00:00
Aaron Giles
0fab88feb3 some protection improvements for vgoalsoc / tecmo world cup 98 from nuapete.
looks like the protection on vgoal might do more than just return jump 
addresses, it seems to be in charge of the game timers too, so who knows 
if there is additional subtle behavior on both.
2008-06-17 14:56:27 +00:00
Aaron Giles
f6c324faf2 From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Subject: some more diff

Hi, attached please find a few more patches about indexed port reads. 

* g_patch01 & g_patch02 cover drivers starting with g (it seems I never sent you these ones :) ). With these patches I also simplified gaplus inputs, fixed a small problem with grchamp coin lockout (it was reading the accelerator rather than the right dipswitch) and removed some old code from galaxold.c (driver & machine). 

* k_patch & l_patch cover drivers starting with k & l. Notice that I simplified a bit konamigx ports and used input_port_read_safe to avoid the need of too many fake ports

* snes.diff removes indexed port reads from snes based drivers (nss.c & kinstb.c). Please let Arbee know that if he's still using the debug graphic inputs in his local builds, he has to add tags (DEBUG1, DEBUG2, DEBUG3, see kinstb.c). OTOH If he's not using those anymore, it's now easier to remove the dead code searching for those 3 tags.

* md.diff removes most of indexed port reads from megadrive/genesis based drivers (plus segas18, that I realized later it was sharing only video code). It also removes some dead code (handlers used only by megaplay/megatech, with a local copy in the driver). 
Notice that port_read_indexed is still used to read pad inputs: indeed, the natural 'tagged' replacement has issues with 6 button pad (and therefore breaks ssf2ghw). hopefully, I'll find a clean solution to be submitted after u6 :)

Regards,
    Fabio
2008-06-17 14:55:43 +00:00
Aaron Giles
ed88246e48 More input_port_read_indexed() -> input_port_read()
From: Fabio Priuli [mailto:doge.fabio@gmail.com] 
Subject: 3 more

Hi,

"thanks" to a sleepless night (due to jet lag) a few more patches. Let me know if something fails to apply, as usual.

Regards,
    Fabio
2008-06-17 14:22:32 +00:00
Aaron Giles
e5ffa886e3 From: abcd efgh [mailto:cix_999@yahoo.it]
Subject: ddragon3 fix & The Combatribes (Italian bootleg)

Added The Combatribes (Italian bootleg) to the ddragon3 drive, the game has an different z80's rom sound and the sprites roms are split in more small.
I've also done some fixes in ddragon3 drive (on mama tester ID 01441,00417,00181):
- Fixed the mess dips location in ctribe
- Added dips location in all sets of ddragon3
- Added the missing dips (now are 8x2) on ctribe,ctribe1,ctribeb,ctribb2 and ddrago3b
- Fixed the "Stage Clear Energy" dips in ctribe
- Adjusted the frame rate from 60hz to around 57 as reported on mametester ID 00417
- Adjusted OKI frequency to  1.000mhz (according to recording on mametester ID 00181)
- Adjusted the ddragon3 & ctribe volume (according to recording on mametester ID 00181 and 01441)

Bye Sonikos
2008-06-17 14:19:18 +00:00
Aaron Giles
23ea9d2db4 From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Subject: more indexed read removed

Thanks to long flight connections in my trip back to Europe, here you can find more patches removing input_port_read_indexed and adding (where suitable) AM_READ_PORT.

In details:

* d_patch02.diff, d_patch03.diff, d_patch04.diff complete the removal among drivers starting with d
* e_patch.diff, f_patch.diff do the same with drivers starting with e & f
* atari.diff removes the occurrences in atari drivers using atari JSA sound chip and changes atarijsa_init to pass a tag in place of a port number (to remove input_port_read_indexed from atarijsa.c as well)

Let me know if something doesn't apply cleanly (diff generated from u5). 

Also, notice I tested all the patches with mame_regtest to be sure there are no missing/unrecognized tags & I extensively tested many games to be sure I haven't made any typo... However, the list of supported sets for these drivers is huge (e.g. dynax.c, ddenlovr.c and various deco) and, even if I'm confident to have tested at least one set for each INPUT_PORT, I'll keep checking Mametesters to fix promptly any regression!
2008-06-17 09:54:25 +00:00
Aaron Giles
063b5b378e From: Corrado Tomaselli [mailto:corrado.to@tiscali.it]
Subject: cps1 clocks

Changed all games after Street Fighter 2 CE to have a 12mhz clock. 
Verified on Megaman and Quiz and dragons (original kits with plastic
case).
I am resonable sure all the other games after ST2CE have the DASH cps1 
board with 12mhz clock
2008-06-17 09:45:44 +00:00
Aaron Giles
86e20b9b98 From: Oliver Stoeneberg [mailto:oliverst@online.de]
Subject: more Machine -> machine cleanups

This is mostly a cleanup of src/drivers/* and src/machine/*
2008-06-17 09:44:03 +00:00