Commit Graph

1732 Commits

Author SHA1 Message Date
Aaron Giles
793cb1e330 Fixed remaining input port bit conflicts. 2008-06-05 09:34:49 +00:00
Aaron Giles
7474bb220a MAMETesters Bugs Fixed
----------------------
- 01845: [Core] all games: cheats are broken
- 01846: [Misc.] -CHEAT trigger causes MAME crash with PSX-type CPU drivers

Source Changes
--------------
Updated cheat system
  - Locked search region when malloc fails to allocate gigantic memory
    instead of fatal error. Also locked zero malloc error in case of
    search speed = all memory in 32-bit CPU. And added search region
    range checker to lock a search region with a big risk

  - Fixed a bug that old code is always converted to specified
    separator in enable/disable menu

  - Refined new cheat format.
     * Rewritten cheat format again. newest format is
       ":gamename::type::address::data::extend_data:(description:comment)"
       Expanded type field now requires 10 bytes (not 8 bytes) and
       it divides internal cpu (2 bytes) and type (8 bytes) parameters

     * Removed VWrite, VRWrite. The flag of Value Selection is merged
       into expanded type field now.

     * Added CBit (Condition Bit). This checks bit in read data then
       set or clear bit in case of true.

     * Rearranged cheat code viwer based on newest cheat format

  - Fixed unworking Load Old Format option. If you want to load old or
    older format code, set it (default is OFF)

  - Renamed functions/structures based on coding guidlines
    All structures and included parameters are completed

  - Merged resize_*_no_dispose() into resize_*()

  - Removed the hack of search region for SH-2 CPU because required
    region is now set as expected without this hack
2008-06-05 08:46:48 +00:00
Aaron Giles
facab0e9fc From: abcd efgh [mailto:cix_999@yahoo.it]
Sent: Mon 6/2/2008 2:00 PM
To: submit@mamedev.org
Subject: Fixed input in wpksocv2

Fixed some dips and added correct inputs for wpksocv2, despite still missing the correct input for begin the left right movement the game is almost playable.
Bye Sonikos.
2008-06-05 08:43:19 +00:00
Aaron Giles
f1142a1bb1 From: Corrado Tomaselli [mailto:corrado.to@tiscali.it]
Sent: Monday, June 02, 2008 1:31 AM
To: submit@mamedev.org
Subject: raiden fighters 2 (Taiwan)

diff + romset

New clones added
----------------
Raiden Fighters 2 (Taiwan, SPI)
2008-06-05 08:41:51 +00:00
Aaron Giles
56279e2780 From: Atari Ace [mailto:atari_ace@verizon.net]
Subject: [patch] memory_region madness

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 probably should given the direction MAME has been going in
removing global variable references.  Attached are massive patches to
accomplish this.  I wish they could be smaller, but sadly, this is
butchery, not brain surgery.

The first patch makes some simplifications to help the second patch
along.  It is a general improvement as well, and hopefully can be
applied even if the second patch is rejected.  Specifically:

1.  Introduced/updated some include files for files that export
functions whose apis will need to be changed (cps1.h, decocrpt.h,
ms32.h, pgm.h, fd1089.h, konami1.h).  In the case of konami.c, I
renamed the file konami1.c and changed the api and callers to only
require one function export.
2.  Pulled memory_region*() calls out of for loops and folded the
occasional duplicated call.  The compiler can't likely infer that the
results are constant, so this should be a minor performance win as
well.
2008-06-05 08:40:22 +00:00
Aaron Giles
9073e62229 From: Corrado Tomaselli [mailto:corrado.to@tiscali.it]
Sent: Monday, June 02, 2008 1:15 AM
To: submit@mamedev.org
Subject: cross shooter diff

Verified clock frequencies on Air Raid/Cross Shooter.
2008-06-05 08:38:05 +00:00
Aaron Giles
ed6ad8b4f9 PowerPC dynamic recompiler: [Aaron Giles]
- rewrote PowerPC implementation as a dynamic recompiler on top
    of the universal recompiler engine
 - wrote a front-end to analyze PowerPC code paths and register usage
 - wrote a common shared module with C implementations of tricky
    CPU behaviors
 - added separate CPU types for the variants supported, instead of
    relying on a hidden model enum
 - rewrote the serial port emulation for the 4xx series to be more
    accurate and not rely on separate DMA handlers
 - rewrote the MMU handling to implement a software TLB that faults
    in pages and handles changed bits appropriately
 - implemented emulation of the PowerPC 603's software TLB, which
    allows the model 3 games to run without a hack to disable the MMU

Updated the PowerPC disassembler to share constants with the rest of
the core, and to more aggressively use simplified mnemonics, especially
for branches. [Aaron Giles]

Universal recompiler:
 - fixed frontend to handle opcode widths different from bus width
 - added several new opcodes:
    * (D)GETFLGS - copies the UML flags to a destination operand
    * FDRNDS - rounds a double precision value to single precision
 - renamed several opcodes:
    * SETC   -> CARRY
    * XTRACT -> ROLAND
    * INSERT -> ROLINS
 - consolidated the following opcodes:
    * LOAD?U -> LOAD
    * LOAD?S -> LOADS
    * STORE? -> STORE
    * READ?U -> READ
    * READ?M -> READM
    * WRITE? -> WRITE
    * WRITM? -> WRITEM
    * SEXT?  -> SEXT
    * FTOI?? -> FTOINT
    * FFRI?  -> FFRINT
    * FFRF?  -> FFRFLT
 - removed some opcodes:
    * FLAGS - can be done with GETFLGS/LOAD4/ROLINS
    * ZEXT - can be achieved with AND
    * READ?S - can be achieved with READ/SEXT
 - updated C, x86, and x64 back-ends to support these opcode changes
 - updated disassembler to support these opcode changes
 
MIPS3 dynamic recompiler:
 - updated to use new/changed opcode forms
 - changed context switch so that it only swaps a single pointer

Konami Hornet changes: [Aaron Giles]
 - updated to new PowerPC configurations
 - updated some memory handlers to be native 8-bit handlers
 - cleaned up JVS implementation to work with new serial code
 - added fast RAM for the work RAM to give a small speed boost

Konami GTI Club changes: [Aaron Giles]
 - updated to new PowerPC configurations
 - updated some memory handlers to be native 8-bit handlers

Konami Viper/ZR107 changes: [Aaron Giles]
 - updated to new PowerPC configurations

Sega Model 3 changes: [Aaron Giles]
 - updated to new PowerPC configurations
 - reimplemented/centralized interrupt handling
 - these games are broken for the moment

Fixed crasher due to some Konami games using 8 layers in
the K056832 implementation, even though it was only written
for 4. [Aaron Giles]

Added fisttp opcode to i386 disassembler. [Aaron Giles]
2008-06-05 08:34:13 +00:00
Nicola Salmoria
8ea2d9e334 optimised tilemap_draw rowscroll case to avoid overhead when used with clip rects smaller than the tilemap. This reduces by an order of magnitude the time taken to render the bg in Gunnail stage 5. 2008-06-05 08:04:46 +00:00
Nicola Salmoria
707c11bd06 increased gunnail 68000 clock to 12MHz to match readme. This avoids slowdowns.
added support for per-scanline y scroll. Fixes level 5 and boss explosions.
00778: gunnail: The background in stage 5 is wrong. 
00779: gunnail: After you kill a boss, always a number of vertical lines will appear.
2008-06-05 05:33:23 +00:00
Roberto Fresca
466bc7737c Italian gambling games based on H8 MCU:
Cleaned-up and organized both drivers.
Added more technical notes.
Hooked Xtals and sound devices/interfaces.
Added elvis to the h8/3337 driver.


New games marked as GAME_NOT_WORKING
------------------------------------
Elvis? [Roberto Fresca]
2008-06-05 03:24:17 +00:00
davidhay
5c6d0a9a51 changed suprnova blending implementation a bit.. still not right. 2008-06-04 22:50:14 +00:00
davidhay
1bd4adbe8b suprnova changes.. work in progress 2008-06-04 21:57:18 +00:00
Wilbert Pol
752af71d6e Fixed flag results for INC, DEC, AND, OR, and XOR instructions in the Nintendo Minx cpu core. 2008-06-04 21:32:22 +00:00
Curt Coder
113d019062 Used cpunum_ instead of active_cpu_. 2008-06-04 20:24:31 +00:00
Curt Coder
6d6a5b237d - Added HALT opcode and halt mode to the COP410
- Added Microbus support, clock divisor selection, and CKO mode selection to the COP420
- Changed Thayer's Quest keyboard interface to at least slightly resemble the schematics
2008-06-04 20:15:15 +00:00
davidhay
5817f03b73 adds Black Touch
Working games added
-------------------

Black Touch (Korea) [David Haywood] (bootleg / hack of Dragon Punch)
2008-06-04 19:34:46 +00:00
Wilbert Pol
114c783141 Fixed opcodes 45, 4D, 55, 5D, B5, B6, B7, FC, FD, and CF 70-7F in the Nintendo Minx cpu core. 2008-06-04 18:41:38 +00:00
davidhay
9b21f507b2 adds another (non working) double dragon bootleg set. 2008-06-04 18:37:03 +00:00
R. Belmont
277a6e5649 [ST-V/SATURN] Upped max directory size. 2008-06-04 13:53:37 +00:00
Roberto Fresca
23a5c04d66 New skeleton driver for italian gambling games based on H8/3337 MCU + NEC D7759GC (sound).
Added all games that fit in this hardware, plus dumper notes (when available) and hardware descriptions.

New games marked as GAME_NOT_WORKING
------------------------------------
Carta Magica (Ver 1.8) [Roberto Fresca]
Laser 2001 (Ver 1.2) [Roberto Fresca]
Magic Drink (Ver 1.2) [Roberto Fresca]
Millennium Sun [Roberto Fresca]
NtCash [Roberto Fresca]
Super Space 2001 [Roberto Fresca]
Unknown italian gambling game [Roberto Fresca]
Wizard (Ver 1.0) [Roberto Fresca]
2008-06-04 07:20:51 +00:00
Couriersud
eab9ba4983 00788: Problem about Joy Axis Input for Pedal.
* Remapping now works as described in report.
2008-06-04 01:07:52 +00:00
davidhay
ad7f25be50 tecmosys / tkdensha> fixed rom loading for sound banking (was just crashing with recent merge) 2008-06-03 23:31:06 +00:00
davidhay
215b0b2078 puts monkyelf in megasys1.c... not working because it doesn't use the original Jaleco protection. 2008-06-03 23:13:37 +00:00
davidhay
43b1a48c89 added some extra tecmosys protection notes (nuapete), added skeleton driver for black touch 96 (me), will continue to work on it. 2008-06-03 21:23:58 +00:00
davidhay
120ccc7375 tecmosys> added blending used by deroon playfield.. probably not optimal code at this stage. 2008-06-03 19:42:32 +00:00
Tomasz Slanina
f365b3b60a Added earlier revision of Angel Eyes. Increased watchdog config to work closer to the real one.
New clones added
----------------
Touki Denshou -Angel Eyes- (VER. 960427) [Tomasz Slanina]
2008-06-03 15:16:55 +00:00
davidhay
7b0cd41238 adds the 2 non-working crystal system games. protection patches from ElSemi needed to make them work... 2008-06-03 06:45:43 +00:00
davidhay
c9628bff32 tecmosys> 6295 banking, used by tkdensho 2008-06-02 23:34:32 +00:00
davidhay
3249ef303a tecmosys > fix oki6295 frequency and region 2008-06-02 23:19:42 +00:00
Couriersud
9aacf830fb Credit Fabio Priuli: Remove port_input_read_indexed in favor of the use of proper tags in a number of drivers
* Checked sprintf calls for sufficient buffer space [couriersud]
2008-06-02 20:00:25 +00:00
Wilbert Pol
e290212a9d Fixed taking of interrupts in the Nintendo Minx cpu core. 2008-06-02 19:28:29 +00:00
davidhay
9933905b03 possible fix for angel eyes resets
New Working Games
-----------------

Touki Denshou -Angel Eyes- [nuapete, David Haywood]
2008-06-02 19:04:17 +00:00
R. Belmont
bdbbf5ccaf 53c810 now passes IRQ state with the IRQ callback. 2008-06-02 16:46:36 +00:00
Roberto Fresca
2db5d2e4e1 Improvements to ampoker2 driver:
- Reworked the input system for Sigma Poker 2000.
 - Promoted Sigma Poker 2000 to 'WORKING' state.
 - Updated technical notes.

New games added or promoted from NOT_WORKING status
---------------------------------------------------
Sigma Poker 2000 [Roberto Fresca]
2008-06-02 05:29:32 +00:00
Roberto Fresca
8fa4a3f690 Itgamble driver...
Replaced the Capitani Coraggiosi sound ROM with another one from the alt version. The only difference between both sets are 4 bytes at begining of the sound ROM. The header starts with 4x 0x20 instead of zeroes.

Added La Perla Nera Gold, plus two sets of Europa 2002. All games are running in the same hardware.

Added the respective dumper/hardware notes plus some comparative notes.
Corrected some typos.


New games marked as GAME_NOT_WORKING
------------------------------------
Capitan Uncino (Ver 1.2) [David Haywood]
Capitani Coraggiosi (Ver 1.3) [David Haywood]
La Perla Nera (Ver 2.0) [David Haywood]
La Perla Nera Gold (Ver 2.0) [Roberto Fresca]
Europa 2002 (Ver 2.0, set 1) [Roberto Fresca]

New clones added
----------------
Europa 2002 (Ver 2.0, set 2) [Roberto Fresca]
2008-06-02 05:01:28 +00:00
Brian Troha
c6cb9bb251 changed info to show "checksum" instead of "CRC16" 2008-06-01 19:48:09 +00:00
Brian Troha
9446978004 slight rom name correction for Insector X 2008-06-01 17:43:41 +00:00
Brian Troha
d0e8f20714 info update based on an eBay auction 2008-06-01 16:53:26 +00:00
Wilbert Pol
6b1719e1c6 Some Nintendo Minx cpu core updates:
- Styling changes
- Added instruction cycle counts.
- Added interrupt support.
- Added HALT support.
- Fixed INT instruction.
- Added incomplete support for DIV and MUL instructions.
- Fixed MOV [#nnnn],BA and MOV [#nnnn],HL instructions.
2008-06-01 16:43:24 +00:00
davidhay
dc19a5250c added a skeleton driver for some italian gambling games. we can't emulate them because the entire program code is in the MCUs. Not worth mentioning in whatsnew. 2008-06-01 14:35:35 +00:00
davidhay
0708be1300 I've decided to mark Deroon DeroDero as working.
New games added or promoted from NOT_WORKING status
---------------------------------------------------

Deroon DeroDero [nuapete, David Haywood]


** note, the guys decapping this will have to dump the internal eeprom too, I suspect the internal ROM is the same between games, and the EEPROM contains the password and game specific data.
2008-06-01 13:11:18 +00:00
davidhay
63c83ccc50 tecmosys> left some debug stuff enabled last time, sorry 2008-06-01 12:05:50 +00:00
davidhay
f1b172c250 tecmosys> correct GFX rom, added 'hack' to cause scroll values to get updated (from nuapete) but it seems to cause the game to reset sometimes (protection), hooked up scroll. 2008-06-01 11:33:22 +00:00
davidhay
c78bd9087e snk.c > removed duplicate input port bits.
this DOES NOT fix mantis 1829, which appears to be a bug in the validation code causing it to hang on startup attempting to validate 

 PORT_BIT( 0xf0, 0x00, IPT_POSITIONAL ) PORT_POSITIONS(12) PORT_WRAPS PORT_SENSITIVITY(5) PORT_KEYDELTA(5) PORT_CODE_DEC(KEYCODE_Z) PORT_CODE_INC(KEYCODE_X) PORT_REVERSE PORT_FULL_TURN_COUNT(12) \

or

 PORT_BIT( 0xf0, 0x00, IPT_POSITIONAL ) PORT_POSITIONS(12) PORT_WRAPS PORT_SENSITIVITY(5) PORT_KEYDELTA(5) PORT_CODE_DEC(KEYCODE_N) PORT_CODE_INC(KEYCODE_M) PORT_PLAYER(2) PORT_REVERSE PORT_FULL_TURN_COUNT(12)
2008-06-01 08:25:42 +00:00
davidhay
a5460ca3bb tecmosys.c > found a place where y flip is used and enabled it. changed comment about mcu. improved zoom. 2008-06-01 00:58:33 +00:00
Brian Troha
1cab028b73 fixes rom names for Space Harrier 2008-06-01 00:56:44 +00:00
R. Belmont
0e768ce864 [NamcoNA] - Adjusted output rate to match pitch with F/A and Cosmo Gang the Puzzle soundtrack CDs. 2008-06-01 00:44:34 +00:00
davidhay
3bf1082485 fix mantis 01853 (caused by duplicate port bits) 2008-06-01 00:27:59 +00:00
davidhay
3eafea292a tecmosys> added basic sprite zooming 2008-05-31 23:41:12 +00:00
davidhay
6e65b9880a tecmosys.c> improved sprite priority handling. 2008-05-31 22:41:38 +00:00