summaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAgeFilesLines
* Cleanups/version bump.mame0126u3 Aaron Giles2008-07-3134-531/+531
|
* (From Atari Ace. Note that I only took the first patch, which applied Aaron Giles2008-07-3119-43/+54
| | | | | | | | | | | | | | | | | | | | | | | | | to whole functions. The other one I'm not so sure about. Commented code is usually hilighted differently, making it very easy to spot.) Hi mamedev, This set of patches has one aim only, to identify chunks of code that have been disabled by the use of C/C++ comments, and to disable them instead by using the preprocessor. The C comment approach to disabling code isn't safe (embedded comments will trip it up), and the C++ comment approach isn't elegant (you shouldn't need to touch every line to disable a chunk of code). Using #if...#endif is preferable always, excepting perhaps if (0) { ... }. The patch has three parts. The first only handles cases where full functions were disabled. The second handles cases where parts of functions were disabled. The third then tries to restore the whitespace that the use of comments converted from tabs to spaces via srcclean.exe. It also cleans up the whitespace in a handful of the files in areas outside of the original two patches. ~aa
* From: Oliver Stoeneberg [mailto:oliverst@online.de] Aaron Giles2008-07-3110-23/+29
| | | | | | | | | | | | | | | | | Subject: a few cleanups This patch contains: - removal of unprintable chars (newlines) in SH-2 disassembler (I submitted this in the past nd it wasn't included) - a few unnecessary checks after malloc_ort_die() calls - changes two romload.c warnings to use GAMENOUN instead - adds "deprecat.h" in a few src/mame/drivers files (would be necessary, if the debugger.h one would be removed) - cleans up the mame.mak by adding all missing defines and grouping them based on cpu.mak - renamed video_exit() to winvideo_exit() for consistency in function names
* Added new options 'cheatpath' to specify one or more paths for cheat Aaron Giles2008-07-3110-13185/+787
| | | | | | | | | | | | | | files. Removed old option 'cheat_file'. Updated xmlfile.c to specify the line number for each node, for more accurate error reporting. Removed old cheat.c/.h and replaced them with code that will read and write the new XML-based cheat format using the new cheatpath option (cheats still need to be enabled in order to load at all). Note that the cheats are not implemented yet, but they are fully parsed. To test saving, whenever a cheat file is successfully loaded, it is immediately written back out as 'output.xml' to the cheat directory for validation.
* New game marked as NOT WORKING: Bust a Move 2 (JAPANESE ROM ver. 1999/07/17 ↵ R. Belmont2008-07-312-0/+163
| | | | | | | 10:00:00) Game is NOT WORKING because it uses an H8/3644 MCU plus an IDE HDD to emulate the home PS1 version's redbook audio tracks. Cross your fingers for decapping.
* Fixed 64-bit GCC compile. R. Belmont2008-07-311-1/+1
|
* Enable strict PC relative loads for ST-V games; at least Cotton Boomerang ↵ R. Belmont2008-07-311-2/+3
| | | | needs them.
* New Clone: Killer Instinct 2 (v1.3k, upgrade kit) Brian Troha2008-07-311-9/+29
| | | | | | | | | | actual driver mod Not working like v1.4k, upgrade kit New clones added ---------------- Killer Instinct 2 (v1.3k, upgrade kit) [Brian Troha]
* New Clone: Killer Instinct 2 (v1.3k, upgrade kit) Brian Troha2008-07-311-1/+2
| | | | | | | Not working like v1.4k, upgrade kit New clones added ---------------- Killer Instinct 2 (v1.3k, upgrade kit) [Brian Troha]
* Changed symbol table reference parameters to void * from UINT32. Aaron Giles2008-07-315-88/+97
|
* Fixed menu handling so it doesn't swallow the tab key. Aaron Giles2008-07-301-1/+1
|
* Driver for "Galaxi", an italian gambling game. Luca Elia2008-07-304-0/+339
| | | | | | | | Roms are in current/g/galaxi.zip. New games added or promoted from NOT_WORKING status --------------------------------------------------- Galaxi [Luca Elia]
* Fix audio in F3 games after recent region changes. R. Belmont2008-07-301-1/+1
|
* New clones added Roberto Fresca2008-07-303-3/+31
| | | | | | ---------------- Pool 10 (italian, set 3) [Roberto Fresca]
* Simplified shift/rotate instruction implementations. Aaron Giles2008-07-301-53/+18
| | | | | | 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.
* Replaced "cpu1" and "cpu2" instances by "main" and "slave". stephh2008-07-301-63/+60
|
* Fixed overaggressive search & replace. That will teach me to try out Aaron Giles2008-07-301-4/+4
| | | | a new editor. :)
* Remaining obvious regressions from region change. Aaron Giles2008-07-309-87/+91
|
* Fixed several regressions due to the region changes. Aaron Giles2008-07-3014-94/+95
|
* Added region and regionbytes fields to the deviceconfig, which are Aaron Giles2008-07-303-19/+30
| | | | | | | | 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.
* Removed ancient /* audio CPU */ comments that were remnants Aaron Giles2008-07-3053-81/+14
| | | | | 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.
* preliminary work on key file format davidhay2008-07-291-2/+83
|
* Naomi updates [Samuele Zannoli] davidhay2008-07-293-223/+482
| | | | | | | | | | 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)
* i8051 cpu core timer updates: Wilbert Pol2008-07-291-141/+153
| | | | | - Added support for timer mode 0 (13 bit timer) - Cleaned up timer code a bit, fixing some off-by-one errors when timers overflow.
* From: Fabio Priuli [mailto:doge.fabio@gmail.com] Aaron Giles2008-07-295-280/+305
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* (Modified to allow for overwrites of RAM ranges only.) Aaron Giles2008-07-2929-106/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fixed CPS1 audio CPU names to prevent crash. Aaron Giles2008-07-291-137/+135
|
* Moved region post-processing back to the end. Fixes endian issue on Aaron Giles2008-07-293-5/+9
| | | | | | | | | | 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.
* Oops, should have been using SETc versus GETFLGS in this case. Aaron Giles2008-07-291-4/+4
|
* Fixed taito_l crashes. Aaron Giles2008-07-291-2/+2
|
* Implemented ADDV/SUBV with flags. Kept C versions behind a compile-time define Aaron Giles2008-07-291-22/+23
| | | | for comparison.
* Changed space character for memory regions from re'g'ion to 'm'emory_region. Aaron Giles2008-07-291-1/+1
|
* Fixed comment. Aaron Giles2008-07-291-1/+1
|
* Fix for 02043: All games in cps2.c: All Parent Sets for CPS2 Games Abort Aaron Giles2008-07-291-1/+1
| | | | (Thanks to Firewave)
* SH2DRC: add SUBV, replace ADDV with C version as a precaution. (Fixes most ↵ R. Belmont2008-07-281-7/+95
| | | | of Mantis #2026, except the part which is a separate bug).
* change unmapped read for mspacman to see if it changes tunnel behavior (as ↵ davidhay2008-07-281-1/+4
| | | | suggested by dwidel)
* adds recent guru dumps to aleck64.c, not working. davidhay2008-07-282-0/+59
|
* Changes to lucky74.c driver: Roberto Fresca2008-07-285-254/+673
| | | | | | | | | | | | | - 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.
* Region classes go bye-bye. Aaron Giles2008-07-281319-38436/+38305
|
* Removed all instances of regions with different class but equal names. Aaron Giles2008-07-289-55/+53
|
* Slowness is portable. R. Belmont2008-07-281-1/+1
|
* fixed inline of DecodeADPCM under visual studio. smf-2008-07-281-1/+1
|
* added cast so direct input 8 code will build on mingw. smf-2008-07-281-2/+1
|
* Changed the way memory regions are referenced. Instead of a single Aaron Giles2008-07-281456-43977/+43377
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* SH2DRC: Add PC-relative load optimization and ability to disable if ↵ R. Belmont2008-07-282-8/+27
| | | | necessary [R. Belmont, based on an idea by Mariusz Wojcieszek]
* AICA updates [Deunan Knute, ajax16384, R. Belmont] R. Belmont2008-07-281-46/+20
| | | | | | | - 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
* Memory map merge for beezer.c, bishi.c, and bladestl.c Andrew Gardner2008-07-283-92/+51
|
* DSP56156 CPU Core updates. Andrew Gardner2008-07-289-1504/+2536
| | | | | | | | | - 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.
* Irem m63 - adjusted AY frequencies to proper 1.5 MHz [Stefan Lindberg] Tomasz Slanina2008-07-271-7/+7
|
* Cleaned up MESS-specific hooks Nathan Woods2008-07-275-16/+10
|