Commit Graph

1975 Commits

Author SHA1 Message Date
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
Yasuhiro Ogawa
bc743298b7 Some frequency tweaks.
konamigx: set screen refresh rate to 58Hz (parameters from developer manual are not 100% correct)
Removed sound CPU clock hack. tbyahhoo doesn't require 9.2MHz to boot.

tecmosys: set screen refresh rate to 57.4458Hz according to Guru's measurements. Credit Guru for this.
2008-06-17 09:20:50 +00:00
Aaron Giles
8628f1dafe UML:
- reactivated back-end validation mechanism
 - added back-end validation for ADD/SUB/MUL/DIV/CMP forms
 - fixed several errors in dealing with more obscure flag combinations
2008-06-17 09:19:07 +00:00
Brian Troha
affa57c62c minor doc update to reflect newly confirmed information 2008-06-17 03:35:09 +00:00
Brian Troha
9bff6a2bba corrects the SHA1 values in the new Turbo Outrun set and one rom name in segas18.c 2008-06-17 03:29:27 +00:00
Brian Troha
a7119359bb New games added or promoted from NOT_WORKING status
---------------------------------------------------
Alien Storm 2 player World [Frederic Canoen]

New clones added
----------------
Turbo Outrun - White Cockpit version [Frans van Egmond]

New games marked as GAME_NOT_WORKING
------------------------------------
Wonderboy 3 System16A FD1089A [Volker Hann]

redump of Tetris (Volker Hann) to pass self test in menu


Check in Chris Hardy... made new Turbo Outrun the parent and change the upgrade set to a clone with a new name "toutrunu"....
2008-06-17 02:38:34 +00:00
Wilbert Pol
01756b3bcb Renamed "Nintendo z80gb" cpu core to "Sharp LR35902". 2008-06-16 18:22:10 +00:00
Aaron Giles
a7be43dc68 Added new function video_get_view_for_target() which selects a view based
on a command-line parameter and the configuration. Changed Windows OSD
code to use this instead of its own logic. Changed -snapview to share the
logic as well, enabling 'auto' as a -snapview option.
2008-06-16 17:05:44 +00:00
Aaron Giles
69ba0bd294 Cleaned up software bilinear filtering code. Added bounds checking.
Enabled by default for snapshots and movie rendering.

Added new option: -snapsize, which lets you specify the target
resolution for snapshots and movies. The existing behavior is still
the default: create snapshots and movies at native pixel 
resolutions.

Added new option: -snapview, which lets you specify a particular
view to use for rendering snapshots and movies. The existing 
behavior is still the default: use a special internal view and 
render each screen to its own snapshot in its own file. When using 
this option to specify a view other than 'internal', only a single 
snapshot file will be produced regardless of how many screens the 
game has.

Improved AVI and MNG recording to properly duplicate/skip frames
as appropriate to keep the correct framerate.
2008-06-16 16:34:51 +00:00
Curt Coder
a93fb6b1bf Added a validity check against reading input ports at init time. 2008-06-16 15:05:06 +00:00
Curt Coder
6a1d0b762c Looping:
- marked COP420 ROM as a BAD_DUMP since the data inside it is repeated 4 times and offset from PC 0.
2008-06-16 15:03:23 +00:00
Curt Coder
6950cd07a7 COP4xx:
- fixed typo in disassembler
2008-06-16 15:00:20 +00:00
Aaron Giles
5deab27d6d Created common virtual TLB managment module.
Updated MIPS and PowerPC code to make use of it.
2008-06-16 03:12:49 +00:00
Couriersud
cd0703d80a 01888: raidena, raidenk, raident: Flip screen DIP switch doesn't work.
* added raidena_control_w and hooked it up to raiden[akt]
2008-06-15 21:48:39 +00:00
Couriersud
033587279e Fix typo causing compile to fail. 2008-06-15 17:06:36 +00:00
Couriersud
8940457321 Added a comment on duplicate IPT_START1 assignment. 2008-06-15 17:04:02 +00:00
Yasuhiro Ogawa
9b4583f3ad use MDRV_RAW_PARAMS instead of MDRV_REFRESH_RATE (thanks Aaron) 2008-06-15 04:15:39 +00:00
Yasuhiro Ogawa
208c0dc486 Corrected screen refresh rate according to the developer manual (288x224 mode) 2008-06-15 01:31:37 +00:00
davidhay
7b61200ce6 started looking at tankfrc4 inputs.. they're multiplexed on the normal address somehow (may require studying of the code) 2008-06-15 00:35:54 +00:00
davidhay
96affdf99e from ElSemi, progress on protection simulation for 2 Crystal System titles. Still not working. 2008-06-14 18:07:11 +00:00
davidhay
16a9975ab5 some changes to squahitsa .. still don't really understand the controls.. 1 bit dial?? 2008-06-14 12:17:13 +00:00
davidhay
fba9bad69f adds terra force bootleg with extra z80.
it's playable, but it resets in attract mode so I've left it as non-working.

would be nice to know what the real MCU is on these so that they can be emulated properly ;-)
2008-06-14 11:40:04 +00:00
Tomasz Slanina
93bbd11765 Added sound emulation to Wily Tower, Atomic Boy and Fighting Basketball. 2008-06-14 09:28:14 +00:00
Roberto Fresca
b6ba0bf05a Sega System C/C2 Driver:
Added info about the alternate system name (System 14) as requested by Nicola.
Added the board number to Columns (from the manual).
2008-06-13 11:15:06 +00:00
Nathan Woods
01a8513bcc Removed some MESS-y code 2008-06-13 10:48:15 +00:00
Aaron Giles
2e8eddb648 MIPS3 recompiler:
* added UML comments for common state variables
 * removed some unused fields
 * implemented LL/LLD/SC/SCD (only works single-processor for now)
2008-06-13 07:29:28 +00:00
Aaron Giles
4bc9630265 Turned off logging on the mips core. 2008-06-13 06:43:21 +00:00
Nathan Woods
1c989c1f59 Typo fix 2008-06-13 00:18:48 +00:00
Brian Troha
f6aec511f0 added the following info (via eBay auction):
There is a Top Tronic licensed version currently not dumped
2008-06-12 22:45:08 +00:00
Brian Troha
d4e5c515e4 slight whitespace clean up and added a little bit of copyright info where I could 2008-06-12 22:42:51 +00:00
Aaron Giles
5a162da3d4 Cleanups and version bump. 2008-06-12 19:59:19 +00:00
Aaron Giles
1855238186 Undo change 1933 temporarily ... not quite ready to unleash this on the world
with no substantial dev exposure.
2008-06-12 19:51:49 +00:00
Curt Coder
aa15601968 Added a validity check against reading input ports at init time. 2008-06-12 19:34:37 +00:00
Couriersud
284b13c277 Moved moonwar and moonwara from scobra.c to galaxian.c 2008-06-12 19:33:02 +00:00
Aaron Giles
a701f8537e Added bilinear filter option to software rendering. Not hooked up to anything yet. 2008-06-12 19:14:18 +00:00
davidhay
50f9e740f0 NeoGeo changes from Johnboy
Changes:
========
Updated Neo-Geo game pcb infos
Marked kof2001h AES VERSION
Marked samsho3a MVS VERSION
Marked 2020bba AES VERSION, renamed p1 and added a note
Renamed lastsold p1 to correct chip label 134-p1k
-> Checked other Korean sets, found similar ID change; renamed accordingly
	Renamed rbff2k p1 to 140-p1k
	Renamed fswords p1 tp 187-p1k
	Renamed aof3k p1 to 196-p1k
   Added comment to kof99n: Korean version?
Renamed mslug3n to mslug3h, Marked AES VERSION, changed mamedriv.c
Remove BAD_DUMP from kotm, add correct m1
Correct s1 layer size in samsh5sp + clones
Removed BAD_DUMP from burningf + clone
Added correct m1 to lbowling
Added correct m1 to socbrawl + clone
Added correct m1 to mutnat
Added correct m1 to joyjoy
Added correct c1/c2 and s1 to marukodq
Renamed p-roms in wh1 and wh1h, added comment
Added some comments about 'M1' and 'S1' roms
Renamed files in kof2001 to correct chip label, changed m1
Corrected set pbobblen as found on MVS cart, added notes
2008-06-12 19:10:56 +00:00
Manuel Abadia
a3cc805f35 One more note about the PCB layout by Mirko Mattioli 2008-06-12 17:46:37 +00:00
Curt Coder
f8912e4a2d COP4xx:
- Added COP421 variant

Thayer's Quest:
- Fixed SSI-263 timings, service mode works now
- Changed to use COP421
2008-06-12 17:20:08 +00:00
Aaron Giles
c10b238896 Added option -[no]coin_lockout (-[no]coinlock) to control coin lockout behavior. 2008-06-12 17:06:49 +00:00
Aaron Giles
e62e3229d3 Missed file from previous checkin. 2008-06-12 16:58:03 +00:00
Aaron Giles
162e9bffa4 From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Subject: last 2 patches (now attached for real!)

Hi,

attached please find a couple of patches, again input related:

* d_patch01.diff removes a few more read_indexed from a bunch of drivers which were easy to test (just few supported sets)
* backpatch.diff replaces the sprintf I added (in my first submission) with the cleaner solution you suggested

Regards,
   Fabio
2008-06-12 16:57:38 +00:00
Aaron Giles
3a2c319252 From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Subject: a few more

Last batch of diff to replace input_port_read_indexed occurrencies for this u4. I widely tested the changes, so everything should be ok.

As usual 5/6 driver each patch: let me know if something fails to apply.

A final note: I added 2 'empty' ports to bullsdrt in centiped.c. This is a bit of paranoia to cover the possibility that one unknown dip is a flipscreen one (so that centiped_IN2_r has something to read for the second player as well). If bullsdrt is known not to have flip screen code, please remove these.
Anyway tags allowed me to remove an empty 5th input_port in bullsdrt, which was there to have trackballs as 6th input (like centiped & milliped have), so the code is a bit cleaner now :)

Regards
     Fabio

p.s. I also changed a few AM_READ(input_port_N_read) with AM_READ_PORT... as usual more to come after u5 is out!
2008-06-12 16:53:49 +00:00
Aaron Giles
9b80898ee0 From Shimapong
MAMETesters Bugs Fixed
----------------------
00277: [Misc.] groundfx.c, gunbustr.c, superchs.c, taito_f3.c,
       undrfire.c, psikyosh.c: Cheat search causes fatal error

Source Changes
--------------
Updated cheat system
 - Changed the function of default memory read in case of the search
   to prevent from crashing if a game uses cpu_spinutil()
   Now basically used do_memory_read() instead of do_cpu_read()
   (Try to search in actfancr between this and previous version)
   NOTE : It's not fundamental solution but no longer crash
 - Cleaned up read_data() and write_data()
 - Cleaned up save/load routine and added open_cheat_database()
 - Added new menu "Cheat Commands" into the cheat main menu
     the following commands are supported in this menu
      * reload cheat code (the same as Reload Database key)
      * cheats ON/OFF (the same as Toggle Cheat key)
      * watchpoints ON/OFF (the same as Shift + Toggle Cheat key)
      * save description (save the title of the game)
      * save raw code (save raw cheat code with new format)
 - Fixed several bugs which has found in testing
 - Renamed functions based on coding guidlines
2008-06-12 16:46:29 +00:00
Aaron Giles
863a28e929 From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Subject: a few more read_indexed removed

Hi Aaron,

attached please find a few more patches to remove input_port_read_indexed, following the approach you suggested.

Once again, each patch covers 5/6 drivers to more easily avoid failures while applying them.  Let me know if any patch fails to apply.

Also, I would like to ask some of you to take a look at bbusters.c: the behavior of the handler 'control_3_r' seems strange to me but I was not able to understand exactly which is its role in the driver. Currently, it reads one of the inputs "IN5", "IN6", "IN7" (because gun_select assumes values 0,1,2). If it's used to select the gun among the 3, shouldn't it read "IN5", "IN7" and "IN9"? anyway the current code works, so I only added a comment about this and I hope some of you can review this part of the driver to remove the remaining input_port_read_indexed.

A couple of additional notes (tag names refer to the ones I added in the patch): 

* in bnstars.c, the input port tagged as "IN6" is never read. probably this is well known to the driver author but... I think there was no harm in pointing it out :)
* in bsktball.c, Start is mapped to both the start & p1 buttons (but it is hidden behind an hack, check src/mame/machine/bsktball.c). since you were removing a few of these duplications recently, maybe this one could go as well...
* in bwing.c, the input port tagged as "EXTRA" seems an hack, and maybe it could be removed

Regards,
     Fabio
2008-06-12 16:44:33 +00:00
Aaron Giles
b171ca8111 From: Micko [mailto:mmicko@gmail.com]
Subject: 8080/8085 fix

Hello Aaron,
 
While working on drivers for some 8080 machines, I have noticed that there are some errors in flags settings in CPU implementation.
I have done fixes and now sending patch for code . Also there are changes to set right timings for both 8080 and 8085 since not all timings are up to documentation.
 
Regards,
Miodrag
2008-06-12 16:34:47 +00:00
Aaron Giles
72a6f91a8c From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Subject: fix for MT bug #01885

I tested almost every set I changed, but it seems I missed astdelux.

Here there's a fix. Sorry.

Regards

     Fabio
2008-06-12 16:32:39 +00:00
Aaron Giles
f874100bc9 From: Atari Ace [mailto:atari_ace@verizon.net]
Subject: [patch] Static qualifiers, header file cleanups, and new
include files for MAME

Hi mamedev,

The following two patches improve the use of header files in MAME, and
reduce the number of exported symbols.

The second patch then adds ~30 header files for a number of drivers
that use multiple source files.  It consolidated the various cchip
related declarations in cchip.h, and added machine/seicop.h as well.

~aa
2008-06-12 16:27:56 +00:00
Aaron Giles
50bbb369bb From: Atari Ace [mailto:atari_ace@verizon.net]
Subject: [patch] Static qualifiers, header file cleanups, and new
include files for MAME

The first patch adds static qualifiers where appropriate, adds missing
#include statements, source comments and header declarations, as well
as removes dead declarations.  The only part that required judgement
was deciding whether audio/galaxian.c declarations should be in
galaxold.h or galaxian.h, it doesn't make sense for them to be
declared in both.  This exercise did find a bug, galaxold_init_stars
was declared incorrectly in video/fastfred.c.
2008-06-12 16:25:34 +00:00
Aaron Giles
c52aacb732 From: Atari Ace [mailto:atari_ace@verizon.net]
Subject: [patch] Fix 01863 mwalk and clones: Crash on multisession

Hi mamedev,

This should fix 01863, a multisession bug with mwalk.  There is more
global state that might need zeroing, but for a 64-bit build, this was
sufficient.

~aa
2008-06-12 16:20:22 +00:00
Aaron Giles
13a86d728f From: Oliver Stoeneberg [mailto:oliverst@online.de]
Sent: Thursday, June 05, 2008 9:00 PM
To: submit@mamedev.org
Subject: Machine -> machine cleanups

This cleans up the usage of Machine in many of the src/video files.
2008-06-12 16:19:45 +00:00
Aaron Giles
e852db663a x86/x64 back-ends:
* fixed adc/sbb so that they don't optimize out ever
 * fixed detection of special and/or/xor cases
 * fixed GETFLGS opcode so that it doesn't return anything other than requested flags
 * changed LZCNT/BSWAP to be more flexible in register selection

C back-end:
 * implemented flag variants of SEXT/ROLAND/ROLINS/LZCNT/BSWAP

PPC DRC:
 * added more symbols for debugging
 * fixed lmw/stmw if rA is one of the loaded/stored registers
 * removed unnecessary variables & structure members
 * optimized for the XER and CR0 case where XER doesn't need an overflow calculation
 *
2008-06-12 16:13:05 +00:00
Tomasz Slanina
43c67f6adf Added sound emulation to Dacholer and Kick Boy 2008-06-12 15:12:33 +00:00
Manuel Abadia
9e6333d74e Added alternate layout for World Rally 2 PCB from Mirko Mattioli 2008-06-12 10:18:02 +00:00
Aaron Giles
20ee6bc325 PPC DRC:
* changed SPU receive model to a push model; updated drivers accordingly
 * added macros for setting the SPU transmit handler and sending bytes
 * cleaned up ppc.h
2008-06-12 02:48:11 +00:00
Jim Stolis
3b3f47b864 * All video slot titles now accept coins and play normally
* Renamed peps0716 to its proper name "River Gambler Slots", instead of "Quarter Mania Slots"
* Updated peps0716 to use the proper CAP
* Replaced peps0615 to use a CAP with closer colors (still wrong)

New games added or promoted from NOT_WORKING status
---------------------------------------------------
Player's Edge Plus (PS0014) Super Joker Slots [Jim Stolis]
Player's Edge Plus (PS0022) Red White & Blue Slots [Jim Stolis]
Player's Edge Plus (PS0043) Double Diamond Slots [Jim Stolis]
Player's Edge Plus (PS0045) Red White & Blue Slots [Jim Stolis]
Player's Edge Plus (PS0308) Double Jackpot Slots [Jim Stolis]
2008-06-12 00:55:08 +00:00
Jim Stolis
f4e88036ac Timer 0's second split counter was incorrectly checking the Timer 1 Run Control Bit 2008-06-12 00:47:44 +00:00
Couriersud
2300a01dd5 Moved calipso to galdrvr.c/galaxian.c 2008-06-12 00:43:49 +00:00