Commit Graph

4571 Commits

Author SHA1 Message Date
Mirko Buffoni
1c4eb2b341 Added a patch to Jackie driver, game now works [Mirko Buffoni]
* Added complete reel emulation (thanks to Luca, Angelo and David drivers
  studied to better understand hardware similarities).
* Press T to toggle amuse game, used to mask gambling activities.

New games added or promoted from NOT_WORKING status
---------------------------------------------------
Jackie [Mirko Buffoni]
2009-02-09 10:44:56 +00:00
Curt Coder
87ba17e145 Merged in changes from earlier commit. 2009-02-09 10:09:19 +00:00
Curt Coder
08a218dc80 Refactored the ACIA6850 to use devcb.
Trampolines were added since driver state cannot be directly accessed with devcb.
2009-02-09 09:47:11 +00:00
Nicola Salmoria
47b600e3b5 fixed feversoc colors 2009-02-09 06:26:59 +00:00
Brian Troha
e46cb6d2c4 New clone added: Skull Fang (World)
New clones added
----------------
Skull Fang (World) [Mexa]
2009-02-09 03:51:52 +00:00
Angelo Salese
bf22790963 Fixed the remaining stuff in the Fever Soccer driver, game now working except for wrong bitplanes [Angelo Salese]
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Fever Soccer [Nicola Salmoria, Angelo Salese]
2009-02-09 00:21:01 +00:00
Couriersud
a6c83e9fff Largely a WIP update with some FIXMEs / Co-credit Smitdogg
- Created custom module for run sounds. Running the discrete sound system at 480KHz was not really optimal.
- Reviewed parts list, schematics and pcb pictures
- Brought mario run sound in line with recordings from Smitdogg
- VCO voltage needs to be 0V for this to happen. Verification outstanding
- Capacitors needed some ageing applied as well. To be removed once the VCO issue is clarified.
2009-02-08 23:48:58 +00:00
Nicola Salmoria
48a02562a4 feversoc gfx decryption 2009-02-08 21:08:31 +00:00
davidhay
4ee1c70057 decrypted nfb96sea set in goldstar.c [Olivier Galibert] 2009-02-08 20:54:18 +00:00
Angelo Salese
943ee5abfa 02895: macrossp: Wrong colors in "area clear" screen 2009-02-08 18:52:04 +00:00
Angelo Salese
6310bc3964 Small bugfixes for Fever Soccer 2009-02-08 17:41:11 +00:00
Angelo Salese
29064cb779 Wrote a driver for Fever Soccer, not working due of incomplete gfx decyption (uses RISE11 algorythm as SPI HW).
New games marked as GAME_NOT_WORKING
------------------------------------
Fever Soccer [Angelo Salese]
2009-02-08 16:44:44 +00:00
Pierpaolo Prazzoli
0315d912b7 New games added or promoted from NOT_WORKING status
---------------------------------------------------
Age Of Heroes - Silkroad 2 (v0.63 - 2001/02/07) [Pierpaolo Prazzoli]


roms/current/a/aoh.zip
2009-02-08 15:10:21 +00:00
Angelo Salese
790edbb11b Small bugfix for an SH-2 logging message. 2009-02-08 02:21:02 +00:00
Brian Troha
87aa7c3dfb Documentation update:
Adds the extensive Guru readme doc to the Sega X Board driver.
2009-02-07 21:10:22 +00:00
Phil Bennett
7b24a65600 Added -D_CRT_NONSTDC_NO_DEPRECATE to Visual C make defines (to stop strdup-related warnings). 2009-02-07 20:49:57 +00:00
Phil Bennett
991f93ce76 Revert _strdup back to strdup 2009-02-07 20:29:53 +00:00
Phil Bennett
e4f2c2494c Fixed MSVC build. 2009-02-07 18:50:40 +00:00
Brian Troha
c51290fa1a New clone added: Image Fight (revision A, Japan)
New clone added
---------------
Image Fight (revision A, Japan) [Arzeno Fabrice]
2009-02-07 18:34:10 +00:00
Brian Troha
2066965db5 marks all flash roms in new Head Panic set bad until verified 2009-02-07 18:18:08 +00:00
Brian Troha
49539f8c7e New (not working) clone: Head Panic v6.15
Not working due to the sound CPU rom is half size and the 16Mbit flash roms are not dumped.

New clones added
----------------
Head Panic (15/06/1999) [Corrado Tomaselli] (not working)
2009-02-07 18:11:49 +00:00
Brian Troha
b60d8568c5 Adds redumped non JEDEC roms to Rock 'n Rage (World) [Corrado Tomaselli]
adds additional note about the use of the same "region" letter code used for two different rom versions.
2009-02-07 17:32:34 +00:00
smf-
8fc151dfa8 added description of HY51V65164A 2009-02-07 16:18:48 +00:00
smf-
7dbbeacb56 added the ds2401 to the digital i/o board layout. 2009-02-07 13:48:49 +00:00
smf-
375586dc22 added digital i/o board layout & initial information on the memory card board. 2009-02-07 12:52:07 +00:00
Couriersud
bdcceb9e29 Fix to stop gcc complaining about size_t in format 2009-02-07 12:21:08 +00:00
Couriersud
9991699ed3 Fix bug #2896, #1785, #2801
- (re)implement pm reporting
- If a bit is not modified, do not throw away the whole nibble
2009-02-07 12:15:04 +00:00
Yasuhiro Ogawa
e599aef4d9 fixed bugID 00808 (by gDTXE3Jl0) 2009-02-07 02:06:29 +00:00
davidhay
845e4900b3 TMS57002 preliminary implementation [Olivier Galibert] 2009-02-06 22:50:40 +00:00
davidhay
21fd26ebd3 PinMAME ---
Merging back in the PinMAME drivers is proposed every now and again, and since we've just added other non-video based things I figured that now might be a good time to look at it.

This is likely to be a HUGE undertaking as PinMAME is based on old code, and is Macro-hell, I see it as a several step plan.

1) Convert all the PinMAME drivers to compile their ROM Loading with current versions of MAME
2) Clean up the ROM loading, removing the excessive Macros which really don't help readability at all IMO
3) Hook up the Machine Drivers again for each system, so that the CPU core runs again
4) Look at ways in which the artwork system can be used to simulate the display parts etc.  (there is a scary amount of code in PinMAME for handling this stuff)
5) See how feasible it is to allow MAME to communicate with another program, as it's unlikely we'll be able to simulate the full table physics in MAME.

I've updated the System11 rom loading to compile for now.  The old PinMAME code which hasn't been updated is there #if 0'd out for reference for when a stab is made at hooking back up the actual CPUs to run etc.

Part of me wonders if just rewriting it from scratch would be easier, but it would be a shame to throw away the information that was figured out in PinMAME.

This was done by request, so I'm not especially bothered if it doesn't get included, PinMAME is rather hideous ;-)

If anybody wants to help they're more than welcome.  The other Williams systems should be easy to hook up the rom loading for because they share most of the Macros that have already been updated to compile.
2009-02-06 22:09:40 +00:00
Mirko Buffoni
ab3175c709 Updated Super Poker parent relationship, as suggested by David. 2009-02-06 13:43:40 +00:00
Aaron Giles
c4126c1034 bytemask should not mask low bits. Fixes disassembler for CPUs with address
bus shifts. Hopefully doesn't impact anything else.
2009-02-06 13:26:24 +00:00
davidhay
95670a6207 New clones
--- 

Pyschic 5 (set 2) [Dazzer]

I haven't checked the differences in any detail, but the player appears to survive for longer in attract mode so there are probably some subtle gameplay differences.
2009-02-05 22:18:17 +00:00
Angelo Salese
0195269c76 Added "global column coloring" for Super Draw Poker, colors are now 100% accurate [Angelo Salese]
========================================

Here's some screens of the original thing, thanks to Reip for pointing this out:
http://mpp.myphotos.cc/itemphotos.asp?cs=P065&ASID=U00000161384&cp=001
2009-02-05 20:33:36 +00:00
Angelo Salese
4a351bce28 Fixed the dial inputs in Squash (Itisa) [Angelo Salese]
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Squash (Itisa) [Angelo Salese]
2009-02-05 18:01:01 +00:00
Mirko Buffoni
1bb42da81a Added original Super Poker 115IT (Mirko Buffoni)
* Added because 3 Super 8 have SUPER POKER 115IT string inside.
  3Super8 may be a hack, strings are the same, but code is different
  though still partially encrypted
2009-02-05 13:42:19 +00:00
Brian Troha
b6ed948821 New Clone added: Extermination (World)
New clones added
----------------
Extermination (World) [Stefan Lindberg]
2009-02-04 23:55:55 +00:00
Brian Troha
eb14b89db9 adds redumped sound CPU rom for Sega Water Ski 2009-02-04 23:36:58 +00:00
Angelo Salese
9040cf9a60 Fixed inputs, colors and added a work-around for the rng in Super Draw Poker [Angelo Salese]
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Super Draw Poker [Angelo Salese]

==========================================

For "work-around for the rng" I mean that I've mame_rand'ed it, but obviously that isn't accurate.
2009-02-04 21:44:57 +00:00
Angelo Salese
0df8d36d7c 02897: soldivid: Audio regression (David Haywood) 2009-02-04 17:08:31 +00:00
Nathan Woods
f9d6855b54 Changed 6526cia to use devcb 2009-02-04 13:37:15 +00:00
Tomasz Slanina
ee5806bc2e Renamed Tecmo World Cup '90 sets: 'set 1' to 'World', 'set 2' - 'Euro set 1'.
Added new 'Euro set 2'.

New clones added
----------------
Tecmo World Cup '90 (Euro set 2) [Tomasz Slanina]
2009-02-04 12:17:19 +00:00
Nathan Woods
6e6e8ef5b1 Made the 6522 VIA implementation use devcb 2009-02-04 04:29:28 +00:00
davidhay
e05e9494f5 relaxed 8 letter setname limitation for clone sets - this is designed to make it easier to add simple suffixes to clone names without truncating the original set name, it isn't designed to be abused and used as an alternate description. [Olivier Galibert]
(I've also updated one or two set names as an example)
2009-02-03 22:19:09 +00:00
Jim Stolis
6ad692417f New games added or promoted from NOT_WORKING status
---------------------------------------------------
Player's Edge Plus (XMP00024) Multi-Poker [Gyrovision]
2009-02-03 19:24:07 +00:00
Angelo Salese
6f1af08290 Merged Strip Teaser and Il Pagliaccio driver, fixed the layer clearance for both and added a preliminary MCU simulation for the former. [Angelo Salese] 2009-02-03 18:08:47 +00:00
Angelo Salese
aa60e074cc Further fixes with "Il Pagliaccio" blitter: [Angelo Salese]
* Fixed Transparency pens;
* Fixed color pens for the charset;

===========================

Actually, only the "layer clearance" is puzzling me out, when it's enabled the h/w values are 0.
Really weird...
2009-02-03 00:39:19 +00:00
Angelo Salese
6144170f54 Added proper color proms, fixed colors and backup ram in the Casino Winner driver [Chris Hardy, Angelo Salese] 2009-02-02 23:22:11 +00:00
davidhay
306d2a35d6 added an extra timelord set to agemame driver 2009-02-02 23:06:04 +00:00
davidhay
ae3e5b66e6 fix #define.. stupid copy+paste errors 2009-02-02 22:55:45 +00:00
davidhay
6d0e1723e8 fix comment 2009-02-02 22:55:10 +00:00
davidhay
ed3bf17889 getting the AGEMAME ball rolling.
Moved over some of the drivers (thanks to James Wallace / ageMAME)
2009-02-02 22:52:37 +00:00
Angelo Salese
c4a4a0630b Fixed various issues with "Il Pagliaccio" driver: [Angelo Salese]
* Fixed rom source reading for the blitter;
* Properly use height/width params for the blitter;
* Hooked up the backup ram;
* Added basic inputs;
* Removed deprecat.h dependancy;
2009-02-02 22:51:42 +00:00
Mirko Buffoni
dc58878441 Added new game Number Dieci (Mirko Buffoni)
- Seems a IGS poker hack to comply with 2000's Italian law
- Sound synthesys have been replaced by OKIM Adpcm samples
- Some patched out routines have been recovered to allow test mode dsw mapping
- Mapped Stelle e Cubi to this memory map, something shows but graphic is from a bad dump

Added new game PK Tetris (Mirko Buffoni)
- Strange game with an amusement part (sort of Tetris mixed with Poker)
- Amuse input not mapped, may be necessary for the amusement part which can be disabled via DSW
2009-02-02 13:29:32 +00:00
Nathan Woods
ebef239e0c MSVC fix [Atari Ace] 2009-02-02 03:04:10 +00:00
davidhay
7adfe02bb3 added some more old encrypted '96-'97 sets to goldstar.c
(again, not bothered about credit, just ensuring we support things we know about)
2009-02-02 01:03:24 +00:00
R. Belmont
1c5a8cb1bf Improve disassembly of R3000 code that uses the TLB or FPU 2009-02-02 00:48:36 +00:00
davidhay
6bd40937d5 nuke fruit.c, obsolete 2009-02-02 00:14:23 +00:00
davidhay
dd32ce7520 added the newly dumped CPS2 bootleg sets which are supported in the latest FBA.
(no credit wanted, this is just maintenance work)
2009-02-02 00:06:30 +00:00
Angelo Salese
9e9a5ad24b Wrote a skeleton driver for Pachi Fever, not working due of encrypted/incomplete program rom.
New games marked as GAME_NOT_WORKING
------------------------------------
Pachi Fever
2009-02-01 23:47:44 +00:00
Brian Troha
a7a417377c adds PCB layout for Funcube and corrects rom names based on a hi-res photo of the PCB. 2009-02-01 08:07:37 +00:00
Nathan Woods
15b34bc9b5 Devintrf bug fix 2009-02-01 00:13:44 +00:00
Nathan Woods
219639f3d7 1. Added the ability to invoke CPU input lines with devcb callbacks
2.  Changed sp0256 to use devcb callbacks

3.  Updated sauro driver as per #2
2009-01-31 21:23:22 +00:00
Phil Bennett
e4aeab1a20 New games added or promoted from NOT_WORKING status
---------------------------------------------------
Monopoly [Phil Bennett]
Monopoly Classic [Phil Bennett]
Monopoly Deluxe [Phil Bennett]


6850acia: Only adjust the rx/tx bit timers on a control write if the divide ratios have changed.
2009-01-31 20:00:30 +00:00
smf-
8ac4f3cb33 Changed memory_set_direct_region to pass the address returned from the DIRECT_UPDATE_HANDLER back to the memory read function. 2009-01-31 16:57:16 +00:00
Aaron Giles
cc14b2aaa7 Opcode accesses are now marked debugger_access. This is important with the recent
changes to automatically call the read handler if the opcode base cannot be
found.

Changed logging for non-RAM opcode bases so that it does not output in the case
of debugger_access being set.

Fixed logic for deriving direct ranges so that it uses the non-watchpoint-
infected tables for its lookups.
2009-01-30 18:11:46 +00:00
Brian Troha
af29135b58 New Volfied clone
Added minor additional information and OSC info.  Also added two BPROMs not included before.

New clones added
----------------
Volfied (Japan, older) [Brian Troha]
2009-01-29 23:22:56 +00:00
Angelo Salese
a970986dd4 Fixed Casino 5 hang on the Horse Racing game [Angelo Salese]
Fixed compile quirk with Funcube2/4 [Angelo Salese]

New clones added
----------------
Magic Card (set 3) [Chris Hardy]
2009-01-29 22:36:36 +00:00
Aaron Giles
8236d216f2 Cleanups and version bump. 2009-01-29 10:18:49 +00:00
Aaron Giles
4141d22d07 02862: Many sets in taitosj.c: During the scroling the lower part of the screen becomes black 2009-01-29 09:51:42 +00:00
Aaron Giles
091937f6cd 02880: stactics: Scratchpad RAM is too large (currently 2 KB, should be 256 bytes with mirroring). 2009-01-29 09:24:46 +00:00
Aaron Giles
ac354ae99a 02843: schaser, schasrcv, polaris: Only half the color RAM is emulated
Hooked this up, verified from schematics. Does not apply to rollingc
as demonstrated by the lack of initialization of that RAM by the program
code.
2009-01-29 09:21:16 +00:00
Aaron Giles
6c7315b616 02884: kopunch: CPU is specified as a 4 MHz 8080 when it should be a 4 MHz Z80.
It's actually an 8085, as dox points out.
2009-01-29 09:05:19 +00:00
Aaron Giles
af09f6a1d6 02888: All sets in megaplay.c: Large black box obscuring game
Also merged memory maps.
2009-01-29 09:00:25 +00:00
Aaron Giles
d041766ee8 From: Mamesick [mailto:mamesick@libero.it]
Sent: Wednesday, January 28, 2009 9:08 AM
To: submit@mamedev.org
Subject: Fixed ID 1017 (nslasher)

Increasing interleave completely fixes the sound bug reported at MAMETesters.
2009-01-29 08:51:13 +00:00
Aaron Giles
e2fd889981 From: Fabio Priuli [doge.fabio@gmail.com]
Sent: Monday, January 26, 2009 12:37 PM
To: submit
Subject: Royal Panel addition to yumefuda, part 2
Hi again! 

as Angelo Salese kindly pointed out, MAME already supports PORT_CONDITIONs for every kind of inputs. Hence, enclosed please find an improved submission with proper inputs for yumefuda

Regards,

    Fabio Priuli


On Mon, Jan 26, 2009 at 4:00 PM, Fabio Priuli <doge.fabio@gmail.com> wrote:
Hi, enclosed please find a patch which adds the Royal Panel controls to yumefuda (as a consequence bug 2574 in MT can be considered fixed).  

Please notice that the addition of the dual controls looks a bit ugly in the UI menu, but I can see no way to better implement these, in current MAME source. Ideally, it could be nice to add conditional ports to input bits as well as to dips (in this case MAME should show different controls depending on the DSW bit chosen), or to add the concept of port_categories currently used by MESS to show in the menu only the buttons of the chosen controller (you change controller from a different menu entry, like with DSW). I could look into add this feature, but I would prefer to know in advance in which way you would prefer this to be implemented.

Regards,

    Fabio Priuli
2009-01-29 08:50:30 +00:00
Aaron Giles
06a02594da From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Sent: Monday, January 26, 2009 7:20 AM
To: submit
Subject: two trivial bugs

Since nobody has fixed yet the two MT entries for dkongf, reported 2 weeks ago, here you find the needed patch. It changes the DSW setting corresponding to Free Play and it changes the year to 2004.

Regards,

     Fabio Priuli
2009-01-29 08:49:45 +00:00
Aaron Giles
ce4d549672 From: Fabio Priuli [doge.fabio@gmail.com]
Sent: Friday, January 23, 2009 8:44 AM
To: submit
Subject: two more bugfixes
Hi,  

enclosed please find fixes for the following bugs in MT

* 2697.diff : this fixes MT02697, i.e. the wrong input mappings of hkagerou. Basically, this game has a dip to choose between an hanafuda & a mahjong panel, but this switch only changes the onscreen indicators (1->6 vs. A->F). Actual input bits are the same in both configurations. Previous mapping was using mahjong inputs for P2 inputs and keys in the numpad for P1 inputs. With this patch, it will only use the default mahjong keys for both players (but in the UI menu, I put also the hanafuda label to help users)

* arka.diff : this fixes MT02719 (which I introduced with my changes in MAME 0.126u5), making a few bootlegs working again.

Regards,

     Fabio Priuli
2009-01-29 08:48:46 +00:00
Aaron Giles
8772edaab2 From: Fabio Priuli [doge.fabio@gmail.com]
Sent: Thursday, January 22, 2009 10:31 AM
To: submit
Subject: fix for MT 2792
Enclosed please find a small patch which fix the neogeo COMM dips according to the manual scan present in the bug report (splitting sw 4,5,6 in two separate dips entry) 

Regards,
     Fabio
2009-01-29 08:46:35 +00:00
Angelo Salese
c9ffa9bcc5 Added a default backup ram for the jolyc980 set, to get it boot to the end-user. [Angelo Salese]
===================================

Explaination about this:
This gambling game provide a code that you should type it in a DOS program. This PC-DOS program
(that's nowhere to be found plus I guess it's read-protected) gives an input code that you should 
press back on the game. 
My solution is to give a default eeprom, because, really, I don't think that a popmessage is a 
good solution for the end-user.
I don't even consider to patch the program rom, and anyway, I can't believe that somebody in 2000
really provided an Amiga-ish password system as "protection" ;P
2009-01-28 23:59:37 +00:00
mariuszw1
395d41bd07 Fixed typo in comment 2009-01-28 19:47:53 +00:00
Luca Elia
ecd97d30ce Implemented a few more H8/3xx instructions, and added funcube to seta2.c [Luca Elia]
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Funcube 2 [Luca Elia]
Funcube 4 [Luca Elia]
2009-01-28 19:44:29 +00:00
mariuszw1
262c1116b9 New games added or promoted from NOT_WORKING status:
----------------------------------------------------
Casino Five [Mariusz Wojcieszek]
Big Apple Games [Mariusz Wojcieszek]
2009-01-28 19:39:39 +00:00
Mirko Buffoni
1ae43ea1d7 Fixed encryption in Cabaret and added sound emulation (Mirko Buffoni)
- Moved to a separate driver
- Not fully playable, press reset to exit from pitfalls

Added new game Super Poker (Mirko Buffoni)
2009-01-28 10:32:54 +00:00
Roberto Fresca
ed11fa3318 Improvements to norautp.c driver:
- Merged GTI Poker (gtipoker.c) with this driver.
 - Added new memory map and machine driver for gtipoker.
 - Hooked 2x PPI 8255 to gtipoker.
 - Hooked the video RAM access ports to gtipoker.
 - Changed norautpn description from Noraut Poker (No Payout),
   to Noraut Poker (bootleg), since the game has payout system.
 - Some clean-ups.
2009-01-28 06:08:22 +00:00
Nathan Woods
4aef228ab1 Death to trampolines 2009-01-28 00:58:52 +00:00
Nathan Woods
7112ab5d3e Changed CA1/CA2/CB1/CB2 device callbacks to be lines 2009-01-28 00:13:21 +00:00
Nathan Woods
a4d12e12ce Converted 6821new to use devcb 2009-01-28 00:05:39 +00:00
Couriersud
b62bc23922 Add calculation for caps >= 100pf to buck rogers LS626 frequency calculation.
Formula was derived from figure 6 of LS624/628/629 & 625/626/627 datasheet.
"BUCK ROGERS" is now centered and big ship appears centered over br's ship.
Please Co-Credit Guru
2009-01-27 23:39:44 +00:00
Couriersud
4dbe268df4 Use energy values as input for XOR. This seems to better reflect the superimposition of the two signals.
On the long term, both LS629 and the XOR need to be converted into a custom module to properly model mixing if the two frequencies are close to each other.
Adjust C41 to 60% for skid sound.
2009-01-27 22:33:45 +00:00
Couriersud
c60b81d2aa Fix energy calculation for LS624 2009-01-27 22:28:25 +00:00
Angelo Salese
872a74718f Starting to convert the Magic Card 68k version driver with proper infos & added some basic video registers.
It actually runs on more or less modified Philips CD-i architecture. [Angelo Salese]
2009-01-27 21:59:49 +00:00
Angelo Salese
34a275e72f Wrote a driver for Noraut Poker,working without sound (discrete) [Roberto Fresca,Angelo Salese]
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Noraut Poker [Roberto Fresca,Angelo Salese]
2009-01-27 15:15:46 +00:00
davidhay
83033c4bfd cleaned up 'time dog' sets which were added a little.. got one booting, it's actually a bootleg of 'new fruit bonus '96'.... 2009-01-26 22:42:53 +00:00
Brian Troha
da74e4e36f New Mortal Kombat clone
New clones added
----------------
Mortal Kombat (prototype, rev 8.0 07/21/92) [Brian Troha]
2009-01-26 22:29:32 +00:00
Aaron Giles
2fd8c5122b Added new module devcb, which can generically handle conversions between device
read/write functions and various other types of functions. Introduced new
structures and macros to make this possible. 

To take advantage of this, a device must change its interface to replace and 
read/write callbacks with the new devcb_read/write structures. During device 
start time, the device then uses this new devcb module to resolve the information 
in the devcb_read/write structures into a more efficient form. When the device 
needs to call one of the callbacks, it uses the inline devcb_call_read/write 
functions.

Once a device has defined its callbacks as devcb_read/write structures, users
of the device must use the DEVCB_* macros to specify the type and information
about the handler to use:

   DEVCB_NULL = no handler
   DEVCB_HANDLER = a standard device read/write handler
   DEVCB_MEMORY_HANDLER = a memory address space read/write handler
   DEVCB_DEVICE_HANDLER = a device read/write handler for a different device
   DEVCB_INPUT_PORT = an input port

Converted the 8255PPI device to use this new structure, and updated all users
to use the DEVCB macros, removing some unnecessary trampoline functions along
the way.
2009-01-26 16:25:48 +00:00
Angelo Salese
6640f6d8da Fixed foreground tilemap colors in Diamond Derby [Angelo Salese] 2009-01-26 13:55:02 +00:00
R. Belmont
8416b96dc2 Fixed MK5 ROM loading, rearranged memory map. 2009-01-26 03:45:49 +00:00
R. Belmont
0a80a9f09c Removed accidentally included change 2009-01-26 03:21:09 +00:00
R. Belmont
adf3ac320d Adding first-cut shared Archimedes code and hooked it up to MK5. 2009-01-26 03:18:44 +00:00
Angelo Salese
355d1124c4 Fixed colors,visible area and soft resets in the Magic Card 68k version [Angelo Salese] 2009-01-26 00:12:03 +00:00
davidhay
9c08869a62 added USA clone of Battle Bakraid [Josh W.]
I didn't get around to documenting this one in full detail, but at a quick glance it appears the region works in the same way.  ie, the first byte of one of the roms is 0x01 instead of 0x00.
2009-01-25 23:20:16 +00:00
davidhay
a9562317fb added several Batrider clones which were dumped from a personal PCB collection [Josh W.]
I've also documented how the region works on Batrider based on these sets.

----

I can't get him to provide any further proof of ownership of this stuff, and I think pressuring him for it is more likely just to piss him off, and result in no further contributions (he already didn't respond to my last mail a few months ago, so I'm sending this now..)
2009-01-25 22:51:17 +00:00
Angelo Salese
ac56c3d809 Preliminary protection hook-up for Sexy Gal/Sweet Gal [Angelo Salese] 2009-01-25 21:06:23 +00:00
davidhay
d026c754ae add a mess of sets marked as 'time dog' to the goldstar driver. these seem to be mismatched, and some lack program roms. one set has encrypted code, the other appears to have plain code. these will need some tidy-up work.
I've added them, because there is no doubt at least one valid set in here but the dumps contain no useful info at all.
2009-01-25 19:21:57 +00:00
davidhay
46fa64f1f8 added skeleton driver for aristocrat mk5
this is apparently somewhat based on the acorn archimedies home computer system
2009-01-25 18:24:51 +00:00
davidhay
ff15dd178c added some 'new fruit bonus '96' set.
it might be several revisions in one set, I'm not sure, the program roms are encrypted, they will need decrypting before we know more.
2009-01-25 18:17:47 +00:00
Couriersud
0c025f7b09 Disable DISCRETE_WAVE_LOG 2009-01-25 17:59:43 +00:00
Couriersud
751d3de116 Sound inputs 0 & 1 are pulse inputs (74LS138, 0 out on write active, else 1) 2009-01-25 16:59:36 +00:00
Angelo Salese
eb23130212 Added preliminary sound for the Aero Fighters bootlegs (aerfboot & aerfboo2) [Angelo Salese]
===============================================================

I'm not quite sure about aerfboot,sound seems s****y but reasonable (i.e. plays different stuff than the original sets). 
Can any okim6295 expert look if I did an error on the sound banking/soundlatch sides?
2009-01-25 16:57:56 +00:00
Couriersud
6c653b943e Spectrum of generated sounds getting near samples.
Still issues with LS123 durations
For skip, samples are twice as short
For run, samples are twice as long
2009-01-25 16:17:31 +00:00
Couriersud
ceb0c0ac4a Resistance is given in KOhm in datasheet formula 2009-01-25 15:28:22 +00:00
davidhay
e75096c538 updated the comment about simulating the magic10 protection slightly. we could simulate it, but it wouldn't really be a good idea. 2009-01-25 12:52:06 +00:00
davidhay
2fd6773b19 fixed the remaining CPS3 sets that were left broken from the previous half-done set renames.
also reworked the code a bit to make it harder for somebody to break it in future.  (removed the config table & moved keys to driver inits, define region sizes, allocate memory in init for CD based games.)

should be no functional changes, although it might be a fraction of a % faster due to there being less region lookups.
2009-01-25 12:40:53 +00:00
davidhay
f306b35504 new clone: Noboranka (Japan)
new clones added
----------------

Noboranka (Japan) (NOT WORKING, undumped 8751 MCU)
(old bootleg set is now a clone)

also fixed
"02873: Many sets in system1.c: Missing text layer"
using the method Kale posted

and renamed some functions in drivers/system1.c etc. so it's clear that they're used by the bootleg 'nobb' only, rather than system1 in general.
2009-01-25 11:52:02 +00:00
Couriersud
acb83e0a12 Minor changes to mario discrete sound 2009-01-25 02:12:11 +00:00
Couriersud
84683a2e5b Use formula derived from figures 2 and 3 in LS624 datasheet. Coefficients
where calculated using least square approximation.
This approach gives a bit better audible results compared to the prior approach.
2009-01-25 02:10:31 +00:00
Brian Troha
2c9f0e33fb Corrects rom names for Puzzloop (US) and clean up white-space 2009-01-24 18:37:51 +00:00
Phil Bennett
b089f4c2b0 02866: bublbobl and clones: Bubble Bobble vertical sync value seems slightly off 2009-01-24 15:27:19 +00:00
Phil Bennett
a016e312af New clones added
-----------------
Turbo Sub (prototype rev. TSC7) [Jay Gallagher]
2009-01-24 14:16:51 +00:00
smf-
22ef5e0fba fixed building with visual studio. 2009-01-24 10:29:30 +00:00
Yasuhiro Ogawa
abbc629882 Added parts location on the board 2009-01-24 06:19:19 +00:00
Angelo Salese
00f9aa5870 Fixed scrolling layer in Magic's 10 [Angelo Salese]
Added NO_DUMP for the H8/330 MCU for Magic's 10 2, Super Pool, Hot Slot and Magic Colors. [Angelo Salese]
2009-01-23 19:51:49 +00:00
Roberto Fresca
7602b2405b Added Bottle 10, from C.M.C. (2 sets).
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Bottle 10 (italian, 2 sets) [Roberto Fresca]
2009-01-23 19:15:43 +00:00
Angelo Salese
25e5740747 Improved the sound in Double Wings by appling the same handling of Night Slashers (they are actually similar if not same memory map) [Angelo Salese] 2009-01-23 17:10:32 +00:00
Nathan Woods
4c07fba864 Compilation fix 2009-01-23 12:03:41 +00:00
Roberto Fresca
e37d7fbd03 Cleaned up and remapped Big 10 inputs. Updated the game notes. Added other minor changes. 2009-01-23 03:06:51 +00:00
Angelo Salese
2bc027c3eb Added Jansou to the Royal Mahjong driver,not working due of missing main program rom (current romset has just a sound cpu prg and some bitmap gfxs)
New games marked as GAME_NOT_WORKING
------------------------------------
Jansou

(i.e. don't want credit)
2009-01-23 01:11:56 +00:00
Brian Troha
36c41ce61a rom name correction 2009-01-23 00:51:00 +00:00
Angelo Salese
581006125c Wrote a driver for Big 10,working with sound [Angelo Salese,Roberto Fresca,Tomasz Slanina]
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Big 10 [Angelo Salese,Roberto Fresca,Tomasz Slanina]
2009-01-22 17:23:19 +00:00
Aaron Giles
b02a507c1f Cleanups and version bump. 2009-01-22 10:40:20 +00:00
Aaron Giles
325dadfdc0 On Mon, Jan 19, 2009 at 02:48:05PM +0100, Olivier Galibert wrote:
> On Mon, Jan 19, 2009 at 05:37:35AM -0800, R. Belmont wrote:
> > My mistake.  I thought you were suggesting that we should actually
> > somehow handle malloc failures.  Given that aborting is an OK way to
> > express failure, I'd suggest the return values be changed to DEFER
> > and DONT_DEFER to eliminate the conceptual imbalance of OK/DEFER.
> 
> That's where comes the fact that we have 130 OK/DONT_DEFER and 1
> DEFER.  It makes me think that the exceptional DEFER case should be
> handled by an exceptional function call.
> 
> I know, code talks, but I'm at work right now :-)

Here we go.

  OG.
2009-01-22 10:21:52 +00:00
Aaron Giles
58af175636 From: Mamesick [mailto:mamesick@libero.it]
Sent: Tuesday, January 20, 2009 6:57 AM
To: submit@mamedev.org
Subject: Fixed ID 2800 (gstream.c)

Hi. Actually it was a my mistake removing the cpu_eat_cycles thing. I was convinced it caused some sync issues but after some intensive testing I can say for sure it's right. Re-implement it makes the game run at full speed and there are no other problems. Sounds are in perfect sync with video. I'm sorry for my first wrong submission happened in 0.129 where I replaced this speed-up with a wrong one.
Regards.
2009-01-22 10:13:50 +00:00
Aaron Giles
746c2e9f4b From: Corrado Tomaselli [mailto:corrado.to@tiscali.it]
Sent: Monday, January 19, 2009 10:00 AM
To: submit@mamedev.org
Subject: Yunsung8 oki frequency

Changed oki xtal to 400khz, verified on pcb. Unfortunately I couldn't verify the main xtal which was missing on my pcb.
2009-01-22 10:13:06 +00:00
Aaron Giles
4e24500bae From: abcd efgh [mailto:cix_999@yahoo.it]
Sent: Friday, January 16, 2009 11:52 AM
To: submit@mamedev.org
Subject: hanaroku input

This was a simple job for fix mametester bug "02810" in hanaroku
Bye Sonikos
2009-01-22 10:12:03 +00:00
Aaron Giles
6c61906589 From: naibo zhang [naibo_zhang@hotmail.com]
Sent: Thursday, January 15, 2009 12:16 PM
To: submit@mamedev.org
Subject: stepstag.c
-added custom 3-screen layout;
-added recently dumpped game "Stepping 3 Surperior"(incomplete ROM/CHD set);

The game name of "stepstag" romset is actually "Stepping Stage Special", not the original "Stepping Stage".
2009-01-22 10:07:50 +00:00
Yasuhiro Ogawa
6ab2ca0342 fix for Soul Calibur (vs. Inferno) (by 4oj9/xJ+0) 2009-01-22 09:18:36 +00:00
R. Belmont
899fc5f307 Initialize some structs to fix warnings with some GCC versions. 2009-01-22 03:15:08 +00:00
R. Belmont
51b91e9692 Fix big endian compile/link. 2009-01-22 03:13:55 +00:00
R. Belmont
4d116447e3 Fixed 64-bit GCC compile 2009-01-22 03:09:08 +00:00
Brian Troha
0a44301ac0 New clone added: New game added: Raiden Fighters 2 (USA, SPI)
this clone fell through the cracks, I was checking my misc rom dir and there it was ;-)

New games marked as GAME_NOT_WORKING
------------------------------------
Raiden Fighters 2 (USA, SPI) [Arzeno Fabrice]
2009-01-22 01:25:52 +00:00
Roberto Zandona
7a5cda5e0c adp: implemented p1 inputs in skattv and fashiong (service mode is working) 2009-01-21 22:41:35 +00:00
Roberto Zandona
2ebb3d3d86 cb2001: two more opcodes 2009-01-21 20:03:43 +00:00
Tomasz Slanina
f05b6469ce Super Othello driver
/current/s/sothello.zip

New games added or promoted from NOT_WORKING status
---------------------------------------------------
Super Othello [Tomasz Slanina]
2009-01-21 20:02:13 +00:00
Phil Bennett
a9b9310693 Defined ROM_LOAD64_WORD/ROM_LOAD64_WORD_SWAP in emu/romload.h 2009-01-21 18:55:20 +00:00
Roberto Zandona
cabd278521 adp: input in fashiong (code in progress) 2009-01-21 18:53:18 +00:00
Phil Bennett
cfd83c2f3e Fixed TMS5220 speech in Turbo Sub [Phil Bennett, Jay Gallagher] 2009-01-21 15:50:31 +00:00
Mirko Buffoni
771e2d4ab4 Fixed clamping to 12 bit range to Okim6376, and adjusted
volume attenuation accordingly (Mirko Buffoni)
2009-01-21 13:45:21 +00:00
Yasuhiro Ogawa
1901ac8f3a small update to srmp5 video (tsBTN0640) 2009-01-21 09:14:00 +00:00
Andrew Gardner
8b2e89df45 Virtual Combat and Shadow Fighters update. [Phil Bennett]
* Fixed framebuffer handling & screen parameters.
* Added sound.
* Corrected RAM sizes to match what is present on the PCBs.
* Hooked up NVRAM.


(Thanks Phil!)
2009-01-21 06:28:44 +00:00
Mirko Buffoni
517c33a847 Major cleanup to IGS poker games (Mirko Buffoni)
- Renamed csk driver to igspoker.  This includes Champion Poker, Champion Skill,
  New Champion Skill
- Converted drivers to tilemap system and unified video section
- Unified memory maps and checked all input ports
- Removed obsolete palette handlers and made use of generic handlers
- Added layout for lamps handling
- Added hopper simulation
- Added New Champion Skill (different set, maybe original international release)
  and renamed current igs_ncs to igs_ncs2 (2000 version for italian market)
- Promoted igs_ncs2 to working state, but set GAME_IMPERFECT_GRAPHICS (missing
  initial notice screen)
- Moved Jackie to a separate driver (it's a slot machine game)
- Made some progress on Jackie which now boots (toggle mode to play, but work
  still needs to be done)
2009-01-20 16:59:52 +00:00
Phil Bennett
e03f020244 New games added or promoted from NOT_WORKING status
---------------------------------------------------
Himeshikibu (Japan) [Uki]
2009-01-20 16:50:25 +00:00
Phil Bennett
356367ae5b Increased interleave quantum to eliminate 'SLAVE COM BAD' startup message. 2009-01-19 18:44:58 +00:00
Phil Bennett
ad65689116 02847: all cloak.c and midzeus.c sets: Access Violation 2009-01-19 16:00:38 +00:00
Yasuhiro Ogawa
8b2f77e0c0 fixed DIPSW 2009-01-19 15:35:39 +00:00
Phil Bennett
595ebddea2 Tidied up the micro3d driver and fixed sound. 2009-01-19 11:52:11 +00:00
Yasuhiro Ogawa
c62c80285a added missing key for sfiiij and sfiii2j (by swzp1Dp/0) 2009-01-19 11:35:47 +00:00
Yasuhiro Ogawa
d5d9907583 Fixed Perfect Soldiers input (added missing button3) by a3SEybxT0 2009-01-19 11:31:58 +00:00
Yasuhiro Ogawa
453b26cd0c SRMP5 update (by tsBTN0640)
- sound pitch is low with current st0016 driver.
(needs freq += freq >>2 or something similar like this)
2009-01-19 11:28:18 +00:00
Aaron Giles
170b4c2752 Sound cores no longer allocate their own tokens. Instead they return a new
integer value indicating the size of token they want, and the core allocates
it for them. This mirrors the standard device behavior.
2009-01-18 20:24:42 +00:00
Brian Troha
6278021cf6 New game added: Sega Water Ski
Note: this includes 2 redumped roms and 1 currently marked as BAD_DUMP

New games marked as GAME_NOT_WORKING
------------------------------------
Sega Water Ski (Japan, Revision A) [Smitdogg Jones]
2009-01-18 19:55:14 +00:00
Angelo Salese
54640c5c01 Fixed gfx regression with 18 Holes Pro Golf and added proper memory map for the second cpu. [Angelo Salese] 2009-01-18 18:32:33 +00:00
Aaron Giles
68a0e2c86a Removed redundant config parameter from SND_START. 2009-01-18 18:22:46 +00:00
Angelo Salese
0335419d51 Preliminary ADPCM hook-up to Jantotsu,it plays something but it's not yet right. [Angelo Salese] 2009-01-18 16:22:13 +00:00
Pierpaolo Prazzoli
0fd71e350a I've fixed the rom patch. It was a simple bit that needs to be always activated.
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Cannon Ball (Yun Sung) (vertical) [David Haywood]
2009-01-18 14:21:25 +00:00
Jim Stolis
18d0b9c02f drw80pkr changes:
- Added bankswitching to program memory
- Partial graphics support
- Partial sound support
2009-01-18 04:12:41 +00:00
Phil Bennett
9d9ad47160 New games added or promoted from NOT_WORKING status
---------------------------------------------------
Give us a Break [2 sets]
Ten Up [2 sets]
2009-01-18 00:57:30 +00:00
Aaron Giles
aad099ad00 DRC frontends must do their own opcode fetching unfortunately. Updated all
DRC cores to do this. Also tweaked a few oddities in the SH2 DRC.
2009-01-18 00:39:40 +00:00
Aaron Giles
eff9223966 Removed some stray ADDR2BYTE/BYTE2ADDR macros that have been replaced by
inline functions.
2009-01-17 23:11:07 +00:00
Aaron Giles
eb8366c740 Added new #define ENDIANNESS_NATIVE, which maps to either ENDIANNESS_LITTLE
or ENDIANNESS_BIG based on the LSB_FIRST definition. Unlink LSB_FIRST,
ENDIANNESS_NATIVE always exists and can be used in expressions without
invoking the preprocessor.

Added macro ENDIAN_VALUE_LE_BE() which selects one of two values based
on the endianness passed in. Also added NATIVE_ENDIAN_VALUE_LE_BE()
which calls ENDIAN_VALUE_LE_BE with ENDIANNESS_NATIVE.

Updated a number of drivers and call sites to use these macros in favor
of #ifdef LSB_FIRST.
2009-01-17 23:03:17 +00:00
Aaron Giles
79dbafbd2f 02842: logger: gfx issue 2009-01-17 19:48:08 +00:00
Wilbert Pol
850b8d37ba Fixed cpu reset for upd78c06. 2009-01-17 16:36:34 +00:00
Angelo Salese
c5fbb6b8ce missed to update the mame.mak 2009-01-17 14:21:58 +00:00
Angelo Salese
65efabec37 Seibu CRTC part 1: [Angelo Salese]
* Merged Sengoku Mahjong & Good e Jong video HWs
* Added correct scrolling functions for Sengoku Mahjong
* Removed some positioning kludges in both drivers

Fixed Sengoku Mahjong hopper error after first winning match [Angelo Salese]

Removed deprecat dependancy from Good e Jong,one irq wasn't needed at all (points to a reti) [Angelo Salese]
2009-01-17 14:07:56 +00:00
Wilbert Pol
343aa22d28 Force recalculation of screen parameters when only the input clock changes. 2009-01-17 13:55:16 +00:00
Wilbert Pol
dd4b5dbe5f Improved implementations for undocumented instructions 63, 67, 6f, 73, 77, 7b, 7f, 9c, 9e, ab, e3, e7, ef, f3, f7, fb, and ff in the n2a3 cpu core. 2009-01-17 10:13:13 +00:00
Phil Bennett
804434aa15 Stop crash/assert when trying to decrease the debugger memory window bytes per line to 0. 2009-01-16 18:21:18 +00:00
Brian Troha
12a8a9312a Adds a tiny bit of info about Galaxy Force 2009-01-16 03:59:25 +00:00
Brian Troha
0fc5f1116a Updates rom name with proper PCB location
Hate it when a simple clone addition cannot copy the PCB location from the parent :-(
2009-01-16 01:53:47 +00:00
Nathan Woods
254936ce1a Fixed compilation errors if HAS_SAMPLES is 0 2009-01-15 12:35:33 +00:00
Aaron Giles
7f2e4e19be Cleanups and version bump. 2009-01-15 08:33:24 +00:00
Aaron Giles
1b7793d0fb Fixed previous change to always clear the alpha bitmap. 2009-01-15 08:19:12 +00:00
Aaron Giles
db8a1fc748 New games added or promoted from GAME_NOT_WORKING status
--------------------------------------------------------------------------------------------------

Trivia Hangup [Mariusz Wojcieszek]
Sure Shot [Mariusz Wojcieszek]

Mariusz.
2009-01-15 07:57:19 +00:00
Aaron Giles
94d1eb4440 New clones: Salamander 2 (ver AAB) [Corrado Tomaselli] 2009-01-15 07:55:13 +00:00
Aaron Giles
3579be8955 From: abcd efgh [cix_999@yahoo.it]
Sent: Tuesday, January 13, 2009 2:20 PM
To: submit@mamedev.org
Subject: megasys1 Big input Clean
Hi Folk

I returned wit a tough work (for me!), i've maed a big input clean up 
in the drive (they were a lot messy), now all looks more tidy ;-)

- Delete input port definition in "includes/megasys1.h"
- Added generic input in megasys1.c
- General input clean

Bye Sonikos
2009-01-15 07:49:10 +00:00
Andrew Gardner
6ea9ca0589 Virtual Combat driver improvements. [Jason Eckhardt, Andrew Gardner]
* Graphics decoded, video improved, inputs mapped.

Intel i860 CPU core added. [Jason Eckhardt]


(The CPU core doesn't have accurate cycle counts for each opcode yet, but it'll have them soon.  I believe that is the main culprit behind the sync of the two i860s and the 68k being outta' whack.  You can still see the i860s do their thing and rasterize a voxel? groundplane and some simple polygon bad guys).
2009-01-15 04:40:57 +00:00
Phil Bennett
f4392d4c6f New clones added
-----------------
Hit the Ice (Japan) [Phil Bennett]

Added IC locations and PAL dumps to hitice. Flagged both sets with GAME_IMPERFECT_GRAPHICS as the bitmap layer implementation is incorrect.
2009-01-14 23:14:19 +00:00
Phil Bennett
2d62f3a07e Updated OKIM6295 volume table to reflect actual chip behaviour. 2009-01-14 23:09:31 +00:00
Angelo Salese
91ca9dd29e Pre-Seibu CRTC update: [Angelo Salese]
* Fixed gfx banking in goodejan/totmejan;
* Fixed vertical scrolling in Sengoku Mahjong (check title screen);
* Made some clean-ups in either drivers;

==================================================

The (likely) custom Seibu CRTC is used at least in the following games:
Raiden (probably the first game to use it)
Sengoku Mahjong
Good e Jong
Tottemo de Jong
Blood Bros.
Sky Smasher
D-Con
SD Gundam Psycho Salamander no Kyoui
(all games in legionna.c)
(all games in raiden2.c)

All of these games have 4 layers with 2048 (0x800) bytes of ram each,a palette ram with xRRRRRGGGGGBBBBB format and (at least) 72 (0x48) video registers.
The idea here is to merge everything in a single file and to understand the issues with some of them,namely the "bitmap_fill" color (goodejan/totmejan 
needs a black pen on the service mode and a white-to-black fade out effect at start-up?),some kludges with the tilemaps/sprites positioning (in both 
sd gundams,sdgndmsp and sdgndmrb for example) plus obviously anything that isn't yet understood from these regs.
2009-01-14 21:51:44 +00:00
Roberto Fresca
cb153df898 Added Spiele Bude to slotcarn.c driver. The game is working properly with full inputs/DSWs and sound. However is tagged as not working due to incomplete video emulation (reels support for the slots stage). [David Haywood, Roberto Fresca]
New games marked as GAME_NOT_WORKING
------------------------------------
Spiel Bude (German) [David Haywood, Roberto Fresca]
2009-01-14 18:08:16 +00:00
Roberto Fresca
fc3dcf4ee0 Switched the goldstar.c driver to use pre-defined clocks (CPU, PSG, AY and OKI) for all machine drivers.
Changed all z80's CPU frequency to 3 MHz (Xtal/4).
2009-01-14 17:10:07 +00:00
Aaron Giles
9b47e0401f 00976: vaportrx: Crashes during the results section immediately after the race. 2009-01-14 16:23:52 +00:00
Roberto Fresca
0b2d425601 - Fixed the 3rd graphics bank decode of cmast91. [David Haywood]
- Confirmed the kkojnoli dump as a good dump. Added proper bipolar PROMs. [Roberto Fresca]
2009-01-14 16:12:12 +00:00
Aaron Giles
06ba51335c 02823: astorm, shdancer and clones: Error Messages 2009-01-14 15:58:17 +00:00
Aaron Giles
a5594a0a5c 02824: deadlock when using -state with -mngwrite/-aviwrite 2009-01-14 15:35:54 +00:00
Aaron Giles
d29f820164 Fix inverted function name. 2009-01-14 14:13:19 +00:00
Aaron Giles
2a780fc07d From: Oliver Stoeneberg [mailto:oliverst@online.de]
Sent: Sunday, January 11, 2009 5:52 AM
To: submit@mamedev.org
Subject: unreachable code cleanup

This patch cleans up the usage of unreachable code (mostly 
unnecessary breaks after returns in switch - case). A few case of 
really unused code were also discovered. I marked thos with FIXME 
comments.
I based this cleanup on teh output of cppcheck. It does still missing 
a few cases of unreachable code, so there might be future patches to 
address more cases.
2009-01-14 06:10:30 +00:00
Aaron Giles
62bddb4fe6 Added digitalker support to scorpion driver. [Olivier Galibert] 2009-01-14 06:07:26 +00:00
Aaron Giles
45ba56b76f This hooks-up the preliminary decryption code for Tarzan, I'd guess that
isn't complete?

-----Messaggio originale-----
Da: David Haywood [mailto:neohaze@nildram.co.uk] 
Inviato: venerdi 9 gennaio 2009 9.42
A: Angelo Salese
Oggetto: tarzan

I don't think the decryption is complete.. the graphics are also 
encrypted.. so don't decode properly.

i guess sar might need to take a 2nd look at it.
2009-01-14 06:02:23 +00:00
Aaron Giles
81fce8af37 From: Duke [mailto:startaq@gmail.com]
Sent: Friday, January 09, 2009 4:14 AM
To: submit@mamedev.org
Subject: Patch to remove useless INLINE defines

Hello,

this patch removes several occurrences of "#define INLINE" in CPU and
sound cores, which I assume are useless since the makefile already
defines this.

--Dirk
2009-01-14 06:00:48 +00:00
Aaron Giles
40d9394d3d From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Tuesday, January 06, 2009 7:39 PM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] Remove sndindex from SND_START

Hi mamedev,

This is a baby step towards making the sound cores proper devices.  It
removes the sndindex parameter from SND_START.  Cores should use the
device pointer or tag as appropriate.  I also removed a few
address_space hacks taking advantage of the existing fake sound
device.

~aa
2009-01-14 05:59:32 +00:00
Aaron Giles
491cb6ed76 New non-working games: Unknown ACE Fruits Game [David Haywood] 2009-01-14 05:46:33 +00:00
Aaron Giles
9df0e956f7 Forgot a file. 2009-01-14 05:44:14 +00:00
Aaron Giles
0708ba2cd6 NON-WORKING GAMES
-----------------
3 Super 8 (Italy) [David Haywood]
New Champion Skill (v100n) [David Haywood]
Buster [David Haywood]
2009-01-14 05:43:57 +00:00
Aaron Giles
958bdddf5a Initially, this was to address adding the DIPs for the game, Naratte Chu.
After adding these, I also added DIP LOCATIONS for all sets in the driver.
There was an issue where a manual setting was different than what MAME
expected (Demo_Sound in the manual listed OFF, but MAME likes them ON).
Kale helped me a bit with some pointers about PORT_BIT reassignment which
helped clear up the duplicate Service Mode assignments.  I'm sure I made
errors, but it's a start :)

This .DIFF is based on 0.128u7 sources and resolves MAMETesters Bug #02787.

Tafoid
tafoid@yahoo.com
2009-01-14 05:33:40 +00:00
Aaron Giles
200b0a0159 From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Saturday, January 03, 2009 10:20 AM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] static/const/include fixes

Hi mamedev,

Here's my aperiodic code cleanup patch for MAME, adding static/const
and adjusting header files.  In a few places I went a bit further.

1.  arm7core.[ch],segas24.[ch]: Rewrote some abuses of the HANDLER
macros to use _func types instead.
2.  m37710: Removed some long dead state save functions.
3.  spc700: Removed the interface declarations and functions.  Most of
it is handled by CPU_GET_INFO, some of it was no longer implemented,
and since pointerization it wasn't possible to call it externally
anyhow.
4. segac2: I removed the palette variables aliasing the megadrive ones
and just used the megadrive ones directly.
5. snes: All the obc1_, DSP1_, DSP2_ exports were made static.  I'd
avoided doing this previously for fear it might break MESS, but after
auditing I'm fairly certain this shouldn't cause problems.

~aa
2009-01-14 05:32:21 +00:00
Aaron Giles
406980156d Removed extraneous bitmap clear. [Christophe Jaillet] 2009-01-14 05:27:50 +00:00
Aaron Giles
f449ec6100 Added new function gfx_element_build_temporary() to safely build a temporary
gfx_element. Updated the drivers that did this to use the new function, fixing
random crashes.

Fixed a couple of other minor regressions with recent drawgfx changes.
2009-01-14 05:16:23 +00:00
Aaron Giles
a9f31c6003 Oops, missed smleague. 2009-01-14 03:30:59 +00:00
Aaron Giles
34c8b1f518 Added ROM_DEFAULT_BIOS to diehard and critcrsh. 2009-01-14 03:27:41 +00:00
Ryan Holtz
d53fb3d8e6 Fixed duplicate savestate registration in certain 8080bw.c drivers (don't put in whatsnew) 2009-01-14 00:16:22 +00:00
Roberto Fresca
2fbc0ae577 Improvements to skylncr.c driver.
- Hooked all the PPI 8255 devices.
- Reworked the inputs based on them.
- Fixed the reels visible area.
- Reorganized and cleaned-up the driver.

(only remains to split in driver + video)
2009-01-13 18:45:27 +00:00
Aaron Giles
1b48649379 Fixed bug with Atari Ace's recent change that caused sound indexes to be incorrectly
computed.
2009-01-13 16:26:43 +00:00
Aaron Giles
0b6ec32822 Made direct (opcode) access more robust. Direct access now crawls the
memory table to find its ranges, and caches them for fast access in
the future. It invalidates intersecting regions when new ones are
installed, and now properly handles mirrored ranges.

Also changed the disassembly view to call the decrypted read routines
for each opcode byte/word instead of fetching from a pointer, which
prevented opcodes that crossed range boundaries from working correctly,
even though they would execute correctly.
2009-01-13 15:32:36 +00:00
Aaron Giles
03af882d87 From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Monday, December 22, 2008 3:00 PM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] Make SOUND_xxx pointers to SND_GET_INFO functions

Hi mamedev,

This patch probably should wait till after 0.129 goes out, but may be
of interest regardless.  It makes the treatment of SOUND_xxx the same
as that of CPU_xxx.  That is, they are function pointers to the
SND_GET_INFO routine for the sound.

The first patch just adds some missing include files and modifies a
few cases where a sound_type was used as an integer.  This could go in
now.  The second patch then adds the needed #defines to all the sound
headers (it assumes the previous patch I sent to add the SND_GET_INFO
declarations was applied), and modifies the sound code accordingly. It
also moves the sound clock to the device object.  Note that the dummy
sound core is removed entirely.  I cheated a bit and made VERIFY_SNDTI
also declare and fill in the sndnum, making this an INLINE function
would probably be more appropriate, but all of this code's days are
numbered.

There may be some performance loss in drivers that expect sndti_xxx
routines to be fast, since sound_matrix has been removed.  The
performance however should be similar to looking up items in a
devicelist, so those drivers will have to adjust eventually.

~aa
2009-01-13 03:08:03 +00:00
Phil Bennett
396439b2b4 02820: sf2ue: Scrambled graphics in Street Fighter II set: sf2ue 2009-01-12 20:06:47 +00:00
Phil Bennett
7ffb225922 Fixed MSM6376 distorted playback.
Added sample ROM to newmcard.
2009-01-12 17:10:29 +00:00
Curt Coder
bd0d0269ff CDP1802 cpu core:
- improved register layout
- randomized register contents on initialization
2009-01-12 14:26:56 +00:00
Curt Coder
de81d24aab COP400 cpu core refactoring:
- added state table for the debugger
- grouped all cpu types under a single makefile entry
- removed duplicate code
2009-01-12 13:18:32 +00:00
Aaron Giles
ac0abd1706 Major drawgfx cleanup, global removal, and feature enhancements:
- Added built-in dirty tile tracking to the gfx_element. This removes
    the need for all drivers that had dynamically populated graphics
    to do their own dirty tracking. Tiles are marked dirty via the
    new function gfx_element_mark_dirty(). Any driver that needs access
    to the decoded data must call gfx_element_get_data() in order to
    ensure that the referenced tile is clean before proceeding.
    
 - In order to support dirty tracking, the gfx_element was enhanced to
    keep track of the original source pointer, so that it can go back
    and regenerate tiles on demand. For systems that set NULL for the
    region in the gfxdecode, they must use gfx_element_set_source()
    to specify a pointer to the raw data before drawing anything.
 
 - Changed allocgfx() to gfx_element_alloc(), and added parameters to
    specify the source data pointer, base color index, and total colors.
    Many drivers had to whack these values in after the fact, so this
    allowed for some minor additional cleanup.
 
 - Added a dirtyseq member to the gfx_element struct. This is 
    incremented on each tile dirty, and can be used to sniff if 
    something has changed.
 
 - Added logic in the tilemap engine to track which gfx_elements are
    used for a given tilemap, and automatically detect changes to the
    tiles so that drivers no longer have to explicitly invalidate the
    tilemap when tiles change. In the future, this may grow smarter to
    only invalidate the affected tiles, but for now it invalidates the
    entire tilemap.
 
 - Updated a number of drivers to remove their own dirty handling and
    leverage the new internal dirty marking.

 - Because the source data must always be present, updated the atarigen
    zwackery and mystwarr graphics handing code to support this.

 - Thanks to the dirty tracking, this actually allows all gfx decoding
    to happen on the fly instead of all at once up front. Since there 
    was some concern that this would cause undesirable behavior due to 
    decoding lots of tiles on the fly, it is controlled with a compile-
    time constant in mame.h (PREDECODE_GFX). Set this to 1 to get the
    old behavior back.
    
 - Moved decodechar() and decodegfx() to deprecat.h. All drivers in MAME
    have been updated to simply mark tiles dirty and let the rendering
    system decode them as needed, so these functions may go away in the
    future.

 - Rewrote entirely the rendering code in drawgfx. This code previously
    used extensive recursive #includes and tricks to build, and was
    very difficult to understand. The new code is based off of a set of 
    macros defined in drawgfxm.h. These new macros separate the core 
    rendering logic from the per-pixel operation, allowing the operation 
    to be easily "plugged" into any of the renderers. These macros are
    also available to any driver that wants custom rendering behavior
    that is similar to existing core behavior, without needing to
    populate the core with esoteric one-off rendering behaviors.
 
 - Added a set of new functions for [p]drawgfx[zoom], one for each
    transparency type. The old [p]drawgfx[zoom] functions are still
    present, but now switch off the transparency type and call through
    to one of these new transparency-specific functions. The old
    functions are also now reduced to only supporting TRANSPARENCY_NONE,
    TRANSPARENCY_PEN, and TRANSPARENCY_PENS. All other rendering types
    must use the new functions.
 
 - All new rendering functions have extensive asserts to catch improper
    clipping rectangles and other common errors.
    
 - All new rendering functions automatically downgrade to optimized
    versions where appropriate. For example, calling drawgfx_transpen
    with an out-of-range pen automatically falls back to drawgfx_opaque.
    And drawgfxzoom_* with xscale=yscale=1.0 automatically falls back
    to drawgfx_*. And many other examples. In general, this relieves 
    drivers from needing to make these sorts of decisions.
 
 - All new rendering functions have a consistent parameter order that
    is a bit different from the existing functions. The cliprect
    parameter is now specified immediately after the destination bitmap,
    to match the convention used throughout the rest of the system.
    The core parameters are followed by the scale parameters (for the
    zoom functions), and then followed by the priority parameters (for
    the pdrawgfx* functions), finally followed by any PIXEL_OP*-specific
    parameters (such as transparent pen, alpha, drawing tables, etc.)
  
 - Removed drawgfx_alpha_cache, alpha_set_level(), and the inline 
    functions alpha_blend16() and alpha_blend32(). To render graphics 
    with alpha, use the new [p]drawgfx[zoom]_alpha functions, which 
    take an explicit alpha value. To render tilemaps with alpha, the 
    TILEMAP_DRAW_ALPHA option now takes an explicit alpha parameter. 
    And to do you own alpha blending, use the alpha_blend_r16() and
    alpha_blend_r32() functions, which take an explicit alpha.
  
 - Updated a number of drivers as a result of removing the implicit
    alpha in the drawgfx_alpha_cache. 

 - Removed drawgfx_pen_table and TRANSPARENCY_PEN_TABLE. To achieve 
    the same effect, build your own table and pass it to 
    [p]drawgfx[zoom]_transtable, along with a pointer to the 
    machine->shadow_table to use for shadows. Eventually 
    machine->shadow_table is likely to go away, and drivers will need 
    to fetch the shadow table from the palette directly.
    
 - Updated a number of drivers to remove use of drawgfx_pen_table.
 
 - Removed TRANSPARENCY_ALPHARANGE; it was only used by the psikyosh
    driver, so it is now moved locally into that driver and built
    using the macros in drawgfxm.h.
 
 - Removed TRANSPARENCY_PEN_RAW; to achieve the same effect, call the
    new [p]drawgfx[zoom]_transpen_raw() functions. Updated drivers to
    make this change.
 
 - Removed the unused mdrawgfx* functions entirely.
 
 - Added new function gfx_element_set_source_clip() to specify a
    source clipping rectangle for any element. This replaces the nasty 
    hacks that were being used in bnstars, ms32, namcos86, and namcos1
    to achieve similar behaviors.
    
 - Simplified the copyrozbitmap() functions to match the copybitmap()
    functions in having separate opaque and transparent versions. Also
    removed the 'priority' parameter which was only used by one driver,
    and moved that logic into a custom renderer built using macros in
    drawgfxm.h. Updated copyrozbitmap* to use the destbitmap, cliprect
    parameter ordering convention as well.
 
 - Simplified the draw_scanline*() functions to always render opaque.
    Only one driver was doing otherwise, and it now does its work
    internally (draw_scanline is dead-simple ever since we moved 
    rotation to the OSD code; I almost just removed it entirely).
 
Other changes:

 - Added a cliprect to the bitmap_t type, which describes the full 
    bitmap.
    
 - Removed tilemap_set_pen_data_offset; unfortunately, this adds a
    random tile offset behind the scenes and goes against the dirty
    tile detection and invalidation. Updated the mainsnk, snk, and 
    snk68 drivers to use old fashioned tile banking. (Sorry Nicola.)
 
 - Changed zac2650 gfxdecode to use scale factors.

 - Added function video_assert_out_of_range_pixels() to help find
    the source of invalid pixels (generally out-of-range palette
    entries due to invalid data or sloppy calculations). Place this
    after each step in your rendering in a debug build to discover
    which code is generating improper pixels.
2009-01-12 11:05:15 +00:00
Mirko Buffoni
fa224bfe85 Added V30-based High Video gambling games [Mirko Buffoni]
* Added VCF board based games (Tour4000, Casino Fever 4.0, Casino Fever 5.0)
* Added NCF board based games (Tour4010, Casino Fever 5.1, Casino Fever 6.1)
* Added TCF board based games (Casino Fever 1k, Girotutto)
2009-01-12 09:42:36 +00:00
Mirko Buffoni
25abe62db4 Added OKIM6376 emulation ADPCM Speech Synthesizer [Mirko Buffoni]
* At the moment only the ADPCM part is implemented, while it's missing the BEEP
  generator and the 2nd channel handling, used mainly for echoing or continuous
  speech.

Added OKIM6376 sound emulation to High Video games [Mirko Buffoni]
* Removed GAME_NO_SOUND from newmcard, brasil and fashion
* Sound frequency may be incorrect
* Although the manual says OKIM6376 is straight ADPCM, generated sound is
  distorted (over-clamped?)
2009-01-12 09:25:00 +00:00
Roberto Fresca
19818f1f5e Improvements to coinmastr.c driver. [David Haywood, Roberto Fresca]
- Added maximum intensity to the color decode.
- Switched pokeroul to use global memory map and eliminated the redundant one.
- Eliminated the GAME_WRONG_COLORS flag to all games.
- Some clean-ups.
2009-01-11 23:32:24 +00:00
Phil Bennett
b9d2549841 02805: turbosub, turbosba: Dropped lines in video output rendering
Added save state support.
2009-01-11 19:27:13 +00:00
Angelo Salese
6d35328663 Various improvements to the Jackpool driver [Angelo Salese]
* Added a second screen for some extra gfxs that are displayed on it;
* Fixed colors;
* Preliminary implementation of the transparency pens for the graphics,might not be correct;
* Added inputs;
* Cleaned-up the driver;
Game seems to work fine,but can't accept coins,might be related to the eeprom.
2009-01-11 18:11:29 +00:00
Luca Elia
c0109e2b51 Improved the rom loading in tenkai and clones.
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Mahjong Tenkaigen (3 sets) [Wei Mingzhi, Luca Elia]
2009-01-11 15:07:47 +00:00
Ryan Holtz
da2869ed48 - Added savestate support to the games in amspdwy.c, angelkds.c, appoooh.c, aquarium.c, arabian.c, and arcadecl.c: [MooglyGuy]
amspdwy, amspdwya, angelkds, spcpostn, appoooh, robowres, robowrb, aquarium, arabian, arabiana, arcadecl, sparkz
2009-01-11 09:45:21 +00:00
Roberto Fresca
bdd6b41031 More improvements to goldstar.c driver:
From David Haywood:
- Decoded the extra bitmap for Cherry Master I and V4 sets. Still need to figure out how is called.

From Roberto Fresca:
- Added notes about the Tetris/Cmaster game.
- fixed some default DIP switches.
- Splitted the cmaster gfxdecode to cover different sets.
- Created a new machine driver for sets without the extra bitmap.
- Renamed the old sets cm2v841 and cm2841a to cmasterb and cmasterc respectively, since they are in fact different sets of Cherry Master I (ver.1.01).
- Promoted cmasterb & cmasterc to working state. The last one was flagged as GAME_IMPERFECT_GRAPHICS, since reels graphics have a different decode, or simply are bad dumps.
- Reparented some sets.
- Added Magical Tonic.
- More fixes/cleanups.


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Cherry Master I (ver.1.01, set 2) [Roberto Fresca]
Cherry Master I (ver.1.01, set 3) [Roberto Fresca]


New games marked as GAME_NOT_WORKING
------------------------------------
Magical Tonic [Roberto Fresca]
2009-01-11 09:43:05 +00:00
Roberto Fresca
edeeec5da3 Improvements to goldstar.c driver:
- Added full inputs / DIP switches to the Cherry Master II sets.
- Started a tedious clean-up to all driver inputs.
- Added a new set based on Cherry Master V4. The game is supposed to boot as a Tetris game (there are Tetris graphics inside), and can be turned into Cherry Master (probably designed for countries where gambling games are/were illegal). The game is booting into Cherry Master and is working properly. Still flagged as GAME_NOT_WORKING till can figure out how to switch games.
- Some other minor corrections.


New games marked as GAME_NOT_WORKING
------------------------------------
Cherry Master (ver.4, set 2) [Roberto Fresca, Angelo Salese]
2009-01-11 08:17:31 +00:00
R. Belmont
1b4e540fbd Fix clock used in Namco systems 12 & 23. 2009-01-11 05:36:04 +00:00
Nathan Woods
4df40b369c 1. Introduced a parallel 6821 PIA implementation, as a MAME device (6821new.c)
2.  Ported the Williams drivers over to use this new PIA implementation
2009-01-11 01:16:21 +00:00
Angelo Salese
0c7c06788d 02815: zaryavos: Game never reaches title screen. (Angelo Salese) 2009-01-10 15:31:00 +00:00
R. Belmont
3188238b14 k053260: fix LP64 portability. 2009-01-10 04:47:39 +00:00
Roberto Fresca
5057616884 Cherry Master '91:
- Fixed memory map.
- Added proper PPI 8255 devices.
- Worked inputs / DIP switches from the scratch.
- Fixed reels tilemaps visible area.
- Fixed reels colors.
- Removed all the flags and promoted to working status.


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Cherry Master '91 (ver.1.30) [Roberto Fresca]
2009-01-09 17:00:17 +00:00
Curt Coder
019b61e7af Converted the CDP1802 cpu core to use a state table. 2009-01-09 09:32:54 +00:00
Brian Troha
718240404e slight rom name change to avoid name/crc collide. 2009-01-09 03:49:43 +00:00
Brian Troha
bd9997f13c slight rom name change to avoid name/crc collide. 2009-01-09 03:44:11 +00:00
Angelo Salese
f2c9beacea Added Poker Roulette to the Coinmaster driver [Chris Hardy,Angelo Salese,Roberto Fresca,David Haywood]
Fixed most graphic banking bugs & colors in the coinmaster driver [David Haywood] 

New games marked as GAME_NOT_WORKING
------------------------------------
Poker Roulette [Chris Hardy,Angelo Salese,Roberto Fresca,David Haywood]
2009-01-09 00:54:46 +00:00
Angelo Salese
41b8808bcb Renamed filetto.c to pcxt.c and made several improvements to the driver [Angelo Salese]
* Merged tetriunk.c and filetto.c,and renamed tetriunk set to tetriskr;
* Fixed inputs & gameplay quirks in tetriskr,so it's now playable;
* Added preliminary external graphics emulation hook-up for the backgrounds in tetriskr;
* Rearranged & cleaned up the palette initialization,now 0x000-0x1ff offsets are for the char modes and 0x200-0x2ff are for the bitmap modes;
* Fixed color attributes bits;
* Cleaned up and fixed colors in CGA bitmap mode for Filetto;

New games added or promoted from NOT_WORKING status
---------------------------------------------------
Tetris  (bootleg of Mirrorsoft PC-XT Tetris version) [Angelo Salese]
2009-01-09 00:38:28 +00:00
Jim Stolis
b62b683b18 Changes to peplus driver:
- Added wingboard (5-n-1 daughterboard) support
 - Added E16/E17 jumper support
 - Sound clock changed to global
 - Removed graphics layout and replaced with generic gfx_8x8x4_planar
 - Increased palette lengths
 - Adjusted incorrect ROM_REGION sizes
 - Correct color prom length definitions


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Player's Edge Plus (XMP00017) 5-in-1 Wingboard [Jim Stolis]
2009-01-09 00:16:33 +00:00
Roberto Fresca
ac2273ced6 Improvements to Cherry 10:
- Decrypted the program ROM.
- Bypassed the PIC protection.
- Hooked proper inputs & DIP switches.
- Promoted to working state.


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Cherry 10 (bootleg with PIC16F84) [Roberto Fresca, Andreas Naive, David Haywood]
2009-01-08 10:31:51 +00:00
Curt Coder
75ec4f2d1d Fixed sloppy rendering in CDP1869. 2009-01-08 08:16:50 +00:00
Roberto Fresca
730a344479 Rewrite the color decode for Cherry Gold I, all Cherry Bonus III sets, all Cherry Master sets, both New Lucky 8 Lines sets, Lady Liner and Kkoj Noli. Colors/intensity now are perfect.
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Kkoj Noli (Kill the Bees) [Roberto Fresca]

(forgot to add it in the previous submission...)
2009-01-08 08:02:38 +00:00
Roberto Fresca
2867e42cc6 Added Kkuj Nol-i / Kkoj Noli (better romanization). It runs on a reduced/modified version of lucky8 hardware.
Added proper memory map, machine driver, PPI interfaces and inputs.
Added placeholder for the 4 undumped cmast91's PLD's (all 16L8-12/-15/-25 type).
Removed the imperfect colors flag from lucky8 sets (colors look a bit dark, but seems properly decoded).
2009-01-08 04:51:14 +00:00
Couriersud
acae0b91f3 Fix gcc 64bit compile issue 2009-01-07 23:57:10 +00:00
Nathan Woods
45a3d96248 Added check to debug_cpu_set_dasm_override(), because callers do not know if we
are in debug mode or not
2009-01-07 11:42:24 +00:00
Nathan Woods
fd3f93f96d Comment fix 2009-01-07 11:41:56 +00:00
Angelo Salese
6f63793553 Added Lucky Girl to the jangou.c driver,not working because it's encrypted [David Haywood]
New games marked as GAME_NOT_WORKING
------------------------------------
Lucky Girl [David Haywood]

=====

Added to the Jangou HW because gfx roms are clearly from the Jangou blitter,chanches are that is the same HW once it's decrypted.
2009-01-07 00:23:40 +00:00
Roberto Fresca
df0e63c106 Better translation/description for the Lady Liner's german buttons... 2009-01-06 23:36:12 +00:00
Angelo Salese
ebfc1010ea Wrote a driver for 86 Lions,not working due of missing inputs...
New games marked as GAME_NOT_WORKING
------------------------------------
86 Lions [Chris Hardy,Angelo Salese,Roberto Fresca]
2009-01-06 18:14:27 +00:00
Ryan Holtz
b7fa96aa20 Added savestate support to the games in ambush.c and ampoker2.c:
- ambush, ambushv, ambusht, ampoker2, ampkr2b1, ampkr2b2, ampkr2b3, ampkr95, pkrdewin, videomat, sigmapkr, sigma2k
2009-01-06 17:28:41 +00:00
Roberto Fresca
63e37103c9 Added support to Lady Liner (TAB Austria). Worked memory map, machine driver, graphics planes, devices, inputs, DIP switches & sound. The game is working properly.
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Lady Liner [Roberto Fresca]
2009-01-06 12:35:46 +00:00
Nathan Woods
bbf21aa770 Multisession fix 2009-01-06 11:33:23 +00:00
Ryan Holtz
7e401aa36a Added savestate support to the games in 8080bw.c, ace.c, actfancr.c, aerofgt.c, airbustr.c, ajax.c and alpha68k.c: [MooglyGuy]
- sitv, sicv, sisv, sisv2, galxwars, galxwar2, galxwart, starw, lrescue, mlander, lrescuem, grescue, dsterth, invadpt2, invaddlx, cosmo, schaser, schasrcv, sflush, lupin3, polaris, polarisa, ballbomb, indianbt, searthin, searthia, invadrmr, spaceatt, spaceat2, sinvzen, sinvemag, tst_invd, alieninv, spceking, spcewars, astropal, spacewr3, invaderl, invader4, jspecter, jspectr2, cosmicmo, cosmicm2, superinv, invasion, darthvdr, moonbase, invrvnge, invrvnga, spclaser, laser, spcewarl, rollingc, ozmawars, ozmawar2, solfight, spaceph, yosakdon, yosakdoa, shuttlei, ace, actfancr, actfanc1, actfancj, triothep, triothej, spinlbrk, spinlbru, spinlbrj, pspikes, pspikesk, svolly91, pspikesb, spikes91, pspikesc, karatblz, karatblu, karatblj, turbofrc, aerofgt, aerofgtb, aerofgtc, sonicwi, aerfboot, aerfboo2, wbbc97, airbustr, airbustj, airbusb, ajax, typhoon, ajaxj, sstingry, kyros, kyrosj, jongbou, paddlema, timesold, timesol1, btlfield, btlfildb, skysoldr, goldmedl, goldmeda, goldmedb, skyadvnt, skyadvnu, skyadvnj, gangwars, gangwarb, sbasebal, tnexspce
2009-01-06 03:41:48 +00:00
Nathan Woods
59dbaaa70a Added a validity check 2009-01-06 03:21:11 +00:00
Roberto Fresca
6d8e81d505 Another non-working driver from Haze, supporting Skill Fruit Bonus.
New games marked as GAME_NOT_WORKING
------------------------------------
Skill Fruit Bonus [David Haywood]
2009-01-06 01:55:36 +00:00
Roberto Fresca
da6d05e2ee From Haze....
New games marked as GAME_NOT_WORKING
------------------------------------
Skill Cherry '98 [David Haywood]
Skill Cherry '97 [David Haywood]
2009-01-05 22:35:37 +00:00
Roberto Zandona
7bf16e2676 decoded "gfx" rom region 2009-01-05 06:56:00 +00:00
Brian Troha
c75cf695c9 minor correction to the manufacturer... IE: changed from Atari to hack 2009-01-05 04:22:27 +00:00
Roberto Fresca
0ecbd3f0bf Fixed some Haze's lazyness... 2009-01-05 01:21:01 +00:00
Aaron Giles
835ace034d Cleanups and version bump. 2009-01-04 23:31:12 +00:00
Aaron Giles
ed893fe35c From: Robert [mailto:pac0446@bigpond.net.au]
Sent: Wednesday, December 31, 2008 6:39 PM
To: Mamedev submit
Subject: Fix for 1610 cpu

The cp1610 cpu crashes when it attempts to reset itself.

It gets the PULSE_LINE message.

A one-line fix to cp1610.h will fix the problem.
It has been tested on the intellivision mess driver.


Please change the line that says:

#define CP1610_RESET 2

to

#define CP1610_RESET INPUT_LINE_RESET



Thank you and Happy New Year.

- Robbbert
2009-01-04 23:01:29 +00:00
Aaron Giles
5406ec6027 This patch just cleans up some memory and file handles in the error
cases of ldverify. The initial memory leak was rsound and exposed by 
cppcheck [Oliver Stoeneberg]
2009-01-04 22:59:10 +00:00
Aaron Giles
788c7e6a60 New clones:
Dogyuun (Licensed to Unite Trading For Korea) [Smitdogg]
2009-01-04 22:56:32 +00:00
Ryan Holtz
b723f83edc Added savestate support to the following devices: [MooglyGuy]
- TTL74148, TTL74153
Removed anonymous timers from gridlee and added savestate support [MooglyGuy]
Added savestate support to all games in 40love.c, 88games.c, 1943.c, carpolo.c, circus.c and exidy.c: [MooglyGuy]
- 40love, fieldday, undoukai, 88games, konami88, hypsptsp, 1943, 1943j, 1943kai, carpolo, circus, circusse, robotbwl, crash, ripcord, sidetrac, targ, targc, spectar, spectar1, rallys, phantoma, mtrap, mtrap3, mtrap4, venture, venture2, venture4, teetert, pepper2, hardhat, fax, fax2
2009-01-04 22:33:11 +00:00
Aaron Giles
3701e7c374 And even more dangling code in galaxold.c. 2009-01-04 22:32:12 +00:00
Aaron Giles
eba6cff7c5 Dangling code removal from scobra as well. 2009-01-04 22:27:07 +00:00
Aaron Giles
9165297ffc Removed dangling old code from scramble.c 2009-01-04 22:21:54 +00:00
Angelo Salese
5fabf88271 02644: tdragon, tdragon1, hachamf: Coin counter doesn't decrease [Angelo Salese] 2009-01-04 22:18:12 +00:00
Luca Elia
413ba46a0e Added crsbingo to subsino.c.
Marked some PALs as bad in jingbell.

New games marked as GAME_NOT_WORKING
------------------------------------
Cross Bingo [f205v]
2009-01-04 13:15:44 +00:00
Aaron Giles
dead7010da Another out-of-bounds error caught by randomizing memory. 2009-01-04 07:06:12 +00:00
Aaron Giles
38b9895e51 Fixed a few out-of-bounds errors revealed by randomly initializing auto_malloc()
memory.
2009-01-04 06:59:08 +00:00
Ryan Holtz
d6bbd1cbde Changed Status Trivia 2 (and related games) clock to 13.684MHz to fix game speed. Still wrong, but better than before. [MooglyGuy] 2009-01-04 06:08:57 +00:00
Aaron Giles
41879d052a Removed bogus port 4-7 definitions from MCS-48. Added i8243
implementation. Connected 8243 properly to monsterb and 
system 16a sound. Changed draw80pkr to connect the PROG
line like videopkr.
2009-01-04 03:35:12 +00:00
Brian Troha
a4455577a0 re-ordered some clones newest to oldest... slight rename of the jojo sets 2009-01-04 02:10:03 +00:00
Phil Bennett
0d4a9e7e2d Fix 02799: mace: No player 2, button 4 available for mapping 2009-01-04 00:09:04 +00:00
Phil Bennett
90a9f17cd4 It's actually 'Power-JC System'... 2009-01-03 23:28:45 +00:00
Roberto Fresca
52c56d3ee0 Slot Carnival:
- Added gfxdecode & palette lenght to the machine driver, so tiles stuff can be viewed through F4 in case of someone wants to help.
- Defined SND_CLOCK for the ay8910.
2009-01-03 22:10:28 +00:00
Angelo Salese
796226f59f Fixed more stuff with Diamond Derby,game is playable but not yet working (due of a subtle bug,see source) [Angelo Salese] 2009-01-03 19:10:48 +00:00
Roberto Fresca
bc684e993c New driver for Slot Carnival. (1985, Wing Co. Ltd) [David Haywood, Roberto Fresca]
The driver is quite complete, but need some work to get proper colors and reels support.

New games marked as GAME_NOT_WORKING
------------------------------------
Slot Carnival [David Haywood, Roberto Fresca]
2009-01-03 17:26:35 +00:00
Angelo Salese
3fbfe210ab Wrote a preliminary driver for the original Magic Card [Roberto Fresca,David Haywood,Angelo Salese]
New games marked as GAME_NOT_WORKING
------------------------------------
Magic Card [Roberto Fresca,David Haywood,Angelo Salese]

=============

This thing is pretty Amiga-ish...How much similar is this one to the Amiga HW?
2009-01-03 16:55:01 +00:00
Phil Bennett
67b625e3e9 New games marked as GAME_NOT_WORKING
------------------------------------
Operation Tiger [Chris Hardy, Phil Bennett]
2009-01-03 16:42:51 +00:00
Roberto Zandona
1789136165 cb2001: last table version 2009-01-03 14:49:56 +00:00
Luca Elia
a5d9d44c00 Improved mgcs. It now runs through attract mode.
[Luca Elia]

It still locks up as soon as one coins up though,
due to the unemulated IGS029 protection.
2009-01-03 14:16:25 +00:00
Roberto Zandona
a689b835b7 cb2001: some opcodes (from interrupt routine)
there's a fint (0f 92) opcode -> it's surely a encrypted v30
2009-01-03 13:47:59 +00:00
Roberto Zandona
da44a4ebe6 added another opcode 2009-01-03 13:08:39 +00:00
Roberto Zandona
48e581baa2 cb2001: new opcodes (the start up code is similar to cmast91) 2009-01-03 11:46:09 +00:00
Pierpaolo Prazzoli
496b8503d9 Fixed Super Triv colors (maybe)
Someone wants to fix the sound as well?
There's also an unknown bit for the tilemap, used for the whole title box.
2009-01-03 10:57:37 +00:00
Aaron Giles
a1e098a078 Changed P4 control to the PROG line, which is more likely. The way to toggle
the PROG line is to read/write/and/or to ports 4-7. Since the board doesn't
list an 8243 port expander, it is likely the "writes" to port 4 are really
just a mechanism to get the PROG line to toggle to clear the interrupt.
2009-01-03 08:44:30 +00:00
Ryan Holtz
a783dfc3c6 Audited and added GAME_SUPPORTS_SAVE to 4enraya [MooglyGuy] 2009-01-03 04:30:04 +00:00
Roberto Fresca
0ff277afe4 Lots of improvements to the different Cherry Master hardwares. [Roberto Fresca, David Haywood]
Added new sets, created new machine drivers, fixed colors, added PPI devices, created new 8255 and ay8910 interfaces, worked out inputs and DIP switches from the scratch, fixed memory maps, merged the cherrym2.c driver with goldstar.c and much more...


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Cherry Master (Corsica, ver.8.01) [Roberto Fresca]
Cherry Master (ver.4) [Roberto Fresca, David Haywood]
Cherry Master I (ver.1.01) [Roberto Fresca, David Haywood]
2009-01-03 04:09:31 +00:00
Ryan Holtz
1ea15d973c Audited and added GAME_SUPPORTS_SAVE to all games on statriv2 hardware [MooglyGuy] 2009-01-03 03:28:50 +00:00
Angelo Salese
e31a7d847f Fixed some stuff with Diamond Derby [Angelo Salese]
========

Actually fixed hackish things from the last update by "Mike Green",I'll finish this off tomorrow,it's playable if you hack the 8880-888f areas to ff just 
before the "token error"...
2009-01-03 03:08:27 +00:00
Ryan Holtz
506b82aa17 Log:
Audited and added GAME_SUPPORTS_SAVE to all games on mrdo and docastle hardware [MooglyGuy]
2009-01-03 02:26:34 +00:00
Aaron Giles
e71d65e896 Added simple built-in layout for polepos showing the position of the shifter
(this works thanks to recent changes from Nathan; in fact, any input can
affect the state of an artwork element). Removed debug build hack to popmessage
the shifter state.
2009-01-03 00:47:44 +00:00
Roberto Zandona
81d05dc866 cb2001: added another opcode 2009-01-02 21:57:02 +00:00
smf-
52e71a1f3f Fix for odd word dma transfers, found by OG. 2009-01-02 20:30:48 +00:00
Angelo Salese
99103e89bb Fixed layer enable,flip x & x/y position in goodejan.c driver [Angelo Salese]
=============

Several Seibu games (i.e. D-Con,sdgndmps,Sengoku Mahjong,goodejan/totmejan and the raiden2.c/legionna.c games) all have a standard 0x48 (0x50?) 
regs-wide C.R.T.C. 

I wonder if it is a custom Seibu crap or a known video chip,would be good if somebody can do tests on it. For sure,it should be abstracted,this 
commit was made by looking mostly at Sengoku Mahjong.
2009-01-02 20:08:54 +00:00
Aaron Giles
84618c3f7a romload cleanups:
- added running_machine to internal structure, removed as explicit parameter
 - added new function rom_file_size() to compute the size of a ROM
 - removed rom_first_chunk() and rom_next_chunk() which are no longer needed
 - changed progress display to be based on size of ROMs loaded, not number
 - changed temporary load buffer to be dynamically allocated
 - fixed reload logic to handle skipped BIOSes

Also changed rand_memory() to use a fixed seed for consistent behavior.
2009-01-02 19:20:55 +00:00
Aaron Giles
b7c652b8dd Removed a couple of unnecessary typedefs from mamecore.h.
Updated romload to use an astring for accumulating errors (I always feared
busting that buffer with some huge romlist).
2009-01-02 17:26:37 +00:00
Aaron Giles
74d7495dbc 02104: metlhawk, metlhwkj: Crash while decoding with '-debug' trigger
Fixed auto_malloc() along the way to randomize its memory when allocated in
the debug build. This used to be the standard, but it seems to have been removed 
when the pool allocation was moved into the library.
2009-01-02 16:55:07 +00:00
Angelo Salese
fc7e4f0f46 Added NO_DUMPS for the VHS on hnxmasev,hnageman,av2mj1bb and av2mj2rg [Angelo Salese] 2009-01-02 14:22:38 +00:00
Aaron Giles
0b2c86bb02 Cleaned up the profiler. Reduced its runtime overhead significantly by
inlining the check to see if it is running. Removed obsolete entries
and updated the text to more accurately describe each one. Added CPU
tags to the CPU names. Switched to using an astring for building the
final string.

Unfortunately, still a bit too much overhead to leave it on in all builds.
2009-01-02 10:52:40 +00:00
Aaron Giles
ba92f06dd7 Minor tweaks to please valgrind. 2009-01-02 10:50:40 +00:00
Pierpaolo Prazzoli
3ccd54014d Fixed speed-up for Vamf x1/2 (Europe) 2009-01-02 09:46:20 +00:00
Aaron Giles
967eb6ef16 Fixed minor glitch in UI display of screen information. 2009-01-02 08:23:53 +00:00
Aaron Giles
403fca8a23 Fixed rendering of slider controls so it doesn't overlap when menus get large. 2009-01-02 08:20:04 +00:00
Aaron Giles
196b8abe93 Fix royalngt regression. 2009-01-02 07:46:47 +00:00
Aaron Giles
e49f88d17d 02575: taitogn: Not marked as bios in -listxml 2009-01-02 05:58:55 +00:00
Aaron Giles
fecf3709fc 02141: sunaq: At the Title, Game is Crash 2009-01-02 04:15:50 +00:00
Aaron Giles
150d84a552 Oops, undo an accidental change in 6850acia that broke the bfcobra games, among others. 2009-01-02 03:25:15 +00:00
Angelo Salese
fc90b8fd1d Added a work-around for 2 Minute Drill,to get it booting again. [Angelo Salese]
==============

irq 5 code is this one:

04425A: 007C 0500                  ori     #$500, SR
04425E: 0279 FFEF 0060 000C        andi.w  #$ffef, $60000c.l
044266: 0079 0010 0060 000C        ori.w   #$10, $60000c.l
04426E: 48E7 0080                  movem.l A0, -(A7)
044272: 206D 1C18                  movea.l ($1c18,A5), A0
044276: 30F9 0070 0002             move.w  $700002.l, (A0)+
04427C: 2B48 1C18                  move.l  A0, ($1c18,A5)
044280: 4CDF 0100                  movem.l (A7)+, A0
044284: 4E73                       rte

60000c is an unknown port,but 700002 is for arm power sensor. So I'm guessing that's not related at all with the ym sound chip.
I'll check this again at some point...
2009-01-02 01:42:23 +00:00
Aaron Giles
b931a734df zr107 crash fixes. 2009-01-02 01:03:23 +00:00
Aaron Giles
d52a995f15 Same assertion fixes for wwfsstar/wwfwfest drivers. 2009-01-02 00:48:18 +00:00
Aaron Giles
78f5d6e9ea Fix shadfrce assertions. 2009-01-02 00:46:23 +00:00
Aaron Giles
9ce87edb3f Fixed crash in aica games due to initialization code blowing away the device pointer. 2009-01-02 00:43:05 +00:00
Phil Bennett
2789bac1fe Remaining fixes for 02760: Games using MC6845: Crash with an error on startup before OK.
Fixed xsedae validation warning.
2009-01-02 00:33:59 +00:00
Aaron Giles
6e84bc886d Fix for assertion in ddragon3 driver. 2009-01-02 00:30:02 +00:00
Aaron Giles
c2b4b32688 Checksums for mach3 and usvsthem. Promoted both to working. 2009-01-02 00:29:41 +00:00
Angelo Salese
fccb297a95 Added Mahjong Gaiden to the nbmj8688.c driver [David Haywood]
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Mahjong Gaiden [David Haywood]
2009-01-01 23:43:03 +00:00
Brian Troha
27fc534abb slightly update the game description for DK Foundry 2009-01-01 23:39:17 +00:00
Brian Troha
1109fb653b adds clones with the graphic hack "Dux" by Two Bit Score to Centipede and Millipede
Was discussed on the list a while back and ok'ed but no one ever added it.

No credit please ;-)
2009-01-01 23:31:52 +00:00
Aaron Giles
2407e06237 ldplayer works again. Added MDRV_LASERDISC_GET_DISC callback hook
which allows for dynamically finding the CHD, rather than relying 
on the DRIVER_INIT hackery that was there before.
2009-01-01 23:05:52 +00:00
Angelo Salese
776596cc63 Added AV Hanafuda Hana no Christmas Eve and AV Hanafuda Hana no Ageman to the nbmj8891 driver.Playable but not working (missing VHS dump/emulation) [Angelo Salese]
New games marked as GAME_NOT_WORKING
------------------------------------
AV Hanafuda Hana no Christmas Eve [Angelo Salese]
AV Hanafuda Hana no Ageman [Angelo Salese]
2009-01-01 23:04:34 +00:00
Brian Troha
d250eb04a0 New clone added
Adds Jeff's Romhack Donkey Kong Foundry set.  I spoke with him before the d2k thing and he gave his permission to use this set with MAME

No credit please ;-)
2009-01-01 22:55:58 +00:00
Brian Troha
0172af4493 corrected sound sample rom name with location. 2009-01-01 22:18:49 +00:00
Aaron Giles
e044b80e97 02676: All Laserdisc Games: Wrong colors using Direct3D on ATI cards
You can't add only 1 pixel to border YUY textures. Changed to add 2 instead
and generate proper borders.
2009-01-01 21:32:34 +00:00
Aaron Giles
c6da1059e1 Turn off giant dump files. 2009-01-01 21:22:42 +00:00
Roberto Zandona
542d0fa5c3 cb2001: added new opcodes 2009-01-01 20:29:31 +00:00
Phil Bennett
b7ef380a5d Fix 02793 funkyjet: Unable to locate input port 'P1'. 2009-01-01 18:16:56 +00:00
Angelo Salese
4ec6abcb58 Added Mahjong Senka/Mahjong Yarou to the Royal Mahjong driver.They suffers the exact same issues as Mahjong Shiyou (i.e. encrypted sub z80 cpu,
that shares the work ram with the main z80) [Angelo Salese]

New games marked as GAME_NOT_WORKING
------------------------------------
Mahjong Senka [Angelo Salese]
Mahjong Yarou [Angelo Salese]
2009-01-01 17:34:36 +00:00
Phil Bennett
c32801fb82 Fixed buggyboy I/O, engine sound and tilemap scrolling. 2009-01-01 17:31:23 +00:00
Brian Troha
f901453256 corrected rom names to standard MAME Konami style:
IE: game_rom.location
2009-01-01 16:33:53 +00:00
Brian Troha
e3227346aa minor white space cleaning 2009-01-01 16:31:53 +00:00
smf-
ca91d3bbb0 fixed void function returning a value compile error 2009-01-01 16:11:54 +00:00
Angelo Salese
bf33ccf507 Added X Se Dae Quiz to the raiden2.c,obviously not working like the rest [David Haywood]
New games marked as GAME_NOT_WORKING
------------------------------------
X Se Dae Quiz [David Haywood]
2009-01-01 15:55:46 +00:00
Aaron Giles
5938ef61cd 02790: Mame will crash on single monitor system if set to numscreens 2 in the *.ini. 2009-01-01 01:22:44 +00:00
Roberto Fresca
6645a29484 Decripted Cherry Bonus III (version 1.40 encrypted), added proper work to promote to working status.
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Cherry Bonus III (version 1.40, encrypted) [Andreas Naive, Roberto Fresca]
2008-12-31 18:54:32 +00:00
Roberto Fresca
0a85553367 From David Haywood...
Skeleton driver for Lucky Girl (1991, Wing Co.Ltd.)
2008-12-31 18:48:06 +00:00
smf-
c419b63019 another bldyror2 flash1 redump from guru 2008-12-31 18:23:13 +00:00
Aaron Giles
55afb292df Some minor MCS-48 cleanup. Added 8040/8050 variants. 2008-12-31 16:30:09 +00:00
Angelo Salese
6f2a490788 quick bug-fix for the janoha adding 2008-12-31 13:46:06 +00:00
Phil Bennett
2b9dc5ee31 Fix 02791: cafetime: Access Violation with -debug 2008-12-31 12:33:58 +00:00
smf-
e91a6c28f3 redumped bldyror2 flash1 2008-12-31 08:03:17 +00:00
Brian Troha
5c28238d2a removes some old incorrect statements (about roms not dumped) and tries to better document the "upgrading" or "recycling" of the Dragon Blaze PCBs. 2008-12-31 05:02:57 +00:00
Aaron Giles
379e2e1fdc PTR -> FCT naming for a few remaining items in CPU cores. [Duke, Aaron Giles] 2008-12-31 03:08:34 +00:00
Aaron Giles
88f4221231 From Kevin Eshbach:
atarisy1.c:
 * Support for new Atari System 1 TTL Motherboard dump (Previously MAME would crash when using it and now it just seems to hang.)
 * PROMs dumped from Atari System 1 TTL Motherboard (One PLA needs dumping though.)
 * Added notes on the Atari System 1 Motherboard and some of its supported games

balsente.c:
 * Placeholders in the Bally Sente driver for the various PALs that need to be dumped
 * Added notes on some of the type of Bally Sente cartridges

galaga.c:
 * Placeholders in the Galaga driver for various PALs that need to be dumped
 * Added notes on the two different Atari Dig Dug board revisions

galaxian.c:
 * Added notes to the Galaxian driver on the single board Galaxian bootleg and the board labels for Lost Tomb and Turtles

ms32.c:
 * Placeholder in the Jaleco MegaSystem 32 driver for the PAL on the motherboard

namcofl.c:
 * Placeholder in the Namco FL driver for the PALs on Speed Racer

popeye.c:
 * Corrected the rom names for Popeye
 * Added save state support to Popeye
 * Added the dip location to the encrypted Popeye and fixed the coin settings according to the manual (unencrypted Popeye not changed)

rocnrope.c:
 * Placeholder in the Roc 'n Rope driver for a PAL 

tutankhm.c:
 * Added the dip locations to Tutankham

tx1.c:
 * Placeholder in the Buggy Boy Jr. for the various PALs
2008-12-31 03:02:07 +00:00
Aaron Giles
a748f24dae Added the ability for a ROMset to specify a default BIOS. Use
ROM_DEFAULT_BIOS("biosname") in the ROM definition. This can be
used to ensure a correct default BIOS for ROM versions that care.
2008-12-31 02:58:30 +00:00
Brian Troha
bd543ab54f re-adds the 2 Tetris Grand Master 2 games.
please revert if found to be inappropriate

No credit please ;-)
2008-12-31 02:40:32 +00:00
Aaron Giles
10ba2e18e9 Improved graphics and sound in Grand Prix '98 [David Haywood] 2008-12-31 02:38:01 +00:00
Aaron Giles
200345b6da 02714: 3stooges: Speech works for a while, then starts going in and out of horrible noise and static
Interim fix, waiting until 0.129 is done before trying to sort out IRQ
handling for real.
2008-12-31 02:36:09 +00:00
Aaron Giles
a08644c8ff Converted gottlieb speech driver to use polling for SP0250 DRQ line. 2008-12-31 02:26:22 +00:00
Aaron Giles
c5915ad2e5 Not working:
9-Ball Shootout Championship [David Haywood]
2008-12-31 02:23:10 +00:00
Phil Bennett
d99d6e84b9 New games marked as GAME_NOT_WORKING
------------------------------------
Landing High Japan [Ordyne, Phil Bennett]
2008-12-31 00:13:22 +00:00
Aaron Giles
951bb250e5 Added polling hooks for SP0250 DRQ line. The callback is now optional.
If not provided, then the kick timer is not used.
2008-12-30 22:02:10 +00:00
Aaron Giles
3d7b496183 REP instructions with high interleave would never complete.
Also fixed cpu.mak dependencies for i286.
2008-12-30 22:00:54 +00:00
Aaron Giles
7416f961fa Correct clocks, video parameters, merged memory maps. 2008-12-30 21:08:32 +00:00
Aaron Giles
c96bd5b910 Added new frontend option -listbrothers. This will list all "brothers"
of a given driver, meaning those drivers that come from the same source
file, along with their parent names if they are clones. If a wildcard
name is specified for the driver, then the first driver in a given
source file will trigger a list of his brothers, and any other drivers
in the same source file which match the wildcard will be flagged.
2008-12-30 20:19:04 +00:00
Aaron Giles
06970c54a7 Added two new Windows OSD options: -debugger_font and -debugger_font_size,
which control the font and size used in the debugger text Windows. These 
default to "Lucida Console" and 9pt, which is the same face as previously 
hard-coded but 1pt larger. Personally, I prefer "Consolas" 9pt, which is
one of the new "C" fonts included with Windows Vista and later (also
available for free download on older systems). Note that only fixed-width
fonts really work here, for obvious reasons.
2008-12-30 19:43:34 +00:00
Aaron Giles
e0c6f269de Made xsleena run at perfect interleave and simplified the shared RAM.
Also moved to modern banking and cleaned up memory maps a bit.
2008-12-30 17:01:42 +00:00
Aaron Giles
9d08f4fa9e 02768: mk3, mk3r20, mk3r10, mk3p40, umk3, umk3r10, umk3r11 : Roms incorrectly named as umk3 instead of mk3 + two versions of U2 SOUND ROM
(Also spacing cleanup in ppccom.h)
2008-12-30 16:41:18 +00:00
Aaron Giles
a7071bb8cb Hooked up PPC602 IBR. 2008-12-30 07:02:01 +00:00
Aaron Giles
c303794661 Hooked up DSA/ESA instructions for PowerPC 602 (as no-ops for now).
polystar gets a little farther but crashes when the sub cpu attempts
to enable interrupts.

Removed HAS_PPC* in favor of a single HAS_POWERPC, and a single
definition in cpu.mak for all PowerPC variants.
2008-12-30 06:54:17 +00:00
Aaron Giles
13fff98e5f 02773: all gamecstl.c sets: [debug] Assertion 2008-12-30 06:08:55 +00:00
Aaron Giles
e6a05fd4f6 02776: mwalk, mwalkj, mwalku: Crash when starting game
Also fixed rendering so that System 16 sprites don't attempt to
shadow VDP pixels (causes crash downstream in debug builds).
2008-12-30 05:44:23 +00:00
Aaron Giles
cd91fd3613 02781: mt_mwalk: Change title to "Michael Jackson's Moonwalker (Mega-Tech)" 2008-12-30 01:33:02 +00:00
Aaron Giles
cd76908456 02782: swa: [debug] Access Violation with -debug
If you're going to point to banks, they must be mapped. Increased all
"main" regions to 0x2000000 in order to accommodate all possible 16
banks the code might try to switch to.
2008-12-30 01:26:10 +00:00
Aaron Giles
7b93ab2d26 02783: SMS-Based megatech.c sets: [debug] Access Violation with -debug
Disassembled PCs are now forcibly aligned to the minimum opcode size
and explicitly masked.

Also normalized the CPU cores to always do while (icount > 0), in order
to remove the kludge in cpuexec.c that caused us to overeat by 1 cycle to
accommodate those cores that there looping while (icount >= 0).
2008-12-30 01:18:26 +00:00
Aaron Giles
4c95c177a8 02785: a51site4: Interger Overflow with -debug 2008-12-30 00:42:19 +00:00
Aaron Giles
528d5b6528 Merged i8x41 (UPI-41) core into MCS-48 core:
* all code now lives in mcs48.c
 * rewrote disassembler as unified MCS-48/UPI-41 disassembler
 * changed UPI-41 interfaces to match MCS-48
 * added new master read/write interfaces for external access
 * unified interface to 8243 expander chip
 * converted tnzs and decocass to the new interfaces

DECO Cassette fixes/cleanups:
 * converted tape handling to a device
 * changed tape handling to use a timer callback
 * updated to work with new UPI-41 core
 * corrected clock speeds for all chips (esp. the 8041)
 * fixed very wrong CRC implementation (how did it ever work?)
 * corrected sound IRQ rate
 * corrected video timing

Burger Time hardware fixes:
 * corrected sound IRQ rate and handling
 * removed lnc audio reset hack
 * full audio memory maps based on schematics
 * corrected video timing
2008-12-30 00:24:06 +00:00
Roberto Zandona
33e828c111 fix for bug #01092: debugger crashes when exiting during "run to cursor" 2008-12-29 23:04:28 +00:00
Luca Elia
75cbcca312 Improved bishjan.c:
Converted the tilemaps chip to an 8-bit bus width, and added 16-bit handlers using the macros in memconv.h.
Improved bishjan memory map. Implemented line scroll emulation. [Luca Elia]

New games added or promoted from NOT_WORKING status
---------------------------------------------------
Ying Hua Lian 2.0 [Luca Elia, Angelo Salese, David Haywood]
2008-12-29 21:55:34 +00:00
Angelo Salese
5af4b958a2 (Wrote a placeholder driver for the "fruit" set from the unemulated/coinmaster/ folder,anything might be wrong about it...) [David Haywood,Angelo Salese] 2008-12-29 19:49:17 +00:00
smf-
ccaaae3419 added Dancing Stage Euro Mix 2008-12-29 12:08:14 +00:00
Roberto Fresca
34ba5b8ab4 Improvements to goldstar.c driver:
- Added another set of Cherry Bonus III.
- Reworked and cleaned ncb3, cb3a, lucky8 and lucky8a inputs.
- Added the 2nd set of controls to the above games.
- Removed the OKI references from machine driver and rom load for the above games.
- Promoted ncb3 and cb3a to working status.
- Reparented sets.


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Cherry Bonus III (Version 1.40, set 1) [Roberto Fresca]
Cherry Bonus III (Version 1.40, set 2) [Roberto Fresca]
2008-12-29 06:46:07 +00:00
Jonathan Gevaryahu
08d73411f0 case and whitespace consistency fix for last commit to xtal.h 2008-12-29 05:30:10 +00:00
Brian Troha
cfcbf50afa added ".bin" to common roms... the labels are still the same as parent set... IE: "a04" vs "a04.bin" Standard practice and allows the no matching roms to "stand out" 2008-12-29 02:53:21 +00:00
Brian Troha
acc865c3ce change rom names based on PCB photo to be more accurate for the Thunder Cross II sets. 2008-12-29 02:48:25 +00:00
Angelo Salese
f974e7504d Wrote a driver for Cherry Chance,not working due of coin/hopper issues [David Haywood,Angelo Salese]
New games marked as GAME_NOT_WORKING
------------------------------------
Cherry Chance [David Haywood,Angelo Salese]
2008-12-29 00:21:53 +00:00
Roberto Fresca
c2ae270f38 Renamed the set chryigld to chrygld, and description to "Cherry Gold I".
Fixed some decryption troubles that were previously commited accidentally.
2008-12-28 23:36:28 +00:00
Couriersud
d6b84e6e83 rand_r is a POSIX libc function. 2008-12-28 22:58:39 +00:00
smf-
e819aa7556 changed divide to throw out negative numerators. 2008-12-28 22:37:26 +00:00
Jonathan Gevaryahu
aac7116ca2 add 14.118MHz xtal for TS2068 in MESS 2008-12-28 20:09:36 +00:00
Angelo Salese
fe6b72fb0f Wrote a preliminary Merit Poker driver [David Haywood,Angelo Salese]
New games marked as GAME_NOT_WORKING
------------------------------------
Merit Poker [David Haywood,Angelo Salese]
2008-12-28 18:44:19 +00:00
Angelo Salese
b20002a4d2 Added Status Black Jack to the Status Trivia driver,not working due to issues with the coin mechs [Angelo Salese,Roberto Fresca]
New games marked as GAME_NOT_WORKING
------------------------------------
Status Black Jack [Angelo Salese,Roberto Fresca]
2008-12-28 18:18:48 +00:00
Angelo Salese
d5e2af77f1 Wrote a preliminary Bingo Circus driver,not working due to missing "terminal" roms [David Haywood,Angelo Salese]
New games marked as GAME_NOT_WORKING
------------------------------------
Bingo Circus [David Haywood,Angelo Salese]
2008-12-28 16:05:09 +00:00
smf-
2d7051b826 maps all games third cpu rom to 0x0000 so that mame doesn't log unmapped reads constantly. haze spotted this. 2008-12-28 15:51:46 +00:00
smf-
091c3814d8 A write isn't allowed to start if there is one in progress and a write isn't started if the data is already correct. This allows my dream horse to boot again. Further investigation is needed. 2008-12-28 15:33:50 +00:00
smf-
d0a5273861 Implemented GTE divider using reciprocal table derived by pSXAuthor, this should allow the results to be calculated as inaccurately as the real hardware. 2008-12-28 14:56:15 +00:00
Angelo Salese
c0eb642e6a Added some other Merit clone games from SoftwareThis dumps to the merit.c driver [David Haywood]
New clones added
----------------
Trivia ? Whiz (Horizontal) (question set 3) [David Haywood]
Trivia ? Whiz (Edition 2) (question set 2) [David Haywood]
Trivia ? Whiz (Edition 3 - Horizontal) (set 2) [David Haywood]
Trivia ? Whiz (Edition 4) (question set 2) [David Haywood]
Phraze Craze (set 2) [David Haywood]
2008-12-28 14:33:44 +00:00
Roberto Zandona
9abe952f90 jongkyo: added coin counter and a note to the port 4a (probably a palette bank selector) 2008-12-28 07:59:47 +00:00
Roberto Fresca
78f56c2415 Improved colors of New Lucky 8 Lines. [David Haywood] 2008-12-28 07:25:02 +00:00
Brian Troha
6ee8964007 New Clone: Thunder Cross II (World)
New clones added
----------------
Thunder Cross II (World) [Stefan Lindberg]
2008-12-28 00:37:08 +00:00
Roberto Zandona
35c777e068 New clones added
----------------
R-Type (world, bootleg) [mameitalia]
2008-12-27 07:46:44 +00:00
Roberto Fresca
ecbc085428 Improvements to New Lucky 8 Lines.
- Proper 3x PPI 8255 connections.
- Created a new AY8910 interface due to different ports addressing.
- Hooked all the input banks (8).
- Improved DIP switches with main game and D-UP rates, keyin values, D-UP game type (reels/cards) and other options to both sets.
- Added PORT_DIPLOCATION to all DSW banks.
- Promoted both sets to working state.

The game has 2 sets of controls. Once coined, both players can switch control through their own 'BIG' key.
If the game boots with 'Coin Jam' error, press RESET to normalize. Please delete your old .nv and .cfg files before run this update.


New games added or promoted from NOT_WORKING status
---------------------------------------------------
New Lucky 8 Lines (set 1) [Roberto Fresca]
New Lucky 8 Lines (set 2) [Roberto Fresca]
2008-12-27 07:37:16 +00:00
Roberto Fresca
ca1296732b Cherry I Gold:
- Completed the missing inputs.
- Mapped 4 of the 5 DIP switches banks. (can't find the 5th)
- Worked out the conditional DIPs.
- Documented all DIP switches bank.
- Added PORT_DIPLOCATION to all switches.

Cherry Bonus III (Version 1.40):

- Worked the remaining inputs.
- Mapped and documented all 5 DIP switches banks.
- Worked out the conditional DIPs.
- Added PORT_DIPLOCATION to all switches.

The game is working, but need a workaround for the status connection. Each time the player press 'Take' to get the credits, a "call attendant" msg appear and credits must be taken pressing 'Key Out'.
2008-12-27 04:02:22 +00:00
Phil Bennett
94e5061670 Fixed ddrago3p gfx ROM loading [Creamymami]
(This overrides SVN commit 3912)
2008-12-27 03:43:31 +00:00
Angelo Salese
99c20bffe9 Merged Mahjong Shiyou to the Royal Mahjong driver,graphics are improved because of that [Angelo Salese] 2008-12-27 00:43:50 +00:00
Angelo Salese
c9ea0052cc Added preliminary sound & colors to the Mahjong Shiyou driver,game now throws a sound error. [Angelo Salese] 2008-12-26 23:27:09 +00:00
Angelo Salese
ce490dc0c8 Added a (newer?) clone of Pit Boss to the merit.c driver [David Haywood]
New clones added
----------------
Pit Boss (Set 2) [David Haywood]
2008-12-26 22:24:10 +00:00