Commit Graph

277 Commits

Author SHA1 Message Date
Aaron Giles
fe41f9bd01 Added CPUINFO_INT_CLOCK_MULTIPLIER to support CPU clock multipliers.
Updated all CPU cores to return a CPUINFO_INT_CLOCK_MULTIPLIER of 1.

Changed the core to actually respect both CPUINFO_INT_CLOCK_MULTIPLIER and CPUINFO_INT_CLOCK_DIVIDER.

Updated a number of drivers to use cpunum_get_clock() instead of Machine->drv->cpu[x].clock.

***** Raw input clock speeds should now be specified for all CPUs in the MACHINE_DRIVER. *****

Removed explicit divisors from all drivers using the following CPU types, 
which were already specifying non-1 values for CPUINFO_INT_CLOCK_DIVIDER:
 * COP4x0
 * I8039/8048 families
 * M68(7)05, HD63705
 * M6809E
 * PIC16C5X
 * TMS32010
 * TMS340x0

In a few cases, it appears that the divisor was not being used, so I guessed in those cases whether or not
the specified clock speed was raw.
2008-01-14 00:42:14 +00:00
Brian Troha
5c4577f364 Changes internal references of Pang Poms to Pang Pom's
changes P3 & P4 Start of Grand Striker 2 to itp_unknown
as there is no P3 & P4 start buttons.
This addresses gstrik20105u4gra however there are several
games that map the service key twice through out the
driver so it's not really "fixed" as far as that's
concerned
2008-01-13 23:50:58 +00:00
Brian Troha
3b032bc5df Adds dips for Water Balls
Adds dip port locations to all dips
2008-01-13 23:43:21 +00:00
davidhay
e83cdd8ce4 use the old code for punchout, it doesn't like some of the changes. given that the sprite tilemap is twice as wide on armwrest it's possible it actually should be handled differently. 2008-01-13 22:37:50 +00:00
Couriersud
6113493440 dkong.c
* added equivalence circuit for Sanyo EZV audio amplifier
* Set DK_C159 = 0 to avoid over-aggressive high-pass filter. Solely based on observations. 
* added comment on above to source
* Added define DK_NO_FILTERS to turn of DAC filters and post-mixer filters for debugging
2008-01-13 22:05:46 +00:00
davidhay
066fa9c096 clock speed needs to be 28 or the games run in slow motion.. (yes I checked the vblank) I suspect the 156 chip has an internal multiplier, the usual input pin is 7Mhz IIRC. 2008-01-13 17:55:14 +00:00
davidhay
9596eea3ba fix for armwrest35b9yel
"armwrest: Subsequent bonus rounds (After rounds 5 and 9) are unplayable because of missing money bag sprite."

the other part of the bug report is out of date, the screenshot doesn't match MAME's current behavior.  The finger still appears cut off, but this is intentional.  I suspect the bag placement is still slightly incorrect and that it's meant to look like the finger is hidden inside the bag material.

I think further improvements would require studying the actual board / schematics to improve the zoom emulation.
2008-01-13 17:02:47 +00:00
Aaron Giles
d19c25329a (from Robbert)
Fix for pleiads0111u4gre
2008-01-13 17:00:03 +00:00
R. Belmont
34abe94416 Removed unnecessary check that could cause hangs in grdforce (kingshriek) 2008-01-13 16:08:11 +00:00
Luca Elia
8e319c4ed5 Removed double declaration of hanaawas 2008-01-13 14:39:47 +00:00
Luca Elia
7686ec1344 New game (NOT_WORKING):
- International Toote

roms in current/i/inttoote.zip (contains manual and PCB pictures)
2008-01-13 14:32:27 +00:00
Couriersud
31b8c14a71 i8039.c:
* hooked up EA line for M58715
mario.c:
* fixed portA startup value
* documented hardware changes to use a I8039 on a mario board
2008-01-13 13:34:34 +00:00
Zsolt Vasvari
a6f41e8ebd Removed debug code ... darn it 2008-01-13 13:20:09 +00:00
Zsolt Vasvari
4ba28b919d - Finished seperating out the Exidy sound stuff
- Targ now uses loaded PROM instead of hardcoded one
- Renamed Side Trak to Side Track as per the title screen
- Removed audio/berzerk.c from make file
- Fixed collision detection but I introduced in video/exidy.c
2008-01-13 13:02:09 +00:00
Tomasz Slanina
89f4f42e51 - removed tilemap, a bit more low level video hw emulation (with crt6845)
- fake colors
2008-01-13 12:45:16 +00:00
Zsolt Vasvari
679ddd69b8 Reorganizing the exidy audio hardware code. Only checking in because of the missing file victory.h 2008-01-13 09:54:58 +00:00
Aaron Giles
41c8fd0d37 Hooked up revx dcs reset line.
Signaled IRQ on correct CPU when DCS sends data back (duh)
Fixes dcs057ora (all other games have been subsequently fixed)
2008-01-13 07:17:46 +00:00
Zsolt Vasvari
120a6070e8 Fixes victory137b4gre and victory37b16gre
src/mame/audio/berzerk.c
    - Added sh_reset

src/mame/audio/exidy.c
src/mame/includes/exidy.h
    - Added reset functionality
    - Moved Victory hardware routines here

src/mame/drivers/victory.c
    - Some clean-up, mirrored memory map for audio CPU

src/mame/video/victory.c
    - Simplified code by removing complicated
      dirty tracking.  Now VIDEO_UPDATE is
      called on every frame, further simplifing
      code

src/mame/drivers/exidy.c
    - Mirrored memory map for audio CPU
    - Added sh_reset

src/emu/machine/6821pia.c
src/emu/machine/6821pia.h
    - Added orthogonal accessors
    - Removed hacky update_shared_irq_handler(), now the same
      IRQ callback maybe called multiple times, but this shouldn't 
      be a problem
    - IRQ lines are cleared on a reset

src/emu/sound/tms5220.c
    - Disabled code that set the Buffer Empty flag after a stop
      frame.  This fixes Victory.  This might be the incorrect fix
      but the old code wasn't working either.
2008-01-13 06:14:20 +00:00
Aaron Giles
f44732e5af Added XTAL clocks to zaxxon.c.
Cleaned up jaguar driver:
 * proper video timing, configured by the chipset
 * 32-bit rendering, removing 16bpp hacks
 * support for borders
 * proper object processor timing, including multiple passes per line
 * added R3041 as a clone of the R3000
 * fixed XTALs based on documentation
2008-01-13 01:15:32 +00:00
Couriersud
cb740fd78b sauro.c:
* revert promsize to 256 for trckydoc
2008-01-12 23:17:50 +00:00
Couriersud
190e262fb3 i8039.c/mario.c:
* fixed movd instructions
* add MB8884 and M58715 cpu types
* moved timer hack to M58715
* added ram_mask for internal ram access
* added R.A11 as 'M' to dasm flags
* added EA "IO" port
* mario now uses M58715 as sound cpu
2008-01-12 22:10:02 +00:00
Aaron Giles
1d181fd887 Fix astinvad0106u11gre 2008-01-12 21:42:34 +00:00
Aaron Giles
864e14b28d Cleaned up astinvad driver:
* Proper video timing
 * Hooked up 8255 PPIs
 * Correct interrupt timing
 * Consolidated code into single file
2008-01-12 21:36:25 +00:00
Zsolt Vasvari
3e6ab87dba Added VIDEO_ALWAYS_UPDATED for reliable collision detection 2008-01-12 07:34:59 +00:00
Zsolt Vasvari
27d6347baf Some more modernization/clean-up 2008-01-12 07:34:09 +00:00
R. Belmont
292b44af10 And no logging :) 2008-01-12 06:04:20 +00:00
R. Belmont
61714cd5a7 64-bit GCC fixes 2008-01-12 06:03:09 +00:00
Zsolt Vasvari
08de08ce3e Typo... of course, the one time I don't review the .diff before sending 2008-01-12 05:17:49 +00:00
Zsolt Vasvari
9a17a5ba02 Better fix for cuebrckj0102u5gre. At least it is plausible that this is the way the real hardware works. 2008-01-12 05:04:09 +00:00
Zsolt Vasvari
d6166834f2 Fixes cuebrckj0102u5gre using a horrible hack. konamiic.c calls the tilemap callback for reading the ROM!?!? This is detected by reading the current PC and the proper value is returned. 2008-01-12 04:38:47 +00:00
Nathan Woods
c590cd8a56 Fixed MESS compilation error 2008-01-12 04:08:45 +00:00
Aaron Giles
a62870621a It's the end of uitext.c as we know it (and I feel fine) 2008-01-12 03:32:30 +00:00
Zsolt Vasvari
df214d9c6c Lowerd FPS to avoid corrupting Chameleon's high score tabls 2008-01-12 02:07:47 +00:00
Tomasz Slanina
8c53445b6e Swinging Singles cleanup:
- hooked up crt6845
- converted to tilemaps
- simplified protection(?) emulation
2008-01-12 00:39:57 +00:00
Brian Troha
b7e3cf357c pangpoms098u3ora
Not worth the $5 but it's removed from the list as
reported by Twisty... should make him happy

Free "Unban" cards for everyone ;-p
2008-01-11 22:23:38 +00:00
Aaron Giles
4b7dae7fc4 Bumped version for 0.122u5. 2008-01-11 15:24:05 +00:00
Aaron Giles
73d0923d7f Cleanups for 0.122u5. 2008-01-11 15:22:56 +00:00
Aaron Giles
8e79f0b4f0 Fix compilation error. 2008-01-11 15:20:58 +00:00
Aaron Giles
fa09519f26 (From Emuman)
Testing his fix for the full screen switch bug, which apparently works, but I am still baffled as to why.
2008-01-11 15:14:31 +00:00
Aaron Giles
be9842eae5 Undid accidental checkin of experimental improvements.
Added line numbers to the output.
Added link to the raw file if the source and dest directories are the same.
2008-01-11 15:11:01 +00:00
Zsolt Vasvari
bd3c20f4c8 Fixes junglek055gre 2008-01-11 13:32:06 +00:00
Zsolt Vasvari
3bc90058e9 Complete memory map from Nicola's ancient notes.
General code clean-up
2008-01-11 11:30:28 +00:00
Aaron Giles
f8f4dad549 (From Chad)
Allows 64 bit mame compiles to read 32 bit inps, and also make 64 
bit mame compiles make 32 bit compatible inps.
2008-01-11 06:38:33 +00:00
Aaron Giles
0d47d37458 (From Corrado Tomaselli)
diff + romset for Geebee (F.lli Bertolino license)
The dump comes from an original board marked Namco on the component 
side, and F.lli Bertonlino on the solder side.
pics of the pcb: http://www.citylan.it/lista.php?id=629

F.lli Bertolino was the importer of Atari and Namco games in Italy in 
end 70s early 80s
2008-01-11 06:34:44 +00:00
Aaron Giles
4f205d64be (From Atari Ace)
Fix memleak0122u2ora
2008-01-11 06:33:08 +00:00
Aaron Giles
fd5b288fd3 (From Dave Dribin)
Here's a patch that fixes compile errors when compiling a C++ source file including "render.h"
and "palette.h".  C++ (at least g++) does not like typedef's for an enum coming before the actual enum.
2008-01-11 06:32:16 +00:00
Aaron Giles
c96a3b766a (From AtariAce)
While investigating alternate gfx layout schemes, I stumbled across
the fact that some drivers are allocating graphics with one layout and
then decoding them with another (!).  There's no guarantee this will
work, but for the drivers that do so (all Konami games), the layouts
are similar enough that it does.  A related potential bug is that many
drivers are decoding using the layout provided to allocgfx, not the
layout attached the element returned from allocgfx.  If the element
had scaling applied to it, this would be incorrect, but since scaling
is rare these are also benign.  It would also be a problem if the
layout data had a different internal representation (which is
something I'm experimenting with), so to reduce the possibility of
coding errors and allow for future changes, I'd like to remove the
layout parameter from decodechar.

So here's two patches, the first fixes the affected Konami drivers to
allocate and decode using the same layouts.  It changes the notion of
plane_order and bpp in the functions somewhat to let the start
routines select the appropriate layout, but acceptably so IMHO (I can
clean this up further if there are loud objections).  The second patch
then removes the layout parameter from all the decodechar() calls.

I also reviewed MESS to see if it had similar problems and didn't find
any.
2008-01-11 06:31:19 +00:00
Zsolt Vasvari
d0c7416adf Unified memory maps
Reversed ROM set names of Cuebrick World and Japan versions
Changed some function names to reflect parent set
cuebrckj0102u5gre doesn't happen (I didn't fix it)
2008-01-11 00:17:47 +00:00
davidhay
47cf2c7874 log:
- added MESS PC-Engine emulatation
- added Blazing Lazers (working)
- added Paranoia (non-working due to lack of jamma interface 
emulation)
- fixed MAME debug build under VC2003

Please co-credit Charles MacDonald & Mr. Do for Blazing Lazers.

Note to Nathan: video/vdc.* re taken as-is from MESS, for the 
machine stuff I extracted common code (to be shared by MAME and 
MESS) and created machine/pcecommn.*
2008-01-10 22:34:51 +00:00
Brian Troha
d194ca43eb Adds version 1.2 of "The Grid" to the midzeus.c driver
Simple clone addition & minor commentes added to the
Invasion - The Abductors.
2008-01-10 21:58:00 +00:00