Commit Graph

2248 Commits

Author SHA1 Message Date
Luca Elia
fb63d91e65 Driver for "Galaxi", an italian gambling game.
Roms are in current/g/galaxi.zip.

New games added or promoted from NOT_WORKING status
---------------------------------------------------
Galaxi [Luca Elia]
2008-07-30 17:17:29 +00:00
R. Belmont
a6991f7085 Fix audio in F3 games after recent region changes. 2008-07-30 17:06:47 +00:00
Roberto Fresca
db1052137d New clones added
----------------
Pool 10 (italian, set 3) [Roberto Fresca]
2008-07-30 17:03:25 +00:00
Aaron Giles
975eccb12c Simplified shift/rotate instruction implementations.
The ROL/ROR/SHL/SHR opcodes provide the carry flags typically generated by
almost all CPUs. The RORC/ROLC opcdes map directly to the rotate through 
carry of most CPUs as well.
2008-07-30 14:49:40 +00:00
stephh
9e81e14705 Replaced "cpu1" and "cpu2" instances by "main" and "slave". 2008-07-30 14:32:25 +00:00
Aaron Giles
2a503b0899 Fixed overaggressive search & replace. That will teach me to try out
a new editor. :)
2008-07-30 14:13:11 +00:00
Aaron Giles
7d732d1f06 Remaining obvious regressions from region change. 2008-07-30 13:30:02 +00:00
Aaron Giles
03c86e0aa7 Fixed several regressions due to the region changes. 2008-07-30 05:21:01 +00:00
Aaron Giles
53491603bb Added region and regionbytes fields to the deviceconfig, which are
auto-filled by the device manager before starting the device. This
simplifies the auto-binding process for devices.

Added new selector for device-specific ROM regions. Not yet wired
up in the ROM loader.
2008-07-30 02:57:19 +00:00
Aaron Giles
3b3cd0ffb2 Removed ancient /* audio CPU */ comments that were remnants
from when we removed the CPU_AUDIO_CPU flag. Now that all the
CPU are tagged, it is quite clear which CPU is audio-related.
2008-07-30 02:35:56 +00:00
davidhay
fa5592836c preliminary work on key file format 2008-07-29 23:14:34 +00:00
davidhay
35ac4bed2d Naomi updates [Samuele Zannoli]
1) refactors many global and static variables in video\dc.c into a
structure to hold the tile accelerator state
2) textures should be better decoded with more pixel formats
3) adds placeholders for some register probably used by the dimm board
4) corrects a little error in a rom board register (very important, now at
least the gdrom games try to start)
2008-07-29 22:14:41 +00:00
Wilbert Pol
c67737a40c i8051 cpu core timer updates:
- Added support for timer mode 0 (13 bit timer)
- Cleaned up timer code a bit, fixing some off-by-one errors when timers overflow.
2008-07-29 18:29:01 +00:00
Aaron Giles
3052db3fa9 From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Sent: Sunday, July 27, 2008 2:46 PM 
To: submit@mamedev.org 
Subject: misc patches 

Hi, 

enclosed please find a few more patches based on 126u2. It's just a few 
minor bugfixes because I'm quite busy and I still have to test the other 
changes to tagged inputs (I will send them in the next few days) 

In misc2.zip you'll find a few corrections to my previous patches and a 
few new bugfixes: 

* cachat.diff: It fixes bug 2046. This is a bug I introduced misreading 
the default value of the flip dip when updating taito_l.c to use 
taitoipt.h definitions. My bad, sorry. 

* witch.diff: It fixes another small 'mistake' I introduced when tagging 
the ports in witch.c. I searched and replaced a few too many 'port' 
occurrences, making some comments unreadable. Again, sorry for the 
inconvenience. 

* btime.diff: It's an updated version of my previous patch, following 
your suggestions. 'Off' comes always first now and manual settings which 
do not work on the emulated game are commented out 

* skyfox.diff: It fixes bug 2050. Being at it, I also added dip 
locations to the driver and updated memory maps to use AM_READ_PORT 

* combatsc.diff: It fixes bug 456, solving both the regression which 
made disappear all sprites (they were covered by the non-transparent 
text layer since 118u1) and the corruption of the graphics in title 
screen (due to the wrong drawing order). Mind that bug 400 (scrolling 
problems present since 0.79) is not fixed yet, unfortunately. 

Regards, 

Fabio
2008-07-29 17:13:56 +00:00
Aaron Giles
e70d4b0a85 (Modified to allow for overwrites of RAM ranges only.)
From: Atari Ace [mailto:atari_ace@verizon.net] 
Subject: [patch] Stricter ADDRESS_MAP checks

Hi mamedev,

The current implementation of address maps is lacking some useful
checks of the initial tokens.  In particular, it doesn't validate that
a particular entry doesn't try to define the same handler multiple
times.

The attached patch adds this and some other validations as fatalerrors
in address_map_detokenize, and fixes the affected maps.  The errors
generally fall into the following categories.

1.  AM_RAM AM_WRITE(...).  Should have been AM_RAM_WRITE(...)
2.  AM_RAM AM_READWRITE(...).  The AM_RAM is a NOP.
3.  AM_RAM AM_RAMBANK(...).  The AM_RAM is a NOP.
4.  AM_ROM AM_ROMBANK(...).  The AM_ROM is a NOP.
5.  AM_ROM AM_READ(...).  The AM_ROM is a NOP.

One peculiar error was in equites.c, where there were two AM_BASE
entries.

~aa
2008-07-29 17:08:43 +00:00
Aaron Giles
212c069fd9 Fixed CPS1 audio CPU names to prevent crash. 2008-07-29 15:21:58 +00:00
Aaron Giles
27061ca599 Moved region post-processing back to the end. Fixes endian issue on
second SH2 for ST-V games.

Fixed buffer overrun in latest SCSP code. Not sure how that ever
worked.

colmns97 still asserts in SCSPDSP, but this happened before the
region change.
2008-07-29 15:12:09 +00:00
Aaron Giles
25e1504511 Oops, should have been using SETc versus GETFLGS in this case. 2008-07-29 05:52:05 +00:00
Aaron Giles
5333fe1fb3 Fixed taito_l crashes. 2008-07-29 05:18:20 +00:00
Aaron Giles
962daf6607 Implemented ADDV/SUBV with flags. Kept C versions behind a compile-time define
for comparison.
2008-07-29 05:16:02 +00:00
Aaron Giles
d9c66068e8 Changed space character for memory regions from re'g'ion to 'm'emory_region. 2008-07-29 04:53:20 +00:00
Aaron Giles
a7ae6a548f Fixed comment. 2008-07-29 01:45:34 +00:00
Aaron Giles
a22ab0d669 Fix for 02043: All games in cps2.c: All Parent Sets for CPS2 Games Abort
(Thanks to Firewave)
2008-07-29 01:39:22 +00:00
R. Belmont
76d5ed12a3 SH2DRC: add SUBV, replace ADDV with C version as a precaution. (Fixes most of Mantis #2026, except the part which is a separate bug). 2008-07-28 23:12:47 +00:00
davidhay
6d998d26ed change unmapped read for mspacman to see if it changes tunnel behavior (as suggested by dwidel) 2008-07-28 22:05:50 +00:00
davidhay
bd04b28cfd adds recent guru dumps to aleck64.c, not working. 2008-07-28 21:56:28 +00:00
Roberto Fresca
d67a7c8c74 Changes to lucky74.c driver:
- Pre-defined CPU and SND clocks.
 - Switched the color system to RESNET calculations.
 - Completed the remaining DIP switches.
 - Added lamps support. Created a layout to show them.
 - Changes on the interrupt system (need to be verified on the PCB).
 - Renamed the graphics regions to more descriptive names.
 - Corrected the manufacturer's name.
 - Splitted the driver to driver + video.
 - Updated technical notes.
2008-07-28 18:34:06 +00:00
Aaron Giles
4a6fc8d5e5 Region classes go bye-bye. 2008-07-28 16:22:20 +00:00
Aaron Giles
86022ddde4 Removed all instances of regions with different class but equal names. 2008-07-28 15:09:12 +00:00
R. Belmont
6211400d23 Slowness is portable. 2008-07-28 14:36:06 +00:00
smf-
765d90880d fixed inline of DecodeADPCM under visual studio. 2008-07-28 14:10:11 +00:00
smf-
7cecc0bb3c added cast so direct input 8 code will build on mingw. 2008-07-28 13:20:04 +00:00
Aaron Giles
27fed1ec97 Changed the way memory regions are referenced. Instead of a single
integer value, regions are now referred to by a region class and
a region tag. The class specifies the type of region (one of CPU,
gfx, sound, user, disk, prom, pld) while the tag uniquely specifies
the region. This change required updating all the ROM region
definitions in the project to specify the class/tag instead of
region number.

Updated the core memory_region_* functions to accept a class/tag
pair. Added new memory_region_next() function to allow for iteration
over all memory regions of a given class. Added new function
memory_region_class_name() to return the name for a given CPU
memory region class.

Changed the auto-binding behavior of CPU regions. Previously, the
first CPU would auto-bind to REGION_CPU1 (that is, any ROM references
would automatically assume that they lived in the corresponding
region). Now, each CPU automatically binds to the RGNCLASS_CPU region
with the same tag as the CPU itself. This behavior required ensuring
that all previous REGION_CPU* regions were changed to RGNCLASS_CPU
with the same tag as the CPU.

Introduced a new auto-binding mechanism for sound cores. This works
similarly to the CPU binding. Each sound core that requires a memory
region now auto-binds to the RGNCLASS_SOUND with the same tag as the
sound core. In almost all cases, this allowed for the removal of the
explicit region item in the sound configuration, which in turn 
allowed for many sound configurations to removed altogether.

Updated the expression engine's memory reference behavior. A recent
update expanded the scope of memory references to allow for referencing
data in non-active CPU spaces, in memory regions, and in EEPROMs.
However, this previous update required an index, which is no longer
appropriate for regions and will become increasingly less appropriate
for CPUs over time. Instead, a new syntax is supported, of the form:
"[tag.][space]size@addr", where 'tag' is an optional tag for the CPU
or memory region you wish to access, followed by a period as a 
separator; 'space' is the memory address space or region class you
wish to access (p/d/i for program/data/I/O spaces; o for opcode space;
r for direct RAM; c/u/g/s for CPU/user/gfx/sound regions; e for 
EEPROMs); and 'size' is the usual b/w/d/q for byte/word/dword/qword.

Cleaned up ROM definition flags and removed some ugly hacks that had
existed previously. Expanded to support up to 256 BIOSes. Updated
ROM_COPY to support specifying class/tag for the source region.

Updated the address map AM_REGION macro to support specifying a
class/tag for the region.

Updated debugger windows to display the CPU and region tags where
appropriate.

Updated -listxml to output region class and tag for each ROM entry.
2008-07-28 09:35:36 +00:00
R. Belmont
1b81188229 SH2DRC: Add PC-relative load optimization and ability to disable if necessary [R. Belmont, based on an idea by Mariusz Wojcieszek] 2008-07-28 05:57:29 +00:00
R. Belmont
67faaeb473 AICA updates [Deunan Knute, ajax16384, R. Belmont]
- Fixed ADPCM decoder to remove bad optimization and match YMZ280B.  DC offset is fixed and output quality is higher
- Improved handling of slot monitor and timers B and C
- Simplified interpolation code
2008-07-28 05:46:29 +00:00
Andrew Gardner
867d51a2bc Memory map merge for beezer.c, bishi.c, and bladestl.c 2008-07-28 04:48:41 +00:00
Andrew Gardner
6e13a53ff7 DSP56156 CPU Core updates.
- Rewrote core logic, communications, and interfaces.
- Added three parallel memory moves to the disassembler.
- Initial interrupt logic in place.

Plygonet.c updates.
- All communication hacks have been removed.
- Memory maps have been temporarily reverted while new DSP56k cpu core catches up.
2008-07-28 01:19:21 +00:00
Tomasz Slanina
92bcd925f0 Irem m63 - adjusted AY frequencies to proper 1.5 MHz [Stefan Lindberg] 2008-07-27 22:50:18 +00:00
Nathan Woods
251b59b069 Cleaned up MESS-specific hooks 2008-07-27 12:08:09 +00:00
smf-
0124a7cc68 Builds with latest DirectX SDK, which doesn't support Direct 3D 8 & Direct Input 7. If you want to compile in support for earlier versions then you can set DIRECT3D=8 & DIRECTINPUT=7. Based on a diff posted on the mameworld compiling board by RansAckeR, who was helped by uRebelScum. 2008-07-26 21:13:35 +00:00
Nathan Woods
a08d7977c3 Added some assertions 2008-07-26 20:49:28 +00:00
Nathan Woods
b3ee2ffd1f Added the ability to optionally pass a destructor to ui_menu_alloc_state() 2008-07-26 18:34:17 +00:00
Aaron Giles
37f422ebec Removed missing include. 2008-07-26 14:26:10 +00:00
Aaron Giles
1cc0010977 Attempted fix for 01092: debugger crashes when exiting during "run to cursor" 2008-07-26 14:24:11 +00:00
Brian Troha
d6108e5347 verified the Free Kick proms
better documented prom info/type
minor white space clean up
2008-07-25 16:00:43 +00:00
Aaron Giles
fcf08639ee A bit more cleanup, still half-WIP now that I'm distracted with votrax. 2008-07-25 15:46:39 +00:00
stephh
bf20cd444a Handles player 3 inputs for 'wofhfh'. 2008-07-25 10:11:46 +00:00
Brian Troha
70b0a76a05 adds info from the Guru about the Kiki KaiKai MCU. 2008-07-25 05:36:52 +00:00
Aaron Giles
7a14f21c15 Cleanups and version bump. 2008-07-24 09:07:49 +00:00
Aaron Giles
4900606a62 Minor gameplan changes in attempts to get leprechn music playing again.
No success yet.
2008-07-24 08:38:06 +00:00