Commit Graph

1975 Commits

Author SHA1 Message Date
Roberto Fresca
12ee107795 Italian gambling games based on H8/3048 + OKI 6295:
Added two alternative Xtals and a new machine driver to support the Mystery Number hardware.


New games marked as GAME_NOT_WORKING
------------------------------------
Mystery Number [Roberto Fresca]
2008-06-08 05:39:10 +00:00
R. Belmont
9ecc076521 64-bit GCC compile fixes. 2008-06-08 02:52:17 +00:00
Roberto Zandona
5fa002d23a fix offset in dynablsb 2008-06-07 22:37:06 +00:00
Roberto Zandona
7eaab76a8a fix graphic layer in dynablsb 2008-06-07 19:41:25 +00:00
Brian Troha
9cd0f2c4eb New clones added
----------------
Tank Force (US, 4 Player)

marked as not working.  Unmapped controls, comments are in driver.

The currently scanned manual at http://www.crazykong.com/manuals/TankForce.man.pdf is for the 4 player version and shows the pinout.  Test mode currently shows all player controls as RED (IE active).
2008-06-07 19:09:23 +00:00
davidhay
355fc6dc01 identified blackt96 text layer 2008-06-07 18:15:34 +00:00
Roberto Zandona
e4b7e99e82 fix an error in the video register in bomblord 2008-06-07 16:34:59 +00:00
Roberto Zandona
3b4f354043 implementation of the video register for select different resolution in bomblord; this fix graphic in the game screen 2008-06-07 16:13:19 +00:00
davidhay
817d64eede allow wraparound to be turned off (sarukani..) 2008-06-07 15:16:11 +00:00
davidhay
d478cd3b1a added a note about what needs fixing for the sengekis sprite zoom (shrink flag we're not handling) 2008-06-07 14:38:37 +00:00
davidhay
02b0e17939 suprnova video changes. priorities should be correct from start to end in cyvern now.. still not perfect tho. 2008-06-07 13:59:08 +00:00
Roberto Zandona
42fe8ba627 fixed player #1 and player #2 controls in dynablsb (clone of dynablst) 2008-06-07 13:55:04 +00:00
Roberto Zandona
b392535b4b dynablsb (dynablst clone)
fix mark for last sprite
2008-06-07 11:36:21 +00:00
Roberto Zandona
c648eb8a28 dynablsb (dynablst clone)
- partially fixed the background
- fixed the sprites
- promoted to working (with GAME_IMPERFECT_GRAPHICS flag)
2008-06-07 11:17:40 +00:00
Roberto Zandona
37c59c5ae6 bomblord (bbmanw clone)
- partially fixed the background
- fixed the sprites
- promoted to working (with GAME_IMPERFECT_GRAPHICS flag)
2008-06-07 10:46:24 +00:00
Roberto Zandona
f9eff6c49b semplificated m90 video update routine 2008-06-07 08:53:39 +00:00
Nicola Salmoria
362b795e71 01870: skylance, skylancr: cocktail mode, player 2's shots are offset from player's position 2008-06-07 08:31:28 +00:00
Aaron Giles
bc9235ad0f gticlub:
* Converted sysreg_r/w to 8-bit handlers
 * Added hack to make network IRQs work; brings some games back to life

UML:
 * Fixed STORE opcode description to allow immediate source operands

x86/x64 back-ends:
 * Added flag support to SEXT, ROLAND, ROLINS, LZCNT opcodes

PPC DRC:
 * Rewrote lswi/stswi as subroutines
 * Made accesses to tempdata explicitly dword or qword
 * Fixed SRR0 when generating a syscall
 * Removed no longer necessary TESTs on extsb/w, rlwinm, rlwnm, rlwimi, cntlzw
 * Fixed bug where the SO flag was not being computed for compares
 * Fixed flag computations for mulhw/mulhwu/mullw
 * Fixed subtlety of shifts between 32 and 63 in srw/sraw
 * Fixed mffs/mtfsf to use FP registers
 * Fixed mtfsfi to use the immediate value properly
 * Now marking terminal count bit in DMA status register
2008-06-07 08:13:22 +00:00
Roberto Fresca
8c92fd4b40 Italian gambling games based on H8/3337 MCU + NEC D7759GC:
Corrected year and manufacturer to ntcash and wizard.
Sort the games by year.
2008-06-07 03:14:43 +00:00
Aaron Giles
0148608c39 UML:
* Added simple symbol table to the UML for improved disassembly
 * Changed optional disassembler cache parameter to a drcuml object

PPC DRC:
 * Added symbols for most common variables
 * Fixed bug in handling XER carry flag for subo. forms
 * Simplified flag insertion logic for opcodeo. forms
2008-06-06 23:00:30 +00:00
Aaron Giles
1a63c29d04 UML:
* Improved disassembly output
2008-06-06 22:13:09 +00:00
davidhay
b84eedd228 more suprnova work, no visible changes. 2008-06-06 21:50:43 +00:00
davidhay
af6e4ade25 suprnova update. now uses our own draw roz function, which supports linescroll or columnscroll, and will give me the ability to 'render' priority data (with roz applied) from the flagsmap to a temp bitmap to work with.
no visual improvements yet, although hopefully there are no regressions either.
2008-06-06 20:50:48 +00:00
Aaron Giles
cacc9b25ca UML:
* Added logic to simplify opcodes as much as possible at the UML layer.
 * Removed similar logic in the x86 and x64 back-ends.
 * Added stricter parameter validation for registers and mapvars
2008-06-06 19:45:29 +00:00
Aaron Giles
40d2b88ef5 UML:
* Added NOP opcode
2008-06-06 17:13:53 +00:00
Roberto Zandona
e40a5aa32d fixed game name 2008-06-06 16:46:57 +00:00
Roberto Zandona
6ea7ce4b3f fixed game name 2008-06-06 16:30:08 +00:00
Wilbert Pol
73625e2656 Fixed handling of the U register in the RET instructions and when taking an interrupt in the Nintendo Minx cpu core. 2008-06-06 16:28:00 +00:00
Roberto Zandona
21ca186fe2 fixed game name 2008-06-06 16:21:00 +00:00
Aaron Giles
1c1498b0fc UML:
* Removed explicit flag requests from the shorthand opcodes
 * Added optimization function to drcuml which is called at block end
 * Added logic to compute the necessary flags based on upcoming opcodes
    and only select those flags which are required
 * Updated the PPC and MIPS3 DRCs to no longer explicitly specify flags
2008-06-06 07:36:36 +00:00
Aaron Giles
ee8162eff9 UML:
* Wrote new disassembler based on enhanced opcode info structure.
 * Moved disassembler into drcuml.c and removed old code.
 * Extended disassembler buffer sizes to at least 256 bytes.
2008-06-06 06:42:21 +00:00
Aaron Giles
829cf37d87 PPC DRC:
* Fixed bug where a branch and link to the link register would
    overwrite the link register before fetching the target address
2008-06-06 04:23:13 +00:00
Aaron Giles
b80ba7e56c UML changes:
* Added more extensive per-opcode information in preparation for UML 
    optimization step.
 * Made validation more thorough using the extended information.
 * Disabled back-end validation for now until it can be revisited
    using the new tables.
 * Changed GETFLGS encoding so that the mask is in parameter 2 instead
    of the flags field.
2008-06-06 04:02:06 +00:00
Jonathan Gevaryahu
89769efec7 Update comments for tms5220 and sn76496. Add a Couriersud-style pinout to tms5220.c 2008-06-06 03:16:02 +00:00
Nathan Woods
5ea9b4a12a Passing a running_machine parameter 2008-06-06 00:38:58 +00:00
Nathan Woods
136db6075d Fixed compilation error when neither HAS_PPC403GA nor HAS_PPC403GCX are defined 2008-06-06 00:38:33 +00:00
mariuszw1
fbda64287d 68681 DUART update
- converted to device interface
- converted to 8 bit device
- added input and output port
- added X1/16 timer
2008-06-05 20:58:08 +00:00
Aaron Giles
524dde249b Fix -listxml again. 2008-06-05 17:23:32 +00:00
Aaron Giles
cf4b81fba9 Separated condflags into two individual fields. 2008-06-05 17:21:35 +00:00
Aaron Giles
1bc774b32b Cleanups/version bump. 2008-06-05 15:57:00 +00:00
Aaron Giles
cfb9caf08f 01829: bermudat, gwar, ikari, victroad + clones: MAME freezes at "initializing" screen 2008-06-05 15:36:27 +00:00
R. Belmont
317607a143 64-bit GCC compile fixes. 2008-06-05 14:10:56 +00:00
Nathan Woods
5b94cc19d5 MESS-specific compilation fix 2008-06-05 11:12:33 +00:00
Aaron Giles
95ae38db10 Missed files from Atari Ace's change. 2008-06-05 09:50:25 +00:00
Aaron Giles
2deed30b29 Fixes for 64-bit MSVC compile. 2008-06-05 09:49:23 +00:00
Aaron Giles
bba83b69aa 01859: looping, loopinga, skybump: Fatal Error crash
The CPU context is not active in a timer callback. You have to set it
yourself.
2008-06-05 09:47:46 +00:00
Aaron Giles
48332dea92 Added compile-time error if PTR64 is incorrectly set. 2008-06-05 09:41:02 +00:00
Aaron Giles
a5abe031ca It is now an actual error to have duplicate input bits. 2008-06-05 09:36:23 +00:00
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
davidhay
dff073e459 fix some duplicate input port bits, add clone quizoa 2008-05-31 21:30:16 +00:00
davidhay
df5d09299d optimized tecmosys.c a bit after testing it on a lower end system ;-) 2008-05-31 19:24:33 +00:00
davidhay
4c4a9c1278 tecmosys> added sprite xflip (needed by tkdensho) cleaned up notes a bit (mentioned what the protection chip is thought to be)..
I suspect the scrolling is protection related.. it doesn't seem to be populating registers with values I can use.
2008-05-31 13:25:17 +00:00
davidhay
33da405e0e tecmosys: added sprite buffering / list select so that sprites render properly at 60fps, without 'trails'
(yes I know this is a lot of submits, but maybe some of the new additions will be interested in seeing how a driver develops..)
2008-05-31 11:38:14 +00:00
davidhay
e73cabb6ad current progress, including marking a sprite ROM as a bad dump, i'm 99% sure this one is at least (half size) 2008-05-31 10:31:54 +00:00
Pierpaolo Prazzoli
1ee19bd278 From: nuapete [mailto:nuapete@hotmail.com]
Sent: Friday, May 30, 2008 5:46 AM
Subject: dealer ROM U04 bankswitch

Hello,

ROMs U01-U03 are checked with the same code in a loop.
There's a separate ROM check for banked U04 at Z80:30F3.
It looks like dealer/revenger uses ppi8255 to control bankswitching.

- Added bankswitch for ROM U04 and removed BAD_DUMP from u4.bin
2008-05-31 09:43:10 +00:00
davidhay
5248a94bcb fix non-debug compile of tecmosys.c 2008-05-31 09:23:51 +00:00
Nicola Salmoria
a69981457a 01847: Various: Unable to construct input ports! 2008-05-31 08:05:55 +00:00
Roberto Fresca
d6ae4d0227 Improvements to gatron.c
- Renamed the games to "Poker 4-1" and "Pull Tabs"
   as shown in the ROMs stickers.
 - Renamed the ROMs in each set according to their own stickers.
 - Moved the driver into gametron.a group.
 - Added the missing input port C to 8255 PPI I/O chip.
   Poker41 and pulltabs don't make use of it, but is present in the Test/Setting Mode.
 - Updated technical notes.
2008-05-31 02:25:49 +00:00
davidhay
533ae64a25 fixed tkdensho gfx rom loading 2008-05-30 22:29:15 +00:00
davidhay
6d55f01443 and again tecmosys video current progress (i should remember to hit save before commit) 2008-05-30 21:25:10 +00:00
davidhay
e9e25754ed current tecmosys video progress 2008-05-30 21:21:31 +00:00
davidhay
948b4f6152 from nuapete - tecmosys protection simulation
(i'm currently working on the video, ignore that part for now)
2008-05-30 19:39:47 +00:00
Nicola Salmoria
63de3abaef assorted duplicate input bits 2008-05-30 06:16:41 +00:00
Aaron Giles
91f55454e4 Fixed Cause register for bad COP instructions. Verified with
mtetrisc and starsldr that they both throw and handle these
exceptions.
2008-05-30 05:59:06 +00:00
Couriersud
c1a1cab523 Fix for Mantis 01699: asteroid, asteroi1, asteroib, asterock, meteor, meteorts: Abnormal discrete sounds
* added NODE_RELATIVE(NODE, offset) macro to discrete.h
* fix asteroid.c, canyon.c, skydiver.c and tank8.c to use this macro instead of adding directly to the node
2008-05-29 21:11:10 +00:00
Roberto Fresca
6736fbc2a5 Sandii' games improvements:
- Switched the color system to RESNET calculations.
 - Hooked the infamous bit7 of Input Port 0x3004 in parallel to DIP switch 1.
   This allow to use the PAYOUT button to trigger the Super Game instead of STOP 5.
 - Demultiplexed lamps matrix.
 - Added lamps support, but is still imperfect.
 - Updated technical notes.
2008-05-29 17:57:17 +00:00
Roberto Fresca
9824000cfe Replaced elgrande ROMs u28 and u68 with new dumps provided by SoftwareThis site.
u28 (color PROM) now has the proper size and seems correct.
u68 (graphics) is far way better, but still have some bad bits.
Removed all patched bits from the driver. These bits now are correct.
2008-05-29 17:35:49 +00:00
Aaron Giles
fe4a4c70b4 64-bit compile fix (d'oh!) 2008-05-29 17:00:13 +00:00
R. Belmont
ee33a2191a Fixed 64-bit GCC compile. 2008-05-29 13:27:10 +00:00
Nathan Woods
e067dc7d9d Made it possible to pass a NULL errorbug to input_port_config_alloc() 2008-05-29 10:56:20 +00:00
Nathan Woods
aa14505377 MESS-specific fix 2008-05-29 10:55:52 +00:00
Aaron Giles
089dbdbd25 Version bump. 2008-05-29 09:27:51 +00:00
Aaron Giles
c852c42952 Cleanups for 0.125u3. 2008-05-29 09:25:51 +00:00
Aaron Giles
7247ecbce2 From: ShimaPong
fixed Testers bug [01039]
-------------------------------

Updated cheat sytem drastically
  * Supported (preliminary) new cheat format
     - Added new operations
        PDWWrite, RWrite, VRWrite, CWrite, Move, Branch, Loop, Popup
     - Added new options
        ValueSelectNegative, Return, AddressReadFrom, DataReadFrom
     - Added cheat variables
        You can store data with Write or Move operations and
        read as an address or data from each fields
     - Added condition check
        for CWrite, Branch and Popup operations
     - Added new custom codes
        Separator, Layer
     - Supported Shared Code [MESS ONLY]
        different machine shares common code for a game

  * Allowed mixed label-select or user-select with standard code

  * Added label selector menu for label-selection code

  * Added extend comment displayer for multi-line comments

  * Added command menu for cheat list and watchpoint
     Easy selectable cheat commands in this menu

  * Added debug view menu [DEBUG BUILD ONLY]
     It displays internal info to debug cheat system

  * Supported unique separator by ui_draw_menu() in several menus

  * Added user defined search region
     You can set free memory range from cheat database

  * Enhanced error check for cheat code to prevent from unexpected working
     Error code is locked. If you select this code, the analyser works
     instead of the code activater

  * Enhanced value input with keyboard-less
     Cheat edit key gives new input system in several menus
     Left/right keys moves the edit cursor and up/down keys changes a value

  * Added cheat command save, reload, reset in option menu

  * Supported address shift in searching
     Now searchable default region in TMS340*0 cpu games (Trog, Smash T.V. etc)

  * Refined cheat menu handling with function pointer called cheat_menu_handler

  * Added format strings table to manage in an integrated fashion

  * Deleted unused hacks of default search region for Neo Geo and TMS34010

  * Refined code based on MAME coding guidelines
     - Renamed many functions/structures/constants
        But not complete due to too many items
     - Converted small but often used functions to INLINE
     - Fixed a comparison in case of 0 or NULL
     - Added missing function prototype for several functions
2008-05-29 08:54:21 +00:00
Aaron Giles
7733c26136 Removed obsolete comment. 2008-05-29 08:40:40 +00:00
Aaron Giles
c9caffe405 Added internal default tags for input ports when saving/loading. 2008-05-29 08:39:27 +00:00
Aaron Giles
e06d8f3ce8 Fixed bug that caused DIP switches to be improperly read from game cfg file. 2008-05-29 08:28:20 +00:00
Aaron Giles
650dfb8a28 Moved implementation-specific state into a pointer hanging off of the core
MIPS3 state.

Removed large context in favor of a pointer to the large context to help
improve context switch times.
2008-05-29 08:22:50 +00:00
Nicola Salmoria
ceeb086b24 removed meaningless service_coin_lockout_w function
updated the zaxxon driver to correctly handle the coin enable lines
2008-05-29 08:02:46 +00:00
Aaron Giles
65934e7aa5 Added new option -snapname which lets you provide a template for how snapshot
names are generated.

Added new astring functions astring_del, astring_replace, and astring_replacec
to help perform simple search/replace substitution.
2008-05-29 08:00:23 +00:00
Aaron Giles
eeb821032e Several miscellaneous changes:
1. In the MIPS core:
    - renamed struct mips3_config -> mips3_config
    - updated all drivers to the new names
    - removed MIPS3DRC_STRICT_COP0 flag, which is no longer used
    - a few minor cleanups

2. In the CPU interface:
    - added new 'intention' parameter to the translate callback to
       indicate read/write/fetch access, user/supervisor mode, and
       a flag for debugging
    - updated all call sites to pass an appropriate value
    - updated all CPU cores to the new prototype

3. In the UML:
    - added new opcode SETC to set the carry flag from a source bit
    - added new opcode BSWAP to swap bytes within a value
    - updated C, x86, x64 back-ends to support the new opcodes
    - updated disassembler to support the new opcodes

4. In the DRC frontend:
    - fixed bug in handling edge case with the PC near the 0 or ~0
2008-05-29 07:18:35 +00:00
Phil Bennett
9438e76f1f New games added or promoted from NOT_WORKING status
—————————————————
Coronation Street Quiz Game [Phil Bennett]
2008-05-28 20:10:20 +00:00
Nathan Woods
f2c5b0db7d Fixed a benign bug in the x86 DRC backend 2008-05-28 12:04:08 +00:00
Nicola Salmoria
13c6f7123f clock verified on pcb 2008-05-28 08:07:01 +00:00
Couriersud
5f14205535 dkong.c: Fix duplicate input port bits for dkong3 2008-05-27 19:50:35 +00:00
Couriersud
26e4f50fc0 Credit Miodrag Milanovic: Implement autoload mode in 8257
* added support for autoload mode
* fixed bug in calculating count
2008-05-27 19:45:27 +00:00
Nicola Salmoria
0689a9586e increased clock rate, merged memory maps
01153: clshroad: [possible] The game is slow, the frame rate suffers, and even the calorie bar flickers. 
00267: clshroad: [possible] Occasionally a cycler who's graphics are garbled will come along,
2008-05-27 07:10:00 +00:00
Roberto Fresca
3e379b8d89 Moved suprpool to a better match hardware.
Fixed the ROM load and added a list of PCB components.
2008-05-27 04:37:10 +00:00
davidhay
be5ebca7d1 dcheese.c (cecmatch) minor cleanup + recap for whatsnew.txt (please use this info, not earlier info)
New Games Supported
-------------------

ChuckECheese's Match Game [Exodus]

New Clones Supported
--------------------

Fred Flintstones' Memory Match (US, High Score version, 3/10/95) [Exodus]
Fred Flintstones' Memory Match (UK, 3/17/95) [Exodus]
Fred Flintstones' Memory Match (Japan, High Score version, 3/20/95) [Exodus]
Fred Flintstones' Memory Match (Mandarin Chinese, 3/17/95) [Exodus]
Fred Flintstones' Memory Match (Spanish, 3/17/95) [Exodus]
2008-05-26 22:41:53 +00:00
Roberto Zandona
e3117a7eee fix for mantis 01834: fitegolf, countryc: Graphics corruption 2008-05-26 19:43:39 +00:00
davidhay
4a1e722778 changed it a bit so that it doesn't crash.. but it's still wrong, key functionality appears to have been stripped at some point, and the code really shouldn't have ever even existed. 2008-05-26 13:43:24 +00:00
davidhay
4afa8414ca disabled a block of code which was causing gijoe to crash and added a comment to say why.
I don't know what the code is meant to do, but the way it's been written will surely always crash.  (acho-code?)
2008-05-26 12:40:06 +00:00
davidhay
cb307248db same in segae.c .. looks like a wide-spread copy+paste error?
i'm just fixing these as I come across them, playing games :-p
2008-05-26 11:45:39 +00:00
davidhay
1578ea3d8b and another 2008-05-26 11:39:36 +00:00
davidhay
e4b80c666d fix duplicate input bits in cps1.c
this new validity check is certainly handy :-)
2008-05-26 11:34:08 +00:00
davidhay
711d5a597b fix duplicate port bits. 2008-05-26 11:30:55 +00:00
Nicola Salmoria
246885e3c2 fixed cpu_getiloops() which was not returning the correct value.
This fixes
01780: pingpong: Level select arrow's not displayed 
and possibly other timing related bugs.
2008-05-26 08:31:34 +00:00
Nicola Salmoria
1b1202134a added a comment which I've been sitting on for weeks 2008-05-26 08:17:30 +00:00
Brian Troha
78cf952b98 Use correct Japanese name Magical Error wo Sagase 2008-05-26 01:44:15 +00:00
Aaron Giles
40dea6049e Added new front-end flag to tag privileged instructions.
Minor tweaks/cleanups to the MIPS3 drc.
2008-05-25 22:09:21 +00:00
Aaron Giles
238dc3aada Removed empty input ports from the empty driver, in favor of a NULL entry. 2008-05-25 22:07:15 +00:00
Aaron Giles
62fb5f8f0d 01822: OSD causes crash when try to show the Screen Refresh Rate menu 2008-05-25 22:03:20 +00:00
Aaron Giles
564be8e7a2 Refinement of previous check-in to handle conditional inputs.
Fixed 01836: qcrayon2: Conditional input not visible/working for dip game control joystick
2008-05-25 21:59:19 +00:00
davidhay
098370c67f pacman.c: fix duplicate port bits 2008-05-25 21:44:54 +00:00
Aaron Giles
67db0742f0 Added TOKEN_SKIP_* macros to tokenize.h.
Changed error reporting during input port detokenization to fill a buffer
rather than fatalerror-ing immediately. Should now properly skip over
any invalid tokens.

Enhanced error detection during input port detokenization to catch 
duplicate bits. There are a lot of these!

Updated initialization code to print errors and fatal only if the input
ports were unable to be constructed at all.
2008-05-25 21:24:19 +00:00
davidhay
032c1ddaee spikes91 is also clearly meant to run at a lower resolution.. 2008-05-25 20:43:23 +00:00
davidhay
7c28627595 fix mantis 1833, missing text layer in spikes91 (alignment may still be incorrect) 2008-05-25 20:31:53 +00:00
Nathan Woods
200cda66f1 MESS-specific: Added hook for default keyboard key names 2008-05-25 19:39:13 +00:00
davidhay
fc8d7ec1b5 fix finalgdr not accepting coins (mantis 1832)
problem was double mapped input bits.  Aaron, could we have a validity check for this?  looks like it affects an number of drivers?

maybe also a validty check for unmapped port bits?  surely all ports should be either 8-bit, 16-bit, 32-bit or 64-bit, and nothing else.. unused bits should be mapped as unused...
2008-05-25 18:40:12 +00:00
Nathan Woods
2bd5a419b1 Changed text used to specify a menu separator, and now using a #define 2008-05-25 18:31:29 +00:00
davidhay
68b9449e03 fixed game name.. it's ChuckECheese, not CheeseECheese ;D 2008-05-25 15:23:42 +00:00
Aaron Giles
95c9cf14a2 Fixed sense of the EEPROM line. 2008-05-25 14:51:14 +00:00
Nathan Woods
0a624c8f7a Updates from MESS in response to 0.125u2 2008-05-25 12:58:14 +00:00
Nicola Salmoria
2eb9b46ffd Put back the TMS5200 to 640kHz waiting for proper measure to be taken. 2008-05-25 12:32:16 +00:00
Nicola Salmoria
c7d10617ee 01741: ldrun4: Sprites are misplaced two pixels to the right. 2008-05-25 11:55:28 +00:00
davidhay
8c7ae5d907 new game (chuckecheese) and new clones (flintstones mem match) added [Exodus]
this is in addition to his previous 'japan' set addition.

(this driver seems to have developed some sound problems? no sound in several 'fred' sets, and no sound in chuck e cheese, lottofun reports eeprom error sometimes? any ideas?)

New games
---------

CheeseECheese's Match Game [Exodus]

New clones
----------

Fred Flintstones' Memory Match (US, High Score version, 3/10/95) [Exodus]
Fred Flintstones' Memory Match (UK, 3/17/95) [Exodus]
Fred Flintstones' Memory Match (Mandarin Chinese, 3/17/95) [Exodus]
Coastal Amusements", "Fred Flintstones' Memory Match (Spanish, 3/17/95) [Exodus]
2008-05-25 11:41:32 +00:00
Nicola Salmoria
6675a09b4c 00240: galaga88: Most of the time the shooting accuracy shown on the screen when the game is over is not computed correctly. 2008-05-25 10:21:02 +00:00
Brian Troha
0494d77eb2 corrected mask rom names and added a little bit more info (IE: PCB # for Magical Error) 2008-05-25 06:23:31 +00:00
Brian Troha
2a3b9d9d25 New clones added
----------------
Atomic Boy (revision B) [Stefan Lindberg]

Different size roms... During game play, player helmet is green not blue.  Different colors in the splash screen and text.
2008-05-25 05:48:06 +00:00
Aaron Giles
7cb1326459 Renamed EEPROM_* to eeprom_*
Typedef'ed a real eeprom_interface structure.

Added a PORT_CUSTOM for the eeprom bit reading. Updated several
drivers to use that by specifying it in their input ports instead
of having a custom read handler that inserted the bit forcefully.

Added a PORT_CUSTOM for the ticket dispenser callback as well.
Updated the dcheese driver to use it.

Many more drivers can be updated to use these new PORT_CUSTOMs
in the future, eliminating hacky input port read handlers.
2008-05-25 05:38:24 +00:00
Brian Troha
f36dece898 New clones added
----------------
Dynamite Cop (USA, Model 2C) [The Guru]


Non-working as all the 2C-CRX games seem completly broken
2008-05-25 05:35:06 +00:00
Andrew Gardner
9e221d7aa1 Reverts Rapid River addition.
Not a true svn revert since changes were made since, but Rapid River is gone from namcos23.c now.
The ROMs have been removed from /roms/current/r and put back in /roms/unemulated/Namco/system23.
The Wiki GAME_NOT_WORKING page has been edited accordingly.
2008-05-25 01:08:16 +00:00
Andrew Gardner
e1c3240772 Some minor changes to the new readmes as per Guru and Brian's advice. 2008-05-24 23:33:29 +00:00
Andrew Gardner
42ebc0e10c New games marked as GAME_NOT_WORKING
------------------------------------
Rapid River

Please credit Guru for his dump and his readme.

The ROMs and readme were put in namcos23.c since they fit well, but the set doesn't get as far as the rest of the games in the driver.
Roms moved from /roms/unemulated/Namco/system23 to /roms/current/r.
Updated the GAME_NOT_WORKING page on the Wiki.
2008-05-24 23:10:11 +00:00
Nicola Salmoria
e946f18d15 00245: tomahawk: [possible] There are no separate keys for player 2 in cocktail mode. 2008-05-24 23:09:10 +00:00
Nicola Salmoria
91e35e62ed 01735: sf2m4, sf2m5, sf2m6, sf2m7, sf2yyc, sf2koryu: games with bootleg kludge doesn't work 2008-05-24 22:30:38 +00:00
Couriersud
0e837029de Mantis 00070: nettoqc: In-game message.
* Put #ifdef MAME_DEBUG around popmessage
2008-05-24 21:45:01 +00:00
Couriersud
bde6932ef4 Mantis 01756: 800fath, knockout, marine, triplep: No sound in game. 2008-05-24 21:10:13 +00:00
Couriersud
558aab9d08 Fix DEBUG=1 compile 2008-05-24 20:45:29 +00:00
Andrew Gardner
1c70bfa1fd Adds latest hardware info for drivers hornet and konamim2.
This patch adds the latest guru readmes to two konami drivers.
2008-05-24 18:12:26 +00:00
Andrew Gardner
27a1b36b27 Updates drivers with latest hardware info.
Merges Sega System 16b info in MAME with latest Guru readme.
Adds Namco System 22 readme to MAME (removes previously-added, redundant Prop Cycle info).
Merges Namco System 23 info in MAME with latest Guru readme.
2008-05-24 17:15:08 +00:00
Aaron Giles
a643604cbd 01825: Toggling Tab menu works as F2 key in games with their service
mode DIPs on the top of the menu

Fixed behavior of toggle switches so that they don't lose their value
when the UI is up. They also can now be used for multibit DIP switch
settings in which case they toggle through all the options.

New functions input_field_select_next_setting() and 
input_field_select_previous_setting() which can be used to iterate
properly through DIP switches. Fixed the behavior for cases where
conditional ports are in play (you could get stuck). Changed uimenu.c
to call these instead of implementing its own.

Changed uimenu.c so that hitting ENTER on a DIP switch resets it to
its default value. This is analagous to how the OSD sliders behave.
2008-05-24 17:01:49 +00:00
Wilbert Pol
4e1afc32f5 Fixed memory access in the 80286 cpu core which made i286.h obsolete. Changed CPUINFO_INT_MAX_INSTRUCTION_BYTES to prevent crashes during disassembly. 2008-05-24 15:14:12 +00:00
Nicola Salmoria
4b53f7eebb added NO_COCKTAIL flag 2008-05-24 12:12:29 +00:00
Nicola Salmoria
939f6d8b98 fix PORT_IMPULSE handling. The old code would force inputs to be asserted for at least the number of frames indicated, but keeping the button pressed would keep the input asserted. Now the input is asserted far exactly the number of frames indicated. 2008-05-24 11:49:31 +00:00
Nicola Salmoria
acbf9d1397 00208: monymony: I am measuring clocks on my Money Money pcb but I have a problem with the tms5200 clock.
changed monymony and portrait to use TMS5200 instead of TMS5220
2008-05-24 11:29:05 +00:00
Nicola Salmoria
5d31779cc3 00407: qtono2: At the game over scene, MAME reports "layer c000 contact MAMEDEV". 2008-05-24 11:04:27 +00:00
Nicola Salmoria
f61b3367a6 00237: jumping: I have a Jumping bootleg and the music has the same tempo of the original rainbow islands. 2008-05-24 10:59:39 +00:00
Nicola Salmoria
7f17672586 01776: pzloop2, pzloop2j: In-game message "write to CPS-A register 24 contact MAMEDEV" at startup. 2008-05-24 10:46:07 +00:00
Nicola Salmoria
896776258a 01755: mmatrix, mmatrixj: CPS-B read port 10 2008-05-24 10:31:25 +00:00
davidhay
b316720eaf new clone: (correction of previous submission information)
Fred Flintstones' Memory Match (Japan, High Score version, 3/20/95) [Exodus]
2008-05-23 23:01:31 +00:00
Jim Stolis
7767ecd8cf Optimized code via Aaron's suggestions. 2008-05-23 22:57:34 +00:00
Couriersud
76abed1de4 Mantis 01823: digdug, xevious, galaga + all clones: cocktail mode, player 2 has all sprites offset by an inch or two 2008-05-23 22:30:19 +00:00
Jim Stolis
ed10c748db * Updated coin-in timing
* Extended memory address range of DUART
* Fixed overlapping input port bits

New games added or promoted from NOT_WORKING status
---------------------------------------------------
Player's Edge Plus (XP000112) White Hot Aces Poker [hammer300]
2008-05-23 22:11:19 +00:00
Couriersud
8c350baded Mantis 01826: All sets in mappy.c: All cocktail modes are displayed incorrectly for 2nd player 2008-05-23 21:50:59 +00:00
Couriersud
55c18d1204 Mantis 01819: "Coinlock disabled coin x" message displayed upon startup
* Only check for coin lockout if actually pressed
2008-05-23 20:30:58 +00:00
Couriersud
39d0ec803c Mantis 01719: bking, bking2, bking3: Player 1 and 2 Start mapped twice.
* reviewed wiring in schematics/manual
* Changed input accordingly
2008-05-23 20:11:08 +00:00
Curt Coder
879dc21122 Fixed COP420 instructions XAS and INIL. Fixed cycle count for extended opcodes. Added CKO general purpose input. 2008-05-23 15:15:41 +00:00
Nathan Woods
4f6b8e9d91 Passing more running_machine* parameters around 2008-05-23 11:22:34 +00:00
Roberto Fresca
cc5dc262de Improvements to American Poker II driver.
- Reworked the color routines switching to resnet system.
 - Added a resistor network diagram.
 - Switch to pre-defined crystal value.
 - Changed the WATCHDOG_TIME_INIT to be based on miliseconds instead of hertz.
 - Other minor cleanup/fixes.
 - Updated technical notes.
2008-05-23 10:46:26 +00:00
Roberto Fresca
bd9c4ed080 Fix for MAMETesters 01690. [Fabio Priuli]
(original message)

From: Fabio Priuli [mailto:doge.fabio@gmail.com] 
Sent: Thursday, May 22, 2008 10:45 PM
To: submit@mamedev.org
Subject: fix for bug MT 01690

Hi, enclosed please find a one line change to fix graphical regression in goldstar.c games. I guess it's been a typo.

Regards,
Fabio Priuli

 

 

p.s. diff'ed over 0.125u2
2008-05-23 06:22:53 +00:00
Brian Troha
95dd6ebae7 New games added or promoted from NOT_WORKING status
---------------------------------------------------
beatmania THE FINAL (ver JA-A) [Chizzy]
2008-05-23 02:55:01 +00:00
Brian Troha
1300f5a894 New clones added
----------------
Mighty! Pang (Euro 001010) [Bonky]


Checking in a forwarded email... ;-)
2008-05-23 02:17:32 +00:00
davidhay
0eb824b283 new clone:
Fred Flintstones' Memory Match (Japan, High Score version, 3/20/95) [Jay Bix]
2008-05-22 20:54:36 +00:00
Curt Coder
9962c0f826 Fixed COP420 instructions JSRP, LBI, LQID, and SKT. Draco now has sound. 2008-05-22 15:16:06 +00:00
Andrew Gardner
8452d1d622 Documentation updates for Prop Cycle, Behind Enemy Lines, and Cool Riders.
I'm doing the ROMs in /roms/redundant-mostly from largest size to smallest size.  When adding info to the drivers, I'm erring on the side of completeness, so please excuse me if some of this information can be collated into more interesting tables (namcos22, model2).

I haven't deleted these zips from the ftp yet.  If anyone sees a problem, please feel free to point it out before the zips find a new permanent home on my local drive.

1. (propcycl.zip) Added prop cycle readme to ROM definition region (even though it was almost the same as alpine racer, the PICs were different, as was the RAM chip type)
2. (invasn.zip) Uploaded Invasion PCB pic.
3. (bel.zip) Added readme to ROM Definition region of Behind Enemy Lines driver.
4. (coolridr.zip) Tightened up the readme in coolridr.c.
5. (tekken2.zip) The Namco System 11 documentation contains all the information the tekken2.zip readme has.  Nothing to do here.
6. (dendeg.zip) The taitojc driver already contained the FILE_ID.DIZ (ah, the memories) verbatim.

This will clear ~120 mb off the FTP.
2008-05-22 15:14:40 +00:00
davidhay
559221185a added a note about the game.. 2008-05-22 07:27:24 +00:00
davidhay
496b9ae444 change default dip.. common coinslot mode seems broken, or our code is wrong. 2008-05-22 07:22:59 +00:00
Aaron Giles
6956106eba Removed imperfect sound flag from Qbert's Qubes. 2008-05-22 05:43:19 +00:00
Aaron Giles
d5ff8c002a Cleanups and version bump. 2008-05-22 05:19:16 +00:00
Aaron Giles
f4523617ed Fix 01815: All Sets: Saved machine states do not properly adjust to changes in -samplerate 2008-05-22 05:15:33 +00:00
Aaron Giles
41372cf177 Added verbosity for max texture size. 2008-05-22 05:08:01 +00:00
Aaron Giles
11b1331d3f Fixed incorrectly sized array that led to stack corruption during validity checks.
Fixes CPS1 no-start issue.
2008-05-22 05:04:14 +00:00
Aaron Giles
d4c1d73b8f > -----Original Message-----
> From: deaconblue@worldofretro.net [mailto:deaconblue@worldofretro.net] 
> Subject: shuttle invader (shuttlei)
> 
> i remember that there was a three coloured pressure-sensitive decal on
> the screen, i mean the monitor itself.
> 
> maybe 75 percent was green (the aliens are in "green" status, green
> area), then 10 percent was orange (they come closer, two lines in total)
> and from that below was red, to show up, they as close as they never
> should be (red alert state)
> 
> i can't say, how much lines they spend for each color, but i surely
> know, that my memories is very close to that what it was....
> 
> 
> 
> maybe you can use this, thanks in advance for your answer...
> 
> Deacon
2008-05-22 03:44:26 +00:00
Aaron Giles
d98a598223 From: Chris [mailto:gyrovision@gmail.com]
Subject: MAME Submission Attached 2-2

Again, re-submitting in case this wasn't received.
This is a new set of official Gorf sound samples which I recorded from my pcb. 
The file contains a .diff to raise the default samples volume from 0.25 to 0.85. 

To prove the accuracy of these samples, I made an uninterrupted 20 minute long 
direct MP3 recording of the gameplay which can be downloaded HERE.  

Anyone interested in the documentation of the Votrax speech for Astrocade hardware 
can download my file posted on MAME World HERE. The file contains pcb recordings of 
every possible word and phrase used in Gorf and Wizard of Wor, and includes detailed 
notes indicating where words are spoken and when.

Chris Law
gyrovision@gmail.com
2008-05-22 03:41:20 +00:00
Aaron Giles
eea897cc5b Correct CRCs. 2008-05-22 03:35:25 +00:00
Aaron Giles
a5ef2c32f9 From: abcd efgh [mailto:cix_999@yahoo.it]
Some work on lwings.c: Input clean up, added dips location, fix lwingsb dips life and merge machine drivers. 
Bye Sonikos :-D
2008-05-22 03:26:26 +00:00
Aaron Giles
defcc8895b From: Atari Ace [mailto:atari_ace@verizon.net]
Subject: [patch] Missed Machine->machine changes

Hi mamedev,

A short incremental to my last deprecat.h patches.  This one is the
result of a slightly improved fixup script, which finds more cases
where Machine can be replaced with machine.  Six more files lose
deprecat.h.

~aa
2008-05-22 03:24:45 +00:00
Aaron Giles
a300da2178 From: Atari Ace [mailto:atari_ace@verizon.net]
Subject: [patch] More Machine->machine changes, add machine to irq
callbacks

Hi mamedev,

Here are two more patches to eliminate Machine globals.  The first
patch was autogenerated by the attached fixup script.  That script has
been updated to catch additional cases which it previously missed
(when Machine is the last parameter to a function or Machine is used
in an assignment).  This makes ~50 more files deprecat.h free.

A sizable chunk (~20%) of the remaining uses of the Machine global in
the drivers are due to irq callbacks for sound and machine updates.
Typically such callbacks need to call cpunum_set_input_line, which
requires a machine parameter, so if the callbacks don't pass the
machine parameter, these routines have no choice but to reference the
global variable.

The second patch attempts to address most cases of this by adding the
machine parameter to the callback interfaces.  This allows us to
remove #include "deprecat.h" from ~150 files, at the cost of having to
fix up hundreds of callbacks.

In total, these patches reduced the number of files with deprecat.h
from 783 to 575.

~aa
2008-05-22 03:23:28 +00:00
Aaron Giles
98a8e73947 From: Antoine Mine [mailto:Antoine.Mine@ens.fr]
Subject: saturn CPU patch

Dear MAMEDev,

The attached patch corrects several bugs in the emulation of the saturn 
CPU. These corrections are needed to make new HP48 drivers (to be 
submitted to MESS imminently) work.
AFAIK, MESS is the only place where this CPU is used, so, the patch
should 
not cause any regression in MAME.
The patch is against 0125u1.

Best regards,
-
Antoine Mine
2008-05-22 03:09:01 +00:00
Aaron Giles
bb9fec0f86 Moving old DRC out of the way. 2008-05-22 03:06:49 +00:00
Aaron Giles
1561edf049 UML changes:
* Added new opcode LZCNT which returns the number of leading zeros in
   a parameter.
 * Added new opcode XTRACT which is a combined rotate/mask (basically
   rlwinm from PowerPC)
 * Added new opcode INSERT which is a combined rotate/mask/blend
   (basically rlwimi from PowerPC). Best. Opcode. Ever.
 * Updated all back-ends to support these new opcodes.
 * Fixed several bugs relating to shifts/rotates and optimizing out
   cases incorrectly.

MIPS3 DRC changes:
 * Updated to use INSERT and XTRACT where appropriate
 * Cleaned up register usage to enable an additional direct mapping;
   this means Linux gets 1 now and Windows gets 3
2008-05-22 03:05:13 +00:00
Roberto Fresca
6767bc23e9 Some improvements to Sandii' games:
- Confirmed the CPU clock after some PCB measurements.
 - Changed the SND clock to 1MHz to match the PCB measurement.
 - Corrected the internal OKI6295 frequency turning the pin 7 state to HIGH.
 - Inputs: Eliminated all pulse limitations.
   Affected buttons have a rattled sound in the real thing too.
 - Updated technical notes.

Please also co-credit f205v for the measurements.
2008-05-22 03:00:17 +00:00
Aaron Giles
229e42f524 Turn on joysticks by default. 2008-05-21 16:59:26 +00:00
Aaron Giles
caa2a53c7f Added support in the MIPS recompiler to map a few common registers to
machine registers if the machine supports it. Currently only x64 on
Windows has enough free registers to do so, though PowerPC will almost
certainly be able to take advantage of this. Gives a minor speedup.
2008-05-21 10:59:05 +00:00
Aaron Giles
96c8dfd0ab Fix compiler error. 2008-05-21 08:59:20 +00:00
Aaron Giles
21920d4e44 Minor cleanup. 2008-05-21 07:54:40 +00:00
Roberto Zandona
a32c0764e9 1991 spikes (Italian bootleg): fix offsets and promoted to working 2008-05-21 06:12:00 +00:00
R. Belmont
0678d0dd22 Fix World Rally MCU comms on big-endian. 2008-05-21 04:39:08 +00:00
Andrew Gardner
7f626074a1 Reverts the Readme addition to dgpix.c
Didn't notice it was already down there by the ROM_START macros.
2008-05-21 04:25:18 +00:00
Couriersud
e3ad59550d 01814: YM2608 games (tail2nos, sformula, wc90, mechatt): Only basic music, no more samples
* added AY8910_SINGLE_OUTPUT to enable *all* channels - ouch
2008-05-20 23:51:22 +00:00
Jonathan Gevaryahu
009fcb7b7c Added proper interpolation sub-cycles ('PC' cycles and A/B subcycles of each) to tms5110 and updated comments. Also added code to update lfsr 20 times instead of once per sample, so it matches the real chip. Updated tms5110 to use shifts instead of divides during interpolation. 2008-05-20 04:38:56 +00:00
Andrew Gardner
acb49a19dc Adds Guru Readme to DGPix driver.
I was able to clean up 24 meg of already-emulated ROMs from /roms/unemulated/Misc.  Only one of the sets had a readme that wasn't in MAME.

I have a local copy of discoboy.zip, FishingManiac3.zip, PashaPasha2.zip, and PashaPasha2_redump.zip, and will continue to keep these around in case anyone needs them.
2008-05-20 04:30:04 +00:00
Jonathan Gevaryahu
ae6bf98511 Added proper interpolation sub-cycles ('PC' cycles and A/B subcycles of each) and updated comments 2008-05-20 01:53:25 +00:00
Aaron Giles
3c6278aef8 Fix crasher in drcfe.c. 2008-05-20 00:59:20 +00:00
Aaron Giles
fdf128e2d7 Implemented IDT instructions. All invalid instruction asserts are now runtime-only. 2008-05-20 00:22:50 +00:00
Wilbert Pol
50ec9b1076 Fixed 80286 databus widths. 2008-05-19 19:43:17 +00:00
R. Belmont
071164f3a7 64-bit GCC compile fix. 2008-05-19 17:10:32 +00:00
Aaron Giles
d411c2c74c Numerous MIPS3 DRC updates:
* Fixed front-end so that virtual no-op instructions are still targeted
as branch targets.

* Fixed front-end to mark the beginning of each sequence as needing TLB
validation, since any sequence can be jumped to from anywhere.

* Redid the MIPS3 TLB implementation. Fixed the exception vector and
type handling. Changed the bitfields to directly map from the MIPS TLB
format. Added distinction between TLB fill and TLB valid/modified
exceptions.

* Added separate modes for user, supervisor, and kernel modes. Each mode
does proper verification of addresses now and generates address errors
for invalid accesses.

* Fixed several bugs in the TLB implementation; not everything works
yet but it's a lot closer.

* Made COP0 access checking mandatory in non-kernel modes.

* Fixed several crashes when recompiling virtual no-ops.

* Fixed TLB bug where entries for virtual address 0 were present by 
default.

* Fixed bug in the map variable implementation that would sometimes
result in incorrectly recovered values.
2008-05-19 16:58:42 +00:00
Curt Coder
d41a31dd12 Fixed CDP1869 character memory access, and Cidelsa sprite flashing. 2008-05-19 15:38:19 +00:00
R. Belmont
ef6d13be04 Fix N64 rendering on big-endian targets. 2008-05-19 02:37:09 +00:00
R. Belmont
8d210c82b5 Fixed compiler warning for Apple GCC. 2008-05-19 02:03:59 +00:00
Aaron Giles
969a705508 Added back-end validation mechanism, and a handful of tests as examples.
This will be expanded in the future.

Added two new opcodes: SAVE and RESTORE to save and restore the entire
virtual machine state for examination/setup.

Added new back-end function get_info() which returns information from
the back-end about how many actual registers will be mapped.

Fixed a bug that mapped the high a low parts of registers to the same
address. This should help the C back-end run better on big-endian
architectures.
2008-05-19 00:58:16 +00:00
davidhay
383c7daf62 adds Beauty Block, non-working. I had it displaying something at one point, but nothing correct. Maybe there is some kind of protection? I haven't been able to figure it out. 2008-05-18 21:49:07 +00:00
davidhay
b08d2e9947 undo accidental change, we can't enable the full bios on suprnova yet, it's still broken. 2008-05-18 20:11:58 +00:00
davidhay
9b467f4e1c spikes91 sprite colours.. without resorting to hacks. 2008-05-18 20:11:16 +00:00
davidhay
00e72579a8 adds Gals Panic SU (Korea) (credit The Guru) 2008-05-18 19:54:52 +00:00
Aaron Giles
1c33c2f29b Fixed crash when reading ports by tag, when some ports don't have tags. 2008-05-18 14:21:28 +00:00
Nathan Woods
d2123b2803 Passing running_machine* parameter 2008-05-17 22:42:22 +00:00
Aaron Giles
28855e088a Fixed a couple of obvious errors in the TLB implementation. 2008-05-17 19:48:17 +00:00
Aaron Giles
0c1aaf1526 Added some instrumentation for the MMU. To enable it, turn on PRINTF_MMU at the top
of the file. Currently it is left on because none of the MAME games rely on it.
2008-05-17 17:11:12 +00:00