Commit Graph

1985 Commits

Author SHA1 Message Date
R. Belmont
9ba06ea183 Fix input port read during init on most (Super) System 22 games. 2008-06-26 23:06:28 +00:00
Couriersud
08308f1f36 01935: All output commands (-listxml, -cc, -listfull, ETC) crash with error 2008-06-26 21:32:50 +00:00
davidhay
a06d9573fd new clone: Mahjong Electron Base (parts 2 & 4, Japan, BOOTLEG) from XingXing
New Clones
----------

Mahjong Electron Base (parts 2 & 4, Japan, BOOTLEG) [XingXing]
2008-06-26 20:26:48 +00:00
Aaron Giles
1e7bfa9b94 Update docs a bit. Turn off debugger by default. 2008-06-26 16:51:19 +00:00
R. Belmont
077cd49d2e GCC 64-bit compile fix 2008-06-26 16:33:51 +00:00
Aaron Giles
3d1376ed97 Cleanups/version bump. 2008-06-26 16:05:46 +00:00
Aaron Giles
a31c92792b Updated readme. 2008-06-26 15:35:39 +00:00
Aaron Giles
652fc279ae From: Oliver Stoeneberg [mailto:oliverst@online.de]
Subject: another Machine -> machine cleanup
This cleans up most of the Machine stuff in src/emu/machine. There is
a bit left to clean up, but it's mostly stuck at some interfaces now.
2008-06-26 15:34:42 +00:00
Aaron Giles
ba2fb8554b From: Atari Ace [mailto:atari_ace@verizon.net]
Subject: [patch] make MSVC_BUILD=1 -j<n> build fix

Hi mamedev,

The following build tweak fixes make MSVC_BUILD=1 -j2.  It also fixes
an oversight in the cross-build support.

~aa
2008-06-26 15:27:12 +00:00
Aaron Giles
661cf76098 From: abcd efgh [mailto:cix_999@yahoo.it]
Subject: ddragon3 clean

Finish the work on ddragon3:
- Mapped the correct dip "SW1-8" before was incorrect
- Added "FBI Logo" dips in ctribe
- Fixed the dips condition's implementation to avoid the mame crash in ctribe
- Change the name of  (Italian bootleg) in a better (bootleg Set 2)

In gotcha :
- Set OKI's pin 7 to high

Bye Sonikos
2008-06-26 15:25:58 +00:00
Aaron Giles
ea3780417a From: Atari Ace [mailto:atari_ace@verizon.net]
Subject: [patch] Fix minor CPU/SOUND core build issues

Hi mamedev,

This small patch fixes a few build problems with the cpu/sound cores
M65CE02, ALPHA8201, TMC0285, TMS5200 and corrects the dependencies for
the mips core.

~aa
2008-06-26 15:24:55 +00:00
Aaron Giles
07023d6787 From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Subject: two more (last ones for a couple of weeks)
Hi, attached please find 

* r_patch.diff which removes indexed read from drivers starting with r (and slightly simplify inputs in royalmah.c)

* nbmj.diff which unifies nichibustu mahjong input ports (using common ports in nbmj9195.c as well as in the other drivers), removes indexed read and exploit tags to reduce complexity in a couple of handlers

Tomorrow I'll leave for a work trip, so no more patches from me for some time. 

Regards,
    Fabio Priuli
2008-06-26 15:24:06 +00:00
Aaron Giles
79292cf7b0 From: John Gilbert [mailto:jggilbert@hotmail.com]
Subject: fix for missing sha1 sums.

This fixes missing sha1 values in ampoker2.c, atarigx2.c, cabal.c, and ksys573.c for 0125u6.

mame -listroms|grep -v SHA1|grep CRC

Keeps SHA1 based librarians happy.

John G.
2008-06-26 15:17:24 +00:00
Aaron Giles
6f30cdf1b2 From: Corrado Tomaselli [mailto:corrado.to@tiscali.it]
Subject: flstory.c ym2149 sound balance
Raised the volumes of the ym2149 channels to better match the pcb behaviour
2008-06-26 15:14:09 +00:00
Aaron Giles
e5acd1aa3f From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Subject: more indexed reads removed
Hi, 

attached please find a bunch of patches (against u6) to change input_port_read_indexed and AM_READ to their tagged counterparts. As in the case of the last patches I sent, I tested with mame_regtest the changes and no port is missing.

In details:

* midway.diff updates the whole mid*unit family of drivers + seattle & zeus which shared some input code. You may want to take a look at the fact that hyperdriv seems to have a redundant 9th analog port the driver never check (I added a comment about it in the source)

* namco.diff updates most namco systems + a couple of old drivers sharing the input handling. Notice I haven't modified system22 which seems to have problems with the new strict checks and I guessed it could have changed since the last release (I'll take a look to it later)

* patch1.diff -> patch9.diff update most of the M->Q drivers + finally removes indexed reads from megadriv.c (without breaking ssf2ghw)

Let me know if something fails to apply.

Regards,
     Fabio
2008-06-26 15:13:34 +00:00
Aaron Giles
01f5d8cb93 From: Corrado Tomaselli [mailto:corrado.to@tiscali.it]
Subject: the fairyland story clocks
Verified clocks on Fairyland Story
2008-06-26 14:57:56 +00:00
Aaron Giles
49b7e8382f From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Subject: fix to MT bug 1911
Hi,  

the attached patch fixes the DSW read in nomnlnd using input_port_read_safe (rather than adding a fake DSW port). Hopefully, this will be the last missing tag due to my patches: since last week all my changes are tested with mame_regtest before submit and, therefore, no missing inputs can be there anymore!

Regards
      Fabio
2008-06-26 14:54:53 +00:00
Aaron Giles
e0f0854166 From: Steve Lilley-Hopkins [mailto:minwah1959@hotmail.com]
Subject: gtmr (kaneko16.c) update
Hi,

Please find attached a diff containing a small update to 'Great 100 Miles Rally', within the kaneko16 driver:

* Added 360degree wheel (dial) input to GTMR, which is available when the Controller dip is set to 'Wheel', and Controls dip is set to '1P Side'. Note when Controls dip is set to 'Both Sides', 270degree wheel (paddle) input is used.

I have tested this in the test screen and in-game, and it works as expected. Also note I made a small comment with regard to the GTMR2 wheel controls, which are noted to be not working - they seem to work fine for me.

Any questions/problems please let me know.

Cheers,

Minwah
2008-06-26 14:53:57 +00:00
Aaron Giles
68f3a9ab9e Removed DEBUGGER flag from makefile and ENABLE_DEBUGGER
macro from the source code. All MAME builds now include
the debugger, and it is enabled/disabled exclusively by
the runtime command-line/ini settings. This is a minor 
speed hit for now, but will be further optimized going 
forward.

Changed the 'd' suffix in the makefile to apply to DEBUG
builds (versus DEBUGGER builds as it did before).

Changed machine->debug_mode to machine->debug_flags.
These flags now indicate several things, such as whether
debugging is enabled, whether CPU cores should call the
debugger on each instruction, and whether there are live
watchpoints on each address space.

Redesigned a significant portion of debugcpu.c around
the concept of maintaining these flags globally and a
similar, more complete set of flags internally for each
CPU. All previous functionality should work as designed
but should be more robust and faster to work with.

Added new debugger hooks for starting/stopping CPU
execution. This allows the debugger to decide whether
or not a given CPU needs to call the debugger on each
instruction during the coming timeslice.

Added new debugger hook for reporting exceptions.
Proper exception breakpoints are not yet implemented.

Added new module debugger.c which is where global
debugger functions live.
2008-06-26 14:51:23 +00:00
Brian Troha
2f6f4aed58 added several more BIOS dumps (from the Guru) for Naomi & Naomi 2 2008-06-26 05:14:56 +00:00
Brian Troha
0c614d7b34 Adds easy to find dips to:
Wonder League Star - Sok-Magicball Fighting (Korea)
Wonder League '96 (Korea)

Like coinage, Credits for full 2 player game, Demo Sounds (though for Wonder League '96 it doesn't seem to work) and play field color for wl96

Minor whitespace clean-up

Hope this doesn't colide with addition work being done by Haze
2008-06-25 23:20:17 +00:00
Couriersud
9e2e2fd776 Fixes menu scrolling speed as described by Haze 2008-06-25 22:17:15 +00:00
Couriersud
45034a382b 01931: sqix: [possible] sprites slowdown 2008-06-25 22:03:13 +00:00
davidhay
82617bc2a2 some changes to the survival protection simulation from nuapete, fixes problem entering hiscore initials. 2008-06-25 22:03:10 +00:00
Couriersud
5644d87036 01631: sqixbl, perestro, perestrf: game resets after starting game 2008-06-25 21:52:47 +00:00
Couriersud
37ad515d2a Updated cheat system / Credit Shimapong
- Merged 3 different search menu functions to search_main_menu()
 - Added new cheat options, "Vertical/Horizontal Key Repeat Speed"
     NOTE : delete all cheat options in the database before start
            or reload default options (Shift + Reload key)
            in cheat general menu
 - Changed assignment of Entry for Activation Key and Pre-enable
   command code. Now there are check the tag in comment field
   instead of index number. But it's only for new format command
   and old is as before
 - Added tag output in save_activation_key() and save_pre_enable()
 - Cleaned up save_cheat_options() to output description
 - Changed memory read function in watchpoints
   No longer "Debugger" watchpoint mis-hit "Cheat" watchpoint
 - Fixed several reported/found bugs
 - Renamed funcitons/enum based on coding guidlines
   All functions are completed in this update
2008-06-25 18:24:55 +00:00
Aaron Giles
25abe2749d Hornet driver:
- connected EEPROM (doesn't seem to affect much)
 - cleaned up system register access

GTI Club driver:
 - altered network IRQ clear to fix several problems
 - added Guru readme
 - fixed crashes due to missing inputs
 - gticlub "works" again

ZR107 driver:
 - added Guru readme
 - cleaned up system register access
 - these games work again with altered network IRQ timing

NWK-TR driver:
 - added Guru readme

DRC frontend:
 - now passes pointer to previous instruction when describing

PPC frontend:
 - attempts to roughly take into account branch and CR logical
    folding in timing computations
2008-06-25 15:02:07 +00:00
davidhay
058462cb9c makes wonderleague 96 work.
New Working Game
----------------

WonderLeague '96 [David Haywood]
2008-06-25 08:03:40 +00:00
Couriersud
aea74472f0 01712: exerizrb, skyfox: Coin 1 mapped twice. 2008-06-24 22:08:53 +00:00
Couriersud
c4f9422fb5 01928: chplft, chplftb, chplftbl: Choplifter player 2 video is upside down 2008-06-24 21:42:11 +00:00
Couriersud
382836feea 01851: 3kokushi: demo sounds dip reversed 2008-06-24 21:27:55 +00:00
davidhay
1ab9a6bd40 Promoted to Working
-------------------

Survival [nuapete]
2008-06-24 20:17:59 +00:00
Wilbert Pol
88e208dce0 Fixed typo in changelog 2008-06-24 20:03:08 +00:00
Wilbert Pol
9a76a3e65d i8x41 cpu core changes:
- Updated the ram sizes. 8041 uses 128 bytes, 8042
    8042 uses 256 bytes.
  - Added support for re-enabling interrupts inside
    an interrupt handler.
  - Fixed cycle count for DJNZ instruction.
2008-06-24 19:36:34 +00:00
Aaron Giles
870607fe7b 01886: gradius4: 3D gfx problem
Fixed LZCNT opcode in x86 and x64 back-ends
Added support for flags in LZCNT and BSWAP opcodes on x86 and x64 back-ends
2008-06-24 16:05:36 +00:00
Aaron Giles
a39d6ed967 01927: Effects overlay showing in snapshots
Explicitly disabled overlays for non-native snapshots (native snapshots already had them disabled)
2008-06-24 05:28:58 +00:00
Aaron Giles
2ac4c9da66 01901: kinst13, kinst14, kinstp: Attract mode graphics regression
Fixed DCMP opcode on the 32-bit back-end
2008-06-24 05:22:30 +00:00
Aaron Giles
75a009ac40 Do not stop in the debugger while we are waiting for a pending
event to occur. This eliminates some confusion during reset and
state loading.
2008-06-24 05:21:19 +00:00
Aaron Giles
2be66a245c Fixed WRITEM opcode on 64-bit to call through memory instead of directly. 2008-06-24 04:46:15 +00:00
Wilbert Pol
6f4b3add14 I8x41 cpu core fixes:
- Added configurable i8x41/i8x42 subtype support.
- Fixed carry flag handling in ADDC A,#N instruction.
- Fixed carry flag handling in RLC A instruction.
2008-06-23 18:52:12 +00:00
Wilbert Pol
f4f26cdd1a i8x41: Fixed disassembly for opcode 0x67. 2008-06-23 17:59:03 +00:00
Brian Troha
84f4d0e13d different Naomi BIOS found and added: epr-21576e (Japan)
Adds region name to BIOS def for Naomi2 BIOS's
2008-06-23 17:51:11 +00:00
R. Belmont
1d2a733d95 Fixed compile where DEBUG=1 and DEBUGGER=0. 2008-06-23 17:00:18 +00:00
R. Belmont
74c6e6f756 Fixed GCC 64-bit compile. 2008-06-23 16:59:19 +00:00
Aaron Giles
a4918351e1 Save state support:
* added save state support to the SHARC CPU core
 * added save state support to the PowerPC recompiler
 * added save state support to the virtual TLB system
 * added save state support to the RF5C400 sound core
 * added save state support to konppc module
 * added save state support to K056800 host controller
 * added save state support to the Konami hornet driver

Fixed poor default CLUT handling in the voodoo driver
2008-06-23 16:37:34 +00:00
R. Belmont
dfb5755f25 Fixed placement of stream_update in the NiLe emulation. 2008-06-23 13:15:28 +00:00
Nathan Woods
480ed677c2 MESS-specific changes 2008-06-23 12:22:08 +00:00
Aaron Giles
57c35a0efc From: Atari Ace [mailto:atari_ace@verizon.net]
Subject: [patch] memory_region madness reloaded
Hi mamedev,

The memory_region and memory_region_length functions are probably the
two most common functions in MAME that don't take a machine parameter
but should given the syntax of the related apis memory_region_type and
memory_region_flags.  Clearly they didn't get the parameter because of
the sheer number of changes needed to change the apis.  This pair of
patches makes the change, and deals with the consequences.

The second patch then changes the api for memory_region and
memory_region_length, and fixes the fallout.  It generally plumbs
through machine parameters where needed, except for the case of sound
apis which I deferred doing so till later.  This increased the number
of deprecat.h includes by ~50.  Given it is a massive patch, there are
bound to be a few mistakes in it (I had to make ~20% of the changes by
hand), but I exercised care and reviewed the patch several times to
minimize the problems.
2008-06-23 08:32:42 +00:00
Aaron Giles
b3743812df From: Atari Ace [mailto:atari_ace@verizon.net]
Subject: [patch] memory_region madness reloaded
Hi mamedev,

The memory_region and memory_region_length functions are probably the
two most common functions in MAME that don't take a machine parameter
but should given the syntax of the related apis memory_region_type and
memory_region_flags.  Clearly they didn't get the parameter because of
the sheer number of changes needed to change the apis.  This pair of
patches makes the change, and deals with the consequences.

The first patch makes some changes to help the second patch
along, as well as moves some uses of the memory_region apis within for
loops outside the loops.
2008-06-23 08:17:42 +00:00
Aaron Giles
ec54e3911d Save state support:
* added save state support to the MIPS3 recompiler
 * added save state support to CAGE audio system
 * added save state support to the voodoo emulator
 * added save state support to the smc91c9x emulator
 * added save state support to the kinst, seattle, and vegas drivers
 * fixed core video handling of save states with dynamic screen resolutions

SMC91C9x:
 * converted to proper device
 * updated seattle and vegas drivers to allocate devices
 * added separate 91C96 device for eventual 2049 use
 * cleaned up code
2008-06-23 07:58:17 +00:00