Commit Graph

1975 Commits

Author SHA1 Message Date
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
Manuel Abadia
8f9d964411 Mirko Mattioli input changes have been verified.
He has the Atari manual that clearly says that the game has one pedal (accel) and the gear shift.

He has done some tests between the PCB and driver and now both behave the same.

Sorry if I caused some confusion...
2008-05-17 13:42:28 +00:00
Manuel Abadia
62cfcc09be fixed copy paste error in the latest commit 2008-05-17 08:55:47 +00:00
Manuel Abadia
976ceb9113 Added wheel support by Mirko Mattioli. However what he calls shift gear is the brake. AFAIK world rally in non joystick version has:
- a wheel
- 2 analog pedals (acceleration, brake)
- gear shift

Currently if you use the analog controls, it takes a lot of time to accelerate and there is no gear shift mapped. I have sent an email to Mirko so probably he will figure out the missing bits of non joystick mode.
2008-05-17 08:49:24 +00:00
Aaron Giles
5c0e902901 Cleaned up operand sizing in the C core. Should be closer to working
on big-endian systems.
2008-05-17 06:47:25 +00:00
Brian Troha
953604172e New clones added
----------------
Miss Puzzle (Clone of Gumbo) [The Guru]
2008-05-17 05:57:45 +00:00
Brian Troha
32d0e73099 use parent rom names as clone had no labels as per the Guru 2008-05-17 05:02:46 +00:00
Aaron Giles
9abf2c3efa Added support for ROUNDSS and ROUNDSD on Penryn architectures. 2008-05-17 02:11:48 +00:00
Brian Troha
d197133829 New clones added
----------------
Last Fortress - Toride (Korea) [The Guru]
2008-05-16 22:36:13 +00:00
Phil Bennett
ab6cada0af Fixed black pixel patches present in the TC0100SCN fg layer of undrfire and groundfx. 2008-05-16 18:49:10 +00:00
Aaron Giles
b2ad4af505 As if Intel didn't already have enough opcodes. Added defines for new
Penryn opcodes.
2008-05-16 14:36:54 +00:00
Phil Stroffolino
c8e3dcfc5e Adjusted alternate palette handling weights to more accurately match real hardware - text anti-aliasing is much more noticable.
Adjustment to roz layer priority - prevents roz layer from incorrectly being displayed over backgrounds in some games (i.e. numanathj)

Added a mask when processing the roz tilemap to avoid defects in emeraldj
2008-05-16 13:22:04 +00:00
Aaron Giles
271ac2a7a2 Added a quick & dirty attempt at implementing tlb_mismatch. It's likely wrong,
but it's better than nothing. Also added an assertion if you jump to unmapped
code and added handling for compile-time page faults.
2008-05-16 05:21:25 +00:00
Aaron Giles
be680b1346 Oops forgot to save EBX. 2008-05-16 05:20:41 +00:00
Aaron Giles
0d249058cf Fix bug 1804. Now checking for SSE3 before using truncation functions.
Also fixed incorrect floating point assertion in x86 back-end.
2008-05-16 05:08:32 +00:00
Couriersud
eb59ae219e Fix 64bit build on linux
* Changed (void *) <some int32> to (void *)(FPTR)<some int32>
2008-05-15 21:29:09 +00:00
mariuszw1
7ee04a5081 Reverting of changes made with revision 1578 (tmaster.c input fixes)
The problem is that original submission was sent with reversed diff, I applied it (after Aaron request to commit external submissions), and then Aaron applied it again (with original reversed diff), effectively reverting to old version of code.
2008-05-15 21:04:37 +00:00
Aaron Giles
096331c856 Restructured input port internals and cleaned up inptport.c:
* Input ports are now maintained hierarchically. At the top
level are input ports, which contain a list of fields. Each
field represents one or more bits of the port. Certain fields
such as DIP switches and configuration switches contain a
list of settings, which can be selected. DIP switch fields
can also contain a list of DIP switch locations.

* Normalized behavior of port overrides (via PORT_INCLUDE or
by defining multiple overlapping bits). All fields within a
port are kept in strict increasing bit order, so altered DIP
switches are now kept in the appropriate order. This addresses
MAMETesters bug 01671.

* Live port state is now fully separate from configured 
state. This is manifested in a similar way to devices, where
a const list of ports can be managed either offline or live.
Each port has a pointer to an opaque set of live state which
is NULL when offline or valid when live. Each port also has
a running_machine * which is also NULL when offline.

* Because of this new arrangement, the conversion from tokens
to a list of ports now requires reasonably complex memory
allocation, so these port lists must be explicitly allocated
and freed (they are not mantained by automatic resource
allocation).

* Custom and changed callbacks now take a pointer to a field
config instead of a running machine. This provides more
information about what field triggered the change notification.
The machine can be found by referenced field->port->machine.

* The inptport.c module has been cleaned up and many 
ambiguities resolved. Most of this is internal, though it did
result in osd_customize_inputport_list() being changed to
osd_customize_input_type_list(). The parameter to this function
is now a linked list instead of an array, and the structures
referenced have been reorganized somewhat.

* Updated config.c to pass machine parameters to its callbacks.

* Updated validity checks, XML output, and UI system to handle
the new structures.

* Moved large table of default input settings to a separate
include file inpttype.h.

* Removed gross hacks in trackfld and hyperspt NVRAM. These
may be broken as a result.
2008-05-15 16:25:03 +00:00
Phil Stroffolino
bc4b470ebb fixed long-standing bug with Emeralda text colors. A sprite attribute exists which signals an alternate interpretation of palette ram.
fixed priority for the bitmap layer used in Numan Athletics
2008-05-15 12:43:54 +00:00
Aaron Giles
21a686cf7d Cleanups and version bump. 2008-05-15 08:56:29 +00:00
Aaron Giles
934fbd9fc2 Removed unused functions. 2008-05-15 08:53:58 +00:00
Aaron Giles
18934c8c53 From: abcd efgh [mailto:cix_999@yahoo.it]
Subject: lwings bootleg

Added a Legendary Wings' bootleg, it have some little difference on character's gfx and colours.
Here are attached also the  rom taken from f205v web.
Bye Sonikos .

New clones added:
Legendary Wings (bootleg) [Sonikos]
2008-05-15 08:25:15 +00:00
Aaron Giles
c2672d8948 From: Luigi30 [mailto:luigi30@gmail.com]
Subject: More tmaster.c fixes

Coin inputs fixed, validator input added, notes on inputs added
2008-05-15 08:24:08 +00:00
Aaron Giles
44fbeff9bf From: Atari Ace [mailto:atari_ace@verizon.net]
Subject: [patch] Remove opbase globals from the public interface

Hi mamedev,

There are several variables associated with opbase handling which are
global and documented in memory.h and thus their use is not well
controlled.  This patch attempts to remedy this.  Because they are
used in various inline memory functions, they can't yet be made local
to memory.c, but by rescoping their declaration they can be hidden,
much like we hide totalcpu.

Most of the uses are in OPBASE_HANDLER() macros, so by encapsulating
the opbase state into a struct and adding that to the handler
interface those can be converted to local variable manipulation. There
is one use in missile.c in a MACHINE_START that I simply removed, it
shouldn't be needed.

One side effect of this patch is that the various unsafe memory macros
can't be used directly, they will be a compiler error now.  That is
probably for the best.

~aa
2008-05-15 08:22:17 +00:00
Aaron Giles
1caf8deb7e From: Fabio Priuli [mailto:priuli@math.ntnu.no]
Subject: fix to bug 01791

Hi,

enclosed please find a small patch to fix the issues in asterock 
(asteroid.c) mentioned in bug 01791

the regression happened in 123u2, when asterock was updated to use 
asteroid inputs. Unfortunately, 3 inputs went from ACTIVE_LOW to 
ACTIVE_HIGH, among them INPUT_TILT. This was causing the cabinet to be 
tilted with a twofold effect:

* to produce the continuous sound and
* to stop any coinage

Modifying back those 3 inputs fixes both issues
2008-05-15 08:09:32 +00:00
Aaron Giles
c2625e8ef1 From: Corrado Tomaselli [mailto:corrado.to@tiscali.it]
Subject: black tiger clocks

Changed main z80 clock to 6mhz and sound z80 clock to 3,579545mhz as
verified on pcb
2008-05-15 08:08:25 +00:00
Aaron Giles
fa2a10c6b8 From: Duke [mailto:startaq@gmail.com]
Subject: MSM6242 fixes

Sorry, seems I forgot to add the device to all machine drivers that
need it - here's an update that fixes that.

Details here: http://mess.toseciso.org/mame:regtest

--Dirk
2008-05-15 08:08:12 +00:00
Brian Troha
4c4523ff28 New clones added
----------------
Ghox (set 2) [Tormod Tjaberg]
Demon's World / Horror Story (early edition) [Brian Troha]
2008-05-15 02:47:25 +00:00
Brian Troha
2c8a21b8c5 New clones added
----------------
Megatouch III (9255-20-06 RON) [Brian Troha]


Also added the date info from U38 in each set.
2008-05-14 17:42:37 +00:00
Brian Troha
730cc1bb66 New games/clones added to djmain.c
New games added or promoted from NOT_WORKING status
---------------------------------------------------
beatmania 7th MIX (ver JA-B) [Chizzy]


New games marked as GAME_NOT_WORKING
------------------------------------
beatmania THE FINAL (ver JA-A) [Chizzy]
2008-05-14 16:35:25 +00:00
Manuel Abadia
f864053246 fixed a priority bug only noticiable when crossing bridges with transparent areas (for example, the one on the last stage) and the car is near the bottom side. 2008-05-14 13:03:38 +00:00
Phil Stroffolino
1394652ab0 Bug fixes for NamcoNA Hardware:
- support for scanline effect (fixes invisible dolphin in Emeralda attract mode)
- ROZ implementation no longer breaks Numan Athletics pixmap layer
- blitter fixes; xday graphics are now correct
- identified extra communications RAM used by xday (probably to control printer)
2008-05-14 12:50:42 +00:00
davidhay
4bdc8dd7b5 just changes a default dipswitch on thoop, 1 life isn't a sensible default and makes the game look broken. 2008-05-14 06:54:55 +00:00
Laurent Desnogues
a97ec0a587 - revert commit 1566 2008-05-13 10:22:16 +00:00
Laurent Desnogues
45e055c624 - don't use $(LIBS) for linking where it's not needed (hope I did not break
Windows or cross builds)
2008-05-13 08:34:03 +00:00
Aaron Giles
3def9d1c7b Fix the guess. ;-) 2008-05-13 08:32:29 +00:00
Laurent Desnogues
f5797c1b20 - guess the sampleskip parameter added by commit 1562 2008-05-13 08:20:03 +00:00
Jonathan Gevaryahu
16942d210b Update TMS5200/5220 documentation and comments
Fix the chirp table implementation in both the 51xx and 52xx chips.
2008-05-13 04:56:47 +00:00
Aaron Giles
86dd599aa8 Added uncompressed AVI recording. Extended aviio to be able
to write RGB bitmaps. Unfortunately, the only option is fully
uncompressed, which means the resulting AVIs are *HUGE* and
may not play correctly in realtime due to high data rate. The
intention is that these uncompressed AVIs are post-processed
by other utilities to compress the video and produce a
realtime playable result.

Added new command-line option -aviwrite which works just like
-mngwrite, except it produces AVIs and streams sound to them.
Updated documentation accordingly.

Shift+F12 still produces MNGs for now, though this might change
in the future.

Modified fileio.c to retain the full pathname to the file so
that it can be queried while the file is open.
2008-05-13 03:02:11 +00:00
Roberto Fresca
5c918815e4 Funworld.c updates:
Found the proper algorithm to decrypt the blue TAB PCB.
Replaced the old decryption tables with the proper decryption scheme.
Updated technical notes.
2008-05-13 02:34:54 +00:00
Jonathan Gevaryahu
a01a97367c s14001a.c - updated comments and version 2008-05-13 01:27:43 +00:00
Brian Troha
b24763c20a added stephh note about how the power failure message shows. 2008-05-12 23:57:55 +00:00
davidhay
d90aa1feaa we should use the correct ROMs for each board.
also mentioned that set 3 is the US version (atari license)

(I don't require credit)
2008-05-12 23:39:55 +00:00
Manuel Abadia
2573b418df fixed gfx rom and sound loading for wrallyb 2008-05-12 23:19:29 +00:00
R. Belmont
3fbca2dbba Fixed unused function and uninitialized variable errors. 2008-05-12 17:00:26 +00:00
Curt Coder
0376d5359f [CDP1852] Minor fixes. 2008-05-12 16:17:54 +00:00
Manuel Abadia
2ed6f56c36 added cocktail mode support to world rally 2008-05-12 16:15:04 +00:00
Curt Coder
2528b956f5 Added CDP1852 I/O buffer chip, and used it in Altair/Draco. 2008-05-12 16:10:28 +00:00
Laurent Desnogues
5d02da3db2 - define isnan as _isnan for MSC_VER 2008-05-12 14:51:45 +00:00
Aaron Giles
7bb9e27f80 Fix incorrect assertion. 2008-05-12 14:51:45 +00:00
Manuel Abadia
d3f00ee3e7 Attract mode sound dip was reversed as pointed out by ElSemi 2008-05-12 13:36:38 +00:00
Nathan Woods
dbbf66bb0b MESS specific: Fixed performance problems with -triplebuffer (bug #1539) [Justin
Kerk]
2008-05-12 10:23:15 +00:00
Manuel Abadia
8690d5cdcd Change the credit for the info to GAELCO SA as Javier wanted it to be that way 2008-05-12 09:05:03 +00:00
Manuel Abadia
8034359e0e Fully working World Rally driver 2008-05-12 09:04:04 +00:00
Manuel Abadia
90f263f8a3 DS5002FP core 2008-05-12 09:03:33 +00:00
Aaron Giles
e23b3c3776 Potential fix for Linux crashes. 2008-05-12 05:35:13 +00:00
R. Belmont
2e363855ba Fixed a bunch of compiler errors w/64-bit GCC. Result does not run. 2008-05-12 02:29:07 +00:00
Aaron Giles
b735b4be6c New universal dynamic recompiler system. The central module
is drcuml.c, which defines a universal machine language
syntax that can be generated by a frontend recompiler and
then retargeted via a generic backend interface to any of
a number of different architectures. A disassembler for the
UML is also included to allow examination of the generated
UML code.

Currently supported backend architectures include 32-bit x86,
64-bit x86, and a platform-neutral interpreted C backend that
can be used as a fallback for platforms without native 
support. The C backend also performs additional validation
to ensure assumptions are met.

Along with the new architecture is a new MIPS III/IV 
recompiler frontend. This frontend has been rewritten from 
the old x64-specific recompiler to generate UML opcodes
instead. This means that the single recompiler can be used
to target multiple backend architectures and should in
theory produce identical results across all of them.

The old 32-bit and 64-bit MIPS recompilers are now officially
retired. The new system provides similar performance (within
5% generally) to the old system and has similar compatibility.
The only currently known issues are some problems with the
two Gauntlet 3D games.
2008-05-11 22:15:13 +00:00
Roberto Fresca
9b3d9ea3cd New driver for old Game-A-Tron gambling games hardware.
- Properly decoded graphics.
 - Proper memory map.
 - Added NVRAM support.
 - Proper Inputs through 8255 PPI I/O chip.
 - Both games are working.
 - Added technical & game notes.


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Card Games? [Roberto Fresca]
Slots Game? [Roberto Fresca]
2008-05-11 21:21:07 +00:00
Andrew Gardner
b59bf0ccfb Memory map merge for drivers, tagteam,tail2nos, tankbatt, tankbust, taotaido, targeth, and taxidrvr. 2008-05-11 21:07:19 +00:00
mariuszw1
e68cfa644c From: Luigi30 [mailto:luigi30@gmail.com]
Subject: More tmaster.c fixes

Coin inputs fixed, validator input added, notes on inputs added
2008-05-11 20:41:19 +00:00
Nicola Salmoria
42d9b223e9 small changes to notes/rom names 2008-05-11 09:57:48 +00:00
Brian Troha
aeafb78ce2 New clones added
----------------
The Legend of Kage [Stefan Lindberg]
2008-05-10 23:44:31 +00:00
Brian Troha
eaf037e890 Corrected PCB info of Paparazzi 2008-05-10 22:01:21 +00:00
mariuszw1
0f63b4a301 From: Luigi30 [mailto:luigi30@gmail.com]
Subject: Bug 1795 fix

Fixes typo in tmaster.c causing weekday to be incorrect
(or, without a 'typo': Fixed weekday calculation in rtc emulation in tmaster.c.
)
2008-05-10 20:58:06 +00:00
Nicola Salmoria
384388cf6f Rewrote the Gaelco video ram encryption, which finally makes sense.
The key observation was that when decryptiong the second word, both encrypted and decrypted bits of the first word are used.
Many thanks to Javier Valero for the detailed information that made this possible.
2008-05-10 18:09:15 +00:00
Brian Troha
c5511b65fb consolidates and slight reorganization of info
minor white space clean up
2008-05-10 16:56:46 +00:00
Curt Coder
1a32caa7e0 [CDP1802] Appease compiler. 2008-05-10 09:54:48 +00:00
Curt Coder
0999af40c5 [CDP1802] Added memory address parameter to DMA callbacks, and added a macro for the CPU interface. 2008-05-09 18:49:52 +00:00
Phil Stroffolino
a64c404f36 This update fixes the ROZ effect in Namco NA1 driver.
ROZ tilemap is actually an additional tilemap.  The prior implementation conditionally applied ROZ effects to one of the existing tilemap planes.
The ROZ layer tilemap contains 32x32 tiles, and immediately following videoram for the other 4 tilemaps.

This fixes a bug where a "roz enable" test was causing a normal layer to be rendered with ROZ effects in-game.
There is no roz enable register - it's always available for mixing with other tilemaps and sprites

This also adds a missing NAMCO logo zoom/spin effect in Emeralda's attract mode.

Also added to this driver (but not enabled) are notes regarding a missing scanline IRQ effect, that is the root cause of a bad priority effect in Emeralda attract mode, where a dolphin sprite is incorrectly invisible.
2008-05-09 14:09:36 +00:00
Jonathan Gevaryahu
fa1f62727c Marked the sound roms on Q*Bert's Qubes as bad and changed the flag to imperfect sound. The current sound cpu roms are the same as on a normal Q*Bert board, which is incorrect. At least three sound effects are present in the real qq-snd roms but not the Q*Bert qb-snd ones. 2008-05-09 01:03:06 +00:00
Roberto Fresca
3aa66693fe Fixed Mantis bug ID 01790.
Added the Region DIP switch to zerowng2.
USA - Europe.
2008-05-08 03:50:16 +00:00
Phil Bennett
948dd778b0 Hooked up cbombers steering wheel input.
Changed ES5505 clock rate to 30476100/2.
Unified cbombers memory maps and tidied up some code.
Removed the undrfire speedup hack.

New games added or promoted from NOT_WORKING status
---------------------------------------------------
Chase Bombers [Phil Bennett]
2008-05-07 23:52:42 +00:00
Roberto Fresca
351f215b12 Added XTAL_30MHz to the list. This one is used by Impera Magic Card. 2008-05-07 19:32:54 +00:00
Roberto Fresca
a96b22d4f3 Fixed Mantis bug ID 01738.
Just a typo. Changed game description from "Mahjong Neruton Haikujirada" to "Mahjong Neruton Haikujiradan".
But the game clearly show the legend "Hai Kujira Dan" (with spaces).
2008-05-07 09:09:46 +00:00
Roberto Zandona
f14541031b another fix typo 2008-05-07 07:18:37 +00:00
Roberto Zandona
1dfeb3ba53 fyx typo 2008-05-07 07:10:50 +00:00
Roberto Fresca
e012039070 Fixed Mantis bug ID 01787.
Also changed the difficulty DIPs from 'easy-medium-hard-hardest' to 'easiest-easy-normal-hard' as listed in the manual.
Now default is 'normal' instead of 'hard'.

The manual always call this system 'system 14' instead of system C/C2.
2008-05-07 07:07:51 +00:00
Roberto Zandona
4c138a09fc add feature to the cia6526: in READ operation the value can be forced by a extern electric circuit; this feature is necessary to the mess side 2008-05-07 07:01:48 +00:00
stephh
e85ce6581d Fixed Mantis bug ID 01713.
Added Dip Switches (some of them remain unknown though).
2008-05-07 00:20:46 +00:00
stephh
9a3c61ba66 Fixed Mantis bug ID 01717 (as well as some other inputs bugs).
Renamed ports and used AM_READ_PORT macros.
2008-05-06 21:55:09 +00:00
Brian Troha
5a13252a21 Corrects spelling from Dalas to Dallas :-p 2008-05-06 20:56:35 +00:00
davidhay
9a69cd7cfa improve cbombers sprites (from Philip Bennett) 2008-05-06 18:48:30 +00:00
mariuszw1
f56036bc76 From: Hugh McLenaghan [mailto:hughmcl@hotmail.com]
Subject: Pitboss Superstar patch and roms

This is the patch for Pitboss Superstar  based on the 0.124u5 build of mame. 
I'm attaching both the diff file and the roms.
        Hugh McLenaghan

New games added or promoted from NOT_WORKING status
---------------------------------------------------
Pit Boss Superstar [Hugh McLenaghan]
2008-05-06 18:32:50 +00:00
Brian Troha
1f4c072027 documentation update 2008-05-05 21:32:54 +00:00
Aaron Giles
692a5e4674 Spacing and version bump. 2008-05-05 07:10:47 +00:00
Aaron Giles
ad5e3bb681 01743: anteater: Music is really loud and clips 2008-05-05 06:54:37 +00:00
Aaron Giles
1a1ab7bd6b 01778: all sets in m62.c driver: low ay8910 volume 2008-05-05 06:41:46 +00:00
Aaron Giles
bcffc45b8f 01774: racedcb4, racedcg4, racedrc1, racedrc2, racedrc4, racedrcb, racedrcg, racedrvc: space_map_range error
01773: steelta1, steeltag, steeltal, steeltap: space_map_range error 
01772: daireika: space_map_range assertion 
01771: arescue, f1en: space_map_range errors
2008-05-05 06:41:25 +00:00
Aaron Giles
47a54fbc24 From: Duke [mailto:startaq@gmail.com]
Subject: MSM6242 fixes

Sorry, seems I forgot to add the device to all machine drivers that
need it - here's an update that fixes that.

Details here: http://mess.toseciso.org/mame:regtest

--Dirk
2008-05-05 06:14:55 +00:00
Aaron Giles
dc74b47535 From: Corrado Tomaselli [mailto:corrado.to@tiscali.it]
Subject: m90 clocks

Verified clocks on Bomberman pcb which runs on M90 hardware.
2008-05-05 06:14:07 +00:00
Aaron Giles
5137700208 Added -watchdog to runtest.cmd. 2008-05-05 06:12:06 +00:00
Aaron Giles
0cee075e0d Added xchg opcodes. 2008-05-05 06:11:13 +00:00
Nathan Woods
c75d63a569 Removed bogus assertion - DEVICE_TYPE_WILDCARD is NULL 2008-05-04 23:09:07 +00:00
Nathan Woods
fae89f0d4c MESS-specific change; added running_machine parameter 2008-05-04 14:23:41 +00:00
Roberto Zandona
26f0669745 fix troangel bug (01775: newtangl, troangel: Crash with Access Violation) 2008-05-04 13:20:57 +00:00
Nathan Woods
d2414bddfe Changed MESS-specific key for pasting (PrtScn was _not_ a good choice on Windows) 2008-05-04 01:01:52 +00:00
R. Belmont
1119d3f129 Fixed an envelope corner case in the SCSP and AICA (kingshriek) 2008-05-03 23:59:54 +00:00
Brian Troha
0a5fc7b33e white space clean up 2008-05-03 22:48:21 +00:00
Brian Troha
6224c41147 white space clean up 2008-05-03 22:36:28 +00:00
Brian Troha
d1f32d2e07 slight information update for POW (US) in snk68.c 2008-05-03 22:31:14 +00:00
Brian Troha
fe9968afd0 removes code clash from SVN revision merge 2008-05-03 21:36:57 +00:00
Brian Troha
177cee8202 Minor rom name update
Changed the Megatouch III roms 36 & 37 to be the same as the new redump based on my own redump of Megatouch IV and the rom names.  IE: megat3.u36 == 9255-01_u36-ro the 01 in the rom name is the "revision" number.  Normally the U36 & U37 doesn't change just U32 & U38 for program revisions.
2008-05-03 21:31:50 +00:00
mariuszw1
5b63650194 From: Hugh McLenaghan [mailto:hughmcl@hotmail.com]
Subject: Merit Megatouch 3 Tournament Edition

This diff includes the Merit Megatouch 3 Tournament Edition patch.

Hugh McLenaghan

New games added or promoted from NOT_WORKING status
---------------------------------------------------
Megatouch III Tournament Edition [Hugh McLenaghan]
Megatouch III [Mariusz Wojcieszek]
2008-05-03 20:53:00 +00:00
Nathan Woods
dfe585bf85 Added a MESS-specific "paste" command; used to paste clipboard data into MESS's
natural keyboard
2008-05-03 17:56:41 +00:00
Brian Troha
53b0096294 New working clone: Touchmaster 7000 V8.04
Added PCB layout and chip list
2008-05-03 16:06:26 +00:00
Roberto Zandona
b6b497bf2a cosmetic fix 2008-05-03 13:28:54 +00:00
davidhay
f526625d77 added layer enable to denjinmk 2008-05-02 21:04:43 +00:00
davidhay
d65d5e502a extra tile banking for denjinmk 2008-05-02 19:28:31 +00:00
Pierpaolo Prazzoli
e6b2a18ba7 Fixed ROZ centering in namcona1 driver [Phil Stroffolino] 2008-05-02 17:25:39 +00:00
Roberto Zandona
6afeb5015a fix typo 2008-05-02 17:22:27 +00:00
Roberto Zandona
4fda816ee1 add video enable/disable feature in m90 driver 2008-05-02 17:16:08 +00:00
Couriersud
b7880b33fa ay8910.c:
* Fixes mantis bugs 01767, 01769
* Corrected some comments
2008-05-02 10:58:11 +00:00
Brian Troha
128bfcc4e0 adds a todo:
- Find cause and fix hang in Solitaire Erotic (all Touchmaster version hang in this game)
2008-05-01 22:57:19 +00:00
Brian Troha
5e64c80528 Minor doc correction... show that MT4 no longer needs a redump 2008-05-01 22:54:09 +00:00
Aaron Giles
67e76e92f5 Cleanups/version bump. 2008-05-01 14:32:31 +00:00
Aaron Giles
37c56cf592 01752: Warnings making standard .124u4 in GCC 4.3.0 (mingw)
Well, two of them were valid.
2008-05-01 14:12:20 +00:00
Roberto Zandona
e6d23ec6c4 verified a "not sure" opcode in bombrman 2008-05-01 14:03:35 +00:00
Aaron Giles
23890e5da7 This is a better fix for MAMETesters 00149: No error report for invalid BIOS setting 2008-05-01 14:02:12 +00:00
Aaron Giles
89c9e00953 From: Micko [mailto:mmicko@gmail.com]
Subject: PIC 8259 changes

Hello Aaron,
 
As I have announced before, here are some changes on pic8259.
 
for changelog:
 
[PIC8259] Adding support for 8080/85 mode interrupts
 
Please just check it against x86 platform, not sure if is_x86 in ICW4 is obligatory in case of using it on x86 platform.
 
Regards,
Miodrag
2008-05-01 13:54:19 +00:00
Aaron Giles
a910dafd37 From: Atari Ace [mailto:atari_ace@verizon.net]
Subject: [patch] Small deprecat.h related cleanup

Hi mamedev,

While doing some work on eliminating some uses of deprecat.h, I came
across a few files that didn't have it that used deprecated features.
A little investigation revealed they were getting it through
debugger.h, typically by referencing m68000.h.  Since deprecat.h is
intended to document the files that need updating (otherwise it would
just be included in a common header), I reworked debugger.h to not
import it when the debugger is not enabled, and fixed the files that
broke as a result.

~aa
2008-05-01 13:52:28 +00:00
Aaron Giles
78f2c75751 From: Corrado Tomaselli [mailto:corrado.to@tiscali.it]
Sent: Saturday, April 26, 2008 7:31 AM
To: submit@mamedev.org
Subject: Raimais (japan / First revision)

Diff + romset of Raimais (japan / first revision).

New game added: Raimais (Japan / First Revision)
2008-05-01 13:51:13 +00:00
Aaron Giles
c967dcb102 From: Duke [mailto:startaq@gmail.com]
Subject: MSM6242 device

Hello,

the attached patch changes the MSM6242 RTC into a proper device.

--Dirk
2008-05-01 13:48:49 +00:00
Aaron Giles
355fa5294d This diff is largely to correct an oversight when new sets were added to system16.c back in
0.119u3 (shinoblb, shinibld) as well as update some others.  I cleaned up these flags many
releases ago for system16.c and system18.c.  These two slipped in and I didn't notice until a
bug report was made on them:
http://www.mametesters.org/mantis/view.php?id=1727

Thanks,
Tafoid
2008-05-01 13:46:35 +00:00
Aaron Giles
04f54299af Couple of minor tweaks to sync with offline WIP work. 2008-05-01 08:53:23 +00:00
Roberto Zandona
75ae56079e fix one opcode in match it 2 2008-05-01 07:40:49 +00:00
Nicola Salmoria
df9da7ffb4 ROM name changes on Razoola's suggestion 2008-04-30 17:33:05 +00:00
Roberto Zandona
306b13eae2 fix for mantis 01628: bgaregga, bgareghk, bgaregnv, bgaregcn, bgaregt2: bgaregga (and clones) sound broken 2008-04-30 17:30:38 +00:00
Nicola Salmoria
d8a625a624 New games added or promoted from NOT_WORKING status
---------------------------------------------------
Street Fighter Alpha 2 (Euro 960229) [Razoola]
2008-04-30 07:51:52 +00:00
Nicola Salmoria
5ccdd067d9 Massive update to ROM naming in the CPS1 driver, also loading smaller eproms for Japanese sets instead of the larger mask ROMs where possible. Added information about B-Board revisions where possible. There is still work to do on this regard but this is a first step in untangling the mess.
Verified more gfx ROM mappings against PALs (thanks to Corrado Tomaselli)

New games added or promoted from NOT_WORKING status
---------------------------------------------------
Dynasty Wars (US set 2) [Corrado Tomaselli]
Final Fight (Japan 900112) [Chack'n]

New games marked as GAME_NOT_WORKING
------------------------------------
Forgotten Worlds (World?) [The Guru]
2008-04-30 07:15:28 +00:00
Roberto Fresca
2267b60912 Removed a inaccurate comment about the payout button.
(I forgot to add the following lines in my previous commit)

New games added or promoted from NOT_WORKING status
---------------------------------------------------
Snooker 10 [Roberto Fresca]
Apple 10 [Roberto Fresca]
Ten Balls [Roberto Fresca]
2008-04-30 04:25:02 +00:00
Roberto Fresca
121fbcd8da Removed a unused variable that I left there by mistake. 2008-04-30 03:52:53 +00:00
Brian Troha
9505c95ef4 minor typo correction 2008-04-30 01:32:28 +00:00
Brian Troha
3b2ca73bc4 New Clone: Megatouch IV (9255-40-01-ROE)
Driver updates;

Consolidated, corrected and updated info
Verified Megatouch IV program rom
Corrected many rom names
Add game revision to game name (IE: 9255-40-01 ROE)
Added pals from Megatouch 6 to other sets as they all run on the same PCB
Add the sound clock update as forwarded from Aaron
2008-04-30 01:27:33 +00:00
mariuszw1
9bb4bba7c6 Fixed typo in fcrash.c sound 2008-04-29 16:35:33 +00:00
Andrew Gardner
cf3050ad91 Memory map merges for drivers, tunhunt, tumblep, tugboat, trucocl, and truco. 2008-04-29 15:06:55 +00:00
Roberto Zandona
0bcb72270d change the implementation of the cocktail mode 2008-04-29 06:03:44 +00:00
Roberto Fresca
7190f9b511 Sandii' games:
Added proper notes regarding the SUPER GAME feature (payout system).
2008-04-29 02:07:16 +00:00
Roberto Fresca
9d4f1bb7d0 All CMC italian games:
- Added TICKET and HOPPER buttons to allow payout through the SUPER GAME.
 - Documented the featured SUPER GAME with complete instructions.
 - Improved DIP switches to properly set the payout system.

With these fixes, the payout system through SUPER GAME is now working properly.
2008-04-29 01:47:05 +00:00
mariuszw1
22fe89186a NES/PlayChoice 10 update
General Changes:
- added support for mapping rom and ram in PPU video memory space
- added PinBot mapper (H board)

New games added or promoted from NOT_WORKING status
---------------------------------------------------
PinBot (PlayChoice-10)
2008-04-28 21:42:56 +00:00
Roberto Zandona
26a76489a1 fix cocktail mode for marvins and vangrd2
00249: vangrd2: [possible] In cocktail mode, or when the flip screen dip is set, the score display is not flipped.
2008-04-28 21:20:12 +00:00
Roberto Zandona
b2cbb55165 fix for 01757: fieldday, undoukai: Graphics Corruption.
not sure if this is an hack
2008-04-28 17:12:47 +00:00
Roberto Fresca
e7457b2e7b Sandii' Games:
- Created a new machine driver for tenballs due to different memory map.
 - Worked all the input ports from the scratch.
 - Fixed the sound ROM_REGION.
 - Added the oki6295 emulation to all games.
 - Hooked output ports.
 - Documented and calculated all bits related to lamps.
 - Adjusted palette lenght to 256 colors.
 - Totally decrypted the apple10 color matrix. Now colors are perfect.
 - Created a new machine driver for apple10 due to encryption.
 - Reverse engineering the code to complete the DIP switches.
 - Added diplocations to DIP switches.
 - Promoted snookr10, apple10 and tenballs to 'WORKING' state.
 - Added game instructions & notes.
 - Updated encryption & technical notes.

To initialize NVRAM (for all games), keep pressed ESTATISTICA (key '9') + MANAGEMENT (key '0'),
then press RESET (key F3), and finally release both (ESTATISTICA + MANAGEMENT) keys.

You must delete the old NVRAM and .cfg files first.
2008-04-28 09:17:17 +00:00
davidhay
f398a24db2 de-hack metro tilemaps... (lightly tested..) 2008-04-28 07:52:21 +00:00
Roberto Fresca
3f8504da71 Funworld games:
- Fixed AY8910 volume to all games to avoid clips.
 - Merge bigdeal and funworld machine drivers thanks to the AY8910 rewrite.
 - Removed old unaccurate commentary about magiccrd tiles.
2008-04-27 05:39:32 +00:00
Couriersud
fc1cb8d473 ay8910: Cosmetic
* bring more in line with coding standards
* add more comments
2008-04-27 00:26:41 +00:00
davidhay
f06dafd4b9 just some dipswitch fixes 2008-04-26 20:28:20 +00:00
Couriersud
899c47f7b8 Fix AY-3-8910/YM2149 and derivatives envelope handling. 2008-04-26 18:57:15 +00:00
Nathan Woods
8d1c77366c MESS specific fix 2008-04-26 18:35:40 +00:00
Aaron Giles
3b71ebf277 Better fix for gradius3. 2008-04-26 17:53:17 +00:00
Roberto Zandona
f6376e7f52 fix gradius3 bug (mantis 01744) 2008-04-26 17:38:37 +00:00
Roberto Zandona
fa42fb096b removed wrong info 2008-04-26 17:24:36 +00:00
Roberto Zandona
ba9b6513b1 add some info and promoted quizf1 to working 2008-04-26 14:20:59 +00:00
Roberto Zandona
72a2938358 fix typo 2008-04-26 13:58:33 +00:00
Roberto Zandona
462690807e proper implementation of the tile/sprite priorities in m90 driver
this fix priorities in quizf1, riskchal amd maybe more m90 games
thanks to Corrado Tomaselli for testing my trojan in a bombrman PCB
more info at http://www.emulab.it/robiza/
2008-04-26 13:44:13 +00:00
Couriersud
5ac45d5a80 Added discrete mixing and filtering to irem games using m52-sound-c boards: mpatrol, travrusa 2008-04-25 23:51:15 +00:00
Roberto Zandona
7590822c23 fix for tropical angel (mantis 01750) 2008-04-25 16:56:55 +00:00
Couriersud
0e77434bec Added DISCRETE_KEY_SALLEN_FILTER to discrete sound system 2008-04-25 08:42:13 +00:00
Brian Troha
85da621116 corrects cut-n-paste error in rom names as pointed out by OG ;-) 2008-04-24 23:31:38 +00:00
Brian Troha
aa8b89a7fe New working clone: Touch Master 3000 V5.02
Adds correct dump of U41 graphics rom.

Roms renamed and additional information added
2008-04-24 21:40:42 +00:00
Roberto Fresca
8e2f066695 - Decrypted the apple10 tile matrix.
- Partially decrypted the apple10 color codes.
 - Added encryption notes.
 - Updated technical notes.
2008-04-24 18:13:56 +00:00
Tomasz Slanina
8c901f80b2 New clones added
----------------
Raiden 2 (set 7) [Tomasz Slanina]
2008-04-24 17:50:27 +00:00
Tomasz Slanina
25578baf54 New games added or promoted from NOT_WORKING status
---------------------------------------------------
Paparazzi [Tomasz Slanina]
2008-04-24 15:44:48 +00:00
Tomasz Slanina
31264158e0 New clones added
----------------
Heated Barrel (World version 3) [Tomasz Slanina]
2008-04-24 13:27:32 +00:00
Nicola Salmoria
c3f020c8df fixed gyruss volume 2008-04-24 06:52:20 +00:00
Aaron Giles
e04adea68b Version bump. 2008-04-24 06:45:25 +00:00
Aaron Giles
08c75151c7 Cleanups for 0.124u4. 2008-04-24 06:43:16 +00:00
Aaron Giles
6a955fc076 From: Atari Ace [mailto:atari_ace@verizon.net]
Subject: [patch] Remove more Machine globals, #include "deprecat.h"

Hi mamedev,

The attached patch goes through and converts a number of Machine
globals to machine locals, and then removes #include "deprecat.h" if
appropriate.  The script that generated it is included, since the
patch itself is rather large and would have been time consuming to
produce otherwise.

The script doesn't convert cases of Machine that aren't in common
macros.  I'll try to tackle those later if someone doesn't beat me to
it.

~aa
2008-04-24 06:15:00 +00:00
Aaron Giles
737ff53930 From: Atari Ace [mailto:atari_ace@verizon.net]
Subject: [patch] Eliminate assignments in conditionals

Hi mamedev,

Assignments in conditionals are never really needed in C and are
occasionally just plain bugs (== gets typed as =).  As such, it would
be good to remove these from MAME so that compilers that warn on this
construct can flag the likely bugs (MSVC does this for example).  The
attached patch does just that.  In addition, it refactors some
repeated code which had this in taito_f3.c into a couple macros. Using
inline functions would unfortunately have required more significant
changes, perhaps I'll tackle that another day.

~aa
2008-04-24 05:59:39 +00:00
Aaron Giles
38ee64ae77 From: Lei Wu [mailto:lanewu@hotmail.com]
Subject: fixed official mame bug #426 [Emuman]
2008-04-24 05:56:52 +00:00
Aaron Giles
14c852c8e9 Updated to use ACCESSING macros like memconv.h. 2008-04-24 05:53:47 +00:00
Aaron Giles
f7da2517e9 Fix:
01733: diehard: Game fails to start
2008-04-24 05:50:36 +00:00
Aaron Giles
25487d5e54 Fix:
01740: carnival, headon, heiankyo, pulsar, samurai, tranqgun : Is not possible to insert any coin
01721: sspaceat, sspacat2, sspacat3, sspacatc : Problems with inserting coins
01710: spacetrk, sptrekct: Cannot insert coins in both sets
2008-04-24 05:46:31 +00:00
Aaron Giles
9a7173f503 Fix:
01732: kof99, kof99a, kof99e: Game doesn't start 
01724: garou, garouo: Can't start the game
2008-04-24 05:36:55 +00:00
Aaron Giles
c205e10516 Fix 01742: punchout, armwrest + many vsnes.c and playch10.c games: Refreshspeed causes fatal exception in punchout. 2008-04-24 05:32:57 +00:00
Couriersud
b4fd76f158 ay8910.c:
* change DC offset for AY-3-8910 to 0.2V
* tones are now distinguishable again
galaxian.c:
* adjust "konami" sound volume
gyruss.c:
* adjust sound volume
2008-04-23 23:31:14 +00:00
Aaron Giles
45c24298af Regression fixes fro memory mask flipping. 2008-04-23 13:53:30 +00:00
Nicola Salmoria
e14a331553 increased Gyruss volume, changed UI to allow volumes higher than 2.0. 2008-04-23 07:47:23 +00:00
Jim Stolis
6e6129c232 Corrects regression issues from sweeping mem_mask changes. 2008-04-23 00:57:42 +00:00
Couriersud
85a5a3d827 AY-3-8910 rewrite:
* adds a model to calculate mixing of channels with different resistance loads.
* based on above, each channel may be assigned a different load in individual case
  i.e. channels not tied together
* rewrote ay8910.c to make emulation simpler
* changed the config structure to include a flag field and output resistor loads.
* Updated all drivers affected.
* Added some "Todos" related to stuff I discovered when reading datasheets.
* Fixed a bug in disc_flt.c (konami filters)

galaxian.c:
* Fixed discrete sound and konami filter addressing
* Changed addressing of AY-3-8910 to be in line with schematics

gyruss.c:
* Added discrete sound for filtering ("konami"-style) and mixing.
2008-04-22 21:58:36 +00:00
Nicola Salmoria
c000fcf52f 01670: kungfum, kungfud, spartanx, kungfub, kungfub2: Main character sprite not hidden at end of level.
01686: ldrun3, ldrun3jp: visible area problem
2008-04-22 08:50:38 +00:00
davidhay
830c238cf0 my 700mhz piece of junk box can run these at full speed, somehow I don't think we need the idle-skips. 2008-04-22 06:21:40 +00:00
Brian Troha
e66d9670b8 A little bit more info and Euro or Standard included in the game description 2008-04-21 21:26:31 +00:00
Brian Troha
09ca55a0e0 enable the Williams 1942 clone already added 2008-04-21 20:41:06 +00:00
Roberto Zandona
368754b5e1 fix y coordinate for sprites in final crash 2008-04-21 18:13:00 +00:00
Andrew Gardner
c9211856f1 Memory map merge for twin16 driver.
(Rockin' the AM_RAM_WRITE handler.  Awwwwh yeah.)
2008-04-21 15:08:36 +00:00
Aaron Giles
cb8514a175 From: Miodrag Milanovic
Hello Aaron,
 
I have found few more things not ok in T11, this time I have fixed it myself.
 
1. HALT - should call interrupt vector
2. ILLEGAL - had PC=0 at the end which makes code not run fine
3. MARK - now it is implemented

Can you please check if your drivers are working fine with these cahanges.
 
After adjustments I have some things working finaly.
 
Please inform me,
 
Miodrag Milanovic
2008-04-21 03:41:51 +00:00
Aaron Giles
af71decdb7 D'oh, another accidental checkin. :) 2008-04-21 00:13:37 +00:00
Aaron Giles
ae4002a56d From: Corrado Tomaselli [mailto:corrado.to@tiscali.it]
Subject: ghost and goblins (italian bootleg, harder)

this is an italian bootleg with a really hard gameplay. it's quite 
impossible to say the truth ;)
pics of the board:
http://www.citylan.it/gngitaly/main%20PCB%20component%20side.jpg
http://www.citylan.it/gngitaly/roms%20PCB%20component%20side.jpg

New clones added:
Ghosts'n Goblins (Italian bootleg, harder)
2008-04-21 00:11:19 +00:00
Aaron Giles
5edbda88da From: Atari Ace
Subject: [patch] Fix 01711: connect4, mpu4met0, mpu4tst2, mpu4utst, bctvidbs: Using -CHEAT trigger causes a crash
Hi mamedev,

This patch fixes bug 01711.  Given the location of the original assert
it is clear the original code wasn't quite right.

~aa
2008-04-21 00:09:58 +00:00
Aaron Giles
9fb86da645 From: Atari Ace
Subject: [patch] Fix 00149: No error report for invalid BIOS setting.
Hi mamedev,

This small patch makes specifying an invalid bios a fatalerror and
removes the need to expose system_bios to the drivers by reworking the
code in playch10.c to determine its bios more directly (in other
words, it removes an ugly hack).  This should resolve bug 00149,
although I did not implement the popmessage as suggested.

~aa
2008-04-21 00:05:54 +00:00
Aaron Giles
7d9b9885a5 From: Atari Ace [mailto:atari_ace@verizon.net]
Subject: [patch] Fix 01588 timecrsa, timecris: MAME simply quits after
pressing F3 in both sets, game cannot be runned

Hi mamedev,

This small patch fixes the crash in bug 01588 and seems to allow the
game to start in most cases.  In some cases in my testing the board
failed startup tests, but that appears to be unrelated.

~aa
2008-04-21 00:03:51 +00:00
Aaron Giles
e26f80fde0 (from Mariusz Wojcieszek)
Attached is diff which makes Touchmaster games playable.

General changes:
- Added preliminary 68681 DUART (machine\68681.c)
- Moved Microtouch touch screen controller emulation to separate module (machine\microtch.c)

New games added or promoted from NOT_WORKING status
---------------------------------------------------
Touchmaster [Mariusz Wojcieszek]
Touchmaster 3000 [Mariusz Wojcieszek]
Touchmaster 4000 [Mariusz Wojcieszek]
Touchmaster 5000 [Mariusz Wojcieszek]
Touchmaster 7000 [Mariusz Wojcieszek]
2008-04-21 00:00:55 +00:00
Aaron Giles
fc2eb1d343 From: Corrado Tomaselli
Subject: kyugo.c clocks

Changed and verified cpu frequencies on kyugo.c games.
Gyrodine and 99 the last war and clones run on the same board.
2008-04-20 23:58:34 +00:00
Aaron Giles
bda5a61e0d From: Corrado Tomaselli [mailto:corrado.to@tiscali.it]
Subject: Rygar third set dump

I named this dump as set 2 since it's the bugfix version like set 1. Set

3 was renamed old version because it has some bad bugs.
I haven't seen any visible differences, it would be interesting to see 
what has changed in the program and if it's a newer revision than the 
set 1 in mame...

New clones added:
Rygar (US set 3 Old Version)
2008-04-20 23:57:36 +00:00
Couriersud
144675e3e7 popper.c:
* palette_init uses resistor values from schematics
* Please credit Joe Magiera for providing schematics
2008-04-20 23:15:24 +00:00
Aaron Giles
e0533ec7c3 Added new Windows option -watchdog, which creates a watchdog thread
that forcibly kills the application after a certain number of seconds.
Primarily intended to be used in regression test runs to handle the
occasional hung game.
2008-04-20 22:29:29 +00:00
Brian Troha
682265e480 The Williams Copyright is dated 1985... a year later then the Capcom Copyright. 2008-04-20 17:42:10 +00:00
Brian Troha
6e016ff10d Credit - Quarterarcade
New Clone (working) 1942 (Williams Electronics)

Parent / clone reorder
Rom name corrections
2008-04-20 17:37:14 +00:00
Luca Elia
467f229ab8 Improved the IGS017 based games:
- iqblocka: bypassed the protection, emulated the video hardware, inputs and sound.
- tjsb: it now boots and has partially decrypted graphics.
[Luca Elia]
2008-04-20 10:45:05 +00:00
Wilbert Pol
ad7287f3e1 Small documentation change: fixed GoodGen name. 2008-04-20 10:18:22 +00:00
Nicola Salmoria
92f67160cd Lowered SF2 clock speed to 10MHz. This is on the assumption that, since the 12MHz A-Board is called "89626A-4 DASH", it should have started to be used with SF2 DASH--that is, sf2ce. 2008-04-20 08:50:32 +00:00
Roberto Fresca
baad7a6f45 New driver for Sandii' hardware. Support for snookr10, apple10 and tenballs. Added technical/general notes.
Funworld updates:
- Removed the temporary hack to jolyc980.
- Updated technical notes regarding Magic Card II & Jolly Card Professional 2.0.
- Moved snookr10 to its own driver.
- Minor clean-up.


New games marked as GAME_NOT_WORKING
------------------------------------
Apple 10 (Ver 1.21) [Roberto Fresca]
Ten Balls (Ver 1.05) [Roberto Fresca]
2008-04-20 04:16:47 +00:00
Aaron Giles
e91eb4007c Flipped the damn mem_mask. It is no longer inverted when passed to
read/write handlers. Updated all drivers accordingly. Hope I didn't
miss anything important!

Blame OG and smf for goading me into it. :)
2008-04-20 02:38:35 +00:00
davidhay
9017dbad99 Adds 'Jumping Pop' please co-credit Robin Cooper
there are some issues, the unused palette bits are significant as the colours are wrong at the moment, also maybe it should be joystick, not spinner etc..  It's an ugly Korean hack game ;-)

New games added or promoted from NOT_WORKING status
---------------------------------------------------
Jumping Pop (NICs, Korean bootleg of Plump Pop) [Robin Cooper, David Haywood]
2008-04-19 23:47:34 +00:00
Nicola Salmoria
5782fedb11 fixed layer enable at the end of stage 4 in Varth.
increased Varth CPU clock to 12MHz to reduce slowdowns (the game was released after sf2ce so the faster A-board was available).
verified more gfx rom mappings against PAL dumps (thanks to Corrado Tomaselli).
verified memory maps using A-board PAL dumps (thanks to Charles McDonald).
separated the address ranges for CPS-A and CPS-B customs. This finally clarifies why some registers are fixed and some change with every game.
identified three new unknown registers in the CPS-B-21 custom. Their purpose is unknown.
all unhandled accesses to CPS-A/CPS-B registers will now be reported. There shouldn't be any left. Look out for "contact MAMDEV" popups.
cleaned memory maps. Moved forgotten worlds special input mmeory handlers to DRIVER_INIT.
moved extra input handlers to video/cps1.c since the extra connectors are on the C-board.
added sound to Final Crash.
2008-04-19 22:14:00 +00:00
Aaron Giles
9dd3f691ba Expanded the set of memory accessor functions. In addition to
direct byte, word, dword, and qword accessors for all bus sizes,
there are now masked word, dword, and qword accessors for all
bus sizes.

IMPORTANT: masks that are passed to the _masked_* functions are
NOT inverted. Although inverted masks are still passed to callback
functions, when you request a masked read or write the masks should
represent the bits you want.

Updated the various MIPS cores that use these functions to invert
their masks.
2008-04-19 19:09:24 +00:00
Wilbert Pol
446e65fb98 Changed the inline validity checks to work around GCC bug #35885. 2008-04-19 18:17:02 +00:00
Wilbert Pol
0d4aca282f Converted the ppi8255 implementation to a device. 2008-04-19 18:11:47 +00:00
Roberto Zandona
4719edb396 fix 2 opcodes for quizf1: now the little machines move correctly 2008-04-19 08:48:29 +00:00
Yasuhiro Ogawa
20842ca6e3 Fixed notes about nndmseal mask ROMs 2008-04-18 19:05:00 +00:00
Roberto Fresca
4b86e644f9 65C02/65CE02 CPUs and variants:
Fixed the 6502 family of disassemblers to show the correct bit to operate for BBR, BBS, RMB and SMB instructions.
2008-04-18 06:06:04 +00:00
Yasuhiro Ogawa
e4d34cd2e7 Redumped Side by Side maskROMs and got it working
(credit maruwa)
2008-04-17 21:59:19 +00:00
davidhay
1fd94a3f81 adds a note about rom banking based on actual hardware test done by dox 2008-04-17 21:55:08 +00:00
Roberto Zandona
8d3f5c0b0b - fix for 99lstwar bug (Mantis 00498): sonofphx, 99lstwar, 99lstwra, 99lstwrk, repulse: When the end-level mothership appears in the stage 4, it shows through the trees and scrolls showing through.
- fix offset sprite/background
2008-04-17 18:53:18 +00:00
Curt Coder
e8abef328c [CDP1869] Added a macro for the interface, and made write handlers optional. 2008-04-17 14:29:25 +00:00
Nathan Woods
63acd17b6a MESS-specific changes 2008-04-17 11:46:54 +00:00
Nathan Woods
c7c9bc1341 Fixed compilation error when using memory_install_read_handler() and
memory_install_write_handler()
2008-04-17 11:36:33 +00:00
Roberto Zandona
968dae7b1b some changes for aerfboo2:
- fix bg1 and bg2 offset
- fix sprites
- promoted to "working" (NO SOUND)
2008-04-17 08:06:10 +00:00
Aaron Giles
b35c15fef5 Cleanups and version bump to 0.124u3. 2008-04-17 05:26:05 +00:00
Aaron Giles
2028ecc2f7 Removed ancient 720 kludge.
Added support in the T-11 core for an external vector via irq_callback.
Apparently the hardware actually did support this and it is necessary
for emulating the BK 0010/11 computer in MESS.
2008-04-17 02:58:24 +00:00
Brian Troha
3c35a00e87 New changes ment we had 2 set 5's so I changed set 5 to set 6 ;-) (in segas16a.c) 2008-04-16 23:44:30 +00:00
davidhay
8e2bf052c9 cleaned up robiza's submission a bit, changed it to use irq2 not irq1 so that it doesn't keep resetting. 2008-04-16 23:22:52 +00:00
Brian Troha
77e7ee6a81 "new" old romset (clone)... adds back in the Shinobi unprotected set as Shinobi5... corrects sound rom name. 2008-04-16 22:40:24 +00:00
Brian Troha
33db47eb5d Credit: Arzeno Fabrice - Adds correct rom dump for Shinobi4 set 2008-04-16 21:32:35 +00:00
Roberto Zandona
2e10804275 add "Not Working" bootleg of aerofgt (bootleg set 2) (the romset is unknown_incog.zip)
add some info to machine/irem_cpu.c
2008-04-16 21:12:02 +00:00
Aaron Giles
12836eea2c Created new macro: AM_RAM_WRITE(handler) which specifies a memory
range to be RAM-like for reads but calls the given handler for writes.

Replaced AM_READWRITE(SMH_RAM, handler) with AM_RAM_WRITE(handler).
Also replaced AM_RAM AM_WRITE(handler) with AM_RAM_WRITE(handler).
2008-04-16 14:38:12 +00:00
Nicola Salmoria
6ceadb303e 01697: sfa3, sfa3b, sfa3u, sfa3ur1: About the blue background in startup screen. 2008-04-16 08:42:19 +00:00
Aaron Giles
a7c928efaa Memory map merges. 2008-04-16 04:54:57 +00:00
Nathan Woods
212d7e36d4 Changed MESS's hooks used by natural keyboard support, eliminating MESS's need
for input_port_set_digital_value()
2008-04-16 01:43:37 +00:00
davidhay
66445ebdf4 properly marked puzznici as a bootleg, disabled our MCU simulation on it, it has it's own internally. 2008-04-15 21:33:12 +00:00
Roberto Zandona
90bbd71aea better implementation of lookup table 2008-04-15 20:00:42 +00:00
Nicola Salmoria
3fa675958b 1) fixed sprite overdraw mode to match Mutant Night movie
2) fix palette glitch (00206: ninjakd2: PCB info for Nicolas state.)
2008-04-15 17:08:32 +00:00
Aaron Giles
ffc326f8be Converted the IDE controller to a device. Updated all drivers
accordingly.

Added new functions for dynamically installing device memory 
read/write handlers.

Updated install_memory_XXX_handler() functions to take a machine
parameter. Updated all drivers accordingly.

Merged installation of read and write handlers where appropriate.

Simplified memory.c code for dynamic installation so that a single
function handles all the work; a NULL read or write handler 
indicates not to install anything for reads or writes.
2008-04-15 16:49:50 +00:00
davidhay
72805780a7 probably not too interesting.. just some changes to the 'v25' code in toaplan2.c ..
Batsugun does upload what looks to be the entire program, unencrypted.  If enabled it runs to the point of waiting for interrupts, however, for those it looks like it needs a real V25 core with register banks etc.

The other games using the V25 (Dogyuun, Fix Eight, VFive/GrindStormer) only upload a 'stub' program and are encrypted, maybe they upload the rest later?  Knuckle Bash is ROM based V25 (and encrypted).  Charles is working on decrypting them anyway, but core updates would be handy.
2008-04-15 15:06:19 +00:00
Aaron Giles
71ca9ecec2 Switched subhandlers to using masks instead of shifts. Reduced the number
of stub handlers required as a result. Updated all drivers accordingly.
2008-04-15 06:39:34 +00:00
Luca Elia
35dc5e1da6 Added "Nandemo Seal Iinkai"
New games marked as GAME_NOT_WORKING
------------------------------------
Nandemo Seal Iinkai [Luca Elia]

P.S.

missing from the 0.124u1 whatsnew:

New games added or promoted from NOT_WORKING status
---------------------------------------------------
Show Hand [Luca Elia]
2008-04-14 21:51:39 +00:00
Brian Troha
49aeb5acaa minor doc correction 2008-04-14 21:29:52 +00:00
Brian Troha
9f5e9dfcd1 minor doc update 2008-04-14 21:29:14 +00:00
Roberto Zandona
8fd458820b fix lookup table for sprites in spikes91 2008-04-14 21:10:27 +00:00
davidhay
a8209dd70d adds good denjinmk graphic rom (thanks to Guru) 2008-04-14 18:26:27 +00:00
Curt Coder
e7cfe56749 [CDP1802] Added machine parameter and macros for the callback functions. This seems to have fixed the player sprite flashing in Destroyer/Altair/Draco. 2008-04-14 18:06:56 +00:00
Aaron Giles
7b97535eae Added support for using smaller-sized memory handlers directly in
memory maps. To do so, you either need to specify a shift amount 
(mapping to a particular subset of the bus) or SHIFT_PACKED, which
maps a single larger sized read/write down to multiple reads or
writes at the smaller size.

Removed word-sized handlers from 6821pia.c. Updated drivers that
needed them to use these new interfaces instead.

Updated gaelco3d.c and itech8.c to remove the need for memconv.h
by using this new feature.

Re-removed input_port_set_digital_value().
2008-04-14 16:47:02 +00:00
Nicola Salmoria
39aeffdbcc more tables verified from PALs 2008-04-14 16:36:58 +00:00
Nathan Woods
f9766f2052 Changes from MESS:
src/emu/cpu/m68000/m68kmame.c:
src/emu/cpu/minx/minx.c:
	- Fixed compilation errors on CPU cores not enabled in MAME
	
src/emu/inptport.c:
src/emu/inptport.h:
	- Readded input_port_set_digital_value() (which is needed for natural
          keyboard inpout in MESS)
	- Added a running_machine parameter to inputx_update()
2008-04-14 11:12:42 +00:00
Nicola Salmoria
4df26527bc a couple of documentation changes 2008-04-14 08:01:31 +00:00
davidhay
3b32ca4548 in theory this should help.. 2008-04-14 00:14:36 +00:00
davidhay
6b84ce85a6 well this adds the sound cpu to raiden2, although it doesn't make any sounds. 2008-04-14 00:07:07 +00:00
davidhay
9c92a08fa1 correct sound address on godzilla 2008-04-13 20:39:08 +00:00
davidhay
74bda05e41 fixed typo, other bits and pieces. 2008-04-13 19:11:54 +00:00
Andrew Gardner
76e7b85e1f Finished memory map merge for W drivers.
Some whitespace touch-ups.
2008-04-13 18:02:50 +00:00
Nicola Salmoria
6d37b87e5d adjusted refresh rate to match pbc measurement 2008-04-13 17:21:41 +00:00
Nicola Salmoria
72911dcb10 marked sets using the decrypted sound ROM as bootlegs 2008-04-13 16:21:46 +00:00
Nicola Salmoria
eaf7906010 merged memory maps and some tweaks from schematics, though to get perfect memory maps dumps of the A-board PALs would be needed. 2008-04-13 16:20:49 +00:00
davidhay
7eaca49e39 added some logging of the sequences it should (probably) execute.. 2008-04-13 16:04:52 +00:00
smf-
59b480f561 fixed calculation of bit 31 of GTE FLAG register, when writing to it directly.
added lm mode to OP and fixed the calculation.
added lm mode to SQR.
2008-04-13 16:02:16 +00:00
Nicola Salmoria
9d8d924418 this should be the correct palette formula according to schematics 2008-04-13 15:43:06 +00:00
smf-
02b2ba8a6d fixed cross-hair update when the game is not polling the coordinates 2008-04-13 15:42:20 +00:00
Wilbert Pol
4725e2fa8e Fixed DA A instruction when A is > 0xF9. 2008-04-13 15:09:06 +00:00
Aaron Giles
842ed3efb0 Changed device read/write functions to take a const device_config *.
Reverted recent hacks to get around this and removed unnecessary casts.
2008-04-13 15:01:23 +00:00
davidhay
19784846a1 removed pointless palette function.. 2008-04-13 15:00:50 +00:00
davidhay
f17debc913 trying to make things a bit more generic, breaks a few things for now, but better than duplicated code all over the place.. the basic functionality of the chip *should* be the same, we just don't understand it yet because it's programmable. 2008-04-13 14:55:52 +00:00
Nicola Salmoria
deab56c545 01694: punisher, punishrj, punishru: missing graphic 2008-04-13 12:55:38 +00:00
Nicola Salmoria
c14f62ea10 verified Ghouls gfxrom mapping against PAL 2008-04-13 11:37:56 +00:00
Bryan McPhail
b7712be3fe Marked tilemap roms as bad dump too. 2008-04-13 10:46:07 +00:00
Roberto Zandona
8c6c1e80f9 use cps1 code for the palette 2008-04-13 09:55:03 +00:00
Bryan McPhail
553d449ee6 LED Storm Rally 2011 clone added, seems to require different sprite roms from the other versions (not yet dumped). Rest of driver could probably do with a tidy-up but I didn't have time. 2008-04-13 09:47:46 +00:00
Roberto Zandona
dfe1952883 fix an opcode in quizf1
fix dasm for bp+ix+offset8 and bp+it+offset8
2008-04-13 09:22:07 +00:00
Wilbert Pol
26474ff5de Compile fix. 2008-04-13 09:14:17 +00:00
davidhay
c39f1606da not really making much sense yet.. 2008-04-12 23:18:27 +00:00
smf-
6d87810b1f added sf/lm support to INTPL, improved flag calculation & calculates correct rgb
tidied up DPCS a bit.
2008-04-12 21:51:38 +00:00
davidhay
a38b10c22c still working on this.. temp patch 2008-04-12 20:00:59 +00:00
davidhay
fea81794d7 continued work.. 2008-04-12 19:15:47 +00:00
Wilbert Pol
7fb79442c1 Changed the pic8259 implementation into a device. 2008-04-12 19:15:27 +00:00
smf-
d713e9cce6 tidied up DPCS, improved flag calculation and added support for lm/sf fields. 2008-04-12 18:08:27 +00:00
Nicola Salmoria
e6a6d2f1fb fixed CPS1 palette control register to match tests on msword psb. Thanks to Corrado Tomaselli for the tests. 2008-04-12 13:13:54 +00:00
davidhay
15ececf131 cop/heatbrl ram clear stuff 2008-04-12 12:46:45 +00:00
smf-
303caf3f8b removed casts and removed unnecessary decoding from NCLIP.
added signed values to PAIR & PAIR64.
renamed PAIR64.lw to PAIR64.q
2008-04-12 10:47:39 +00:00
R. Belmont
7544575aea Fix compile error on systems where time.h isn't automagically included. 2008-04-12 06:14:31 +00:00
R. Belmont
340d6f4458 [TaitoIC] Fixed 64-bit GCC breakage. 2008-04-12 05:59:57 +00:00
Aaron Giles
439dbe872a Cleanups and version bump to 0.124u2. 2008-04-12 05:16:26 +00:00
Aaron Giles
f57b3da9a3 From: Justin Kerk
Subject: xml_normalize_string() bogusly escapes UTF-8

Various parts of MAME have recently been changed to support UTF-8
strings, so I thought I'd test out using a UTF-8 driver name for the
Sam Coupe driver in MESS, just to see if anything breaks. Most things
do seem to work well - the name is correctly drawn in the UI etc. One
thing that doesn't work properly is the output from -listxml: "Sam
Coupe" becomes "Sam Coup&#195;&#169;" - each UTF-8 byte is
individually escaped, resulting in two gibberish characters instead of
the correct character.

The culprit here is xml_normalize_string() in src/lib/util/xmlfile.c -
the code converts any high-bit byte to an XML escape, which is totally
bogus for any encoding but ISO-8859-1 because XML escapes are defined
as Unicode codepoints regardless of the document encoding.

Fortunately, this is very simple to fix - in fact, it is sufficient
just to remove the escaping code and pass through the UTF-8 bytes
directly, because UTF-8 is mandated as the default encoding in the XML
standard.[1] The attached patch does this.

This should be a pretty safe change since as far as I can tell nothing
in MAME or MESS currently triggers this code (that is, the string "&#"
does not occur in the -listxml output of either). One potentially
negative effect is that the ASCII controls which are illegal in XML
(0x00-0x19 excepting line breaks and tabs) would no longer be escaped.
However, I can't imagine why you would want any in a string destined
for -listxml, so IMO that would be a problem elsewhere in the code and
having XML parsers barf on it would be desirable.

-Justin Kerk
2008-04-12 05:12:47 +00:00
Nathan Woods
9402f05a08 MESS specific fix 2008-04-12 03:41:30 +00:00
smf-
5f75c62fb9 fixed avsz3 & avsz4 flag & otz calculation. 2008-04-11 23:10:07 +00:00
Brian Troha
2aac02a8d7 New non-working game: Touch Master 7000
Protection bypassed as per TM4K & TM5k... goes no farther.
2008-04-11 22:17:13 +00:00
smf-
5ed8b1252b fixed flag calculation in F macro. 2008-04-11 21:42:05 +00:00
Nicola Salmoria
0a4dfefd92 Verified some gfx ROM mapping tables against PAL dumps
Improved understanding and emulation of palette related registers
Huge thanks to Corrado Tomaselli for the continued help with tests on the pcb
2008-04-11 19:22:33 +00:00
Roberto Zandona
c5b78d5687 fix a opcode for quizf1 2008-04-11 18:05:37 +00:00
smf-
22df06f724 fixed sign extension when inverting mem_mask. 2008-04-11 18:01:14 +00:00
stephh
c1658675f3 Fixed bug ID 01571.
Fixed Dip Switches.

Used port tags instead of port numbers.
2008-04-11 17:18:07 +00:00
Aaron Giles
58842fd57b Various tweaks/fixes from MAMEPlus:
* save state support for FD1094 chips
 * improved graphics in athena
 * improved sound balance in armedf
 * derived refresh rate for toaplan1 games
 * improved sound balance in tmnt games
 * derived clocks for suprridr
 * tweaked xmen visible area
 * derived clocks and refresh rate in twin16 driver
2008-04-11 14:25:38 +00:00
Yasuhiro Ogawa
a8190b80e0 Added Side by Side 2 (Japan) 2008-04-11 14:09:54 +00:00
Aaron Giles
7b927dff67 From: Oliver Stoenberg
I cleaned up the Machine usage in the osd/windows files and added the 
running_machine parameter where possible.
I didn't add it to osd_wait_for_debugger() yet, but I would make 
sense to have it.
2008-04-11 14:05:25 +00:00
Aaron Giles
250e9056d5 From: Oliver Stoeneberg [mailto:oliverst@online.de]
Subject: change for cpunum_set_irq_callback() callback function

This patch adds the running_machine* parameter to the function passed 
into cpunum_set_irq_callback() and adds the IRQ_CALLBACK macro for 
the callback function.
2008-04-11 14:00:47 +00:00
Aaron Giles
ab2154804c From: Tomas Garcia-Meras Capote
Subject: Update for "Euro League (bootleg)"
Hello,
 some tiny updates for the driver wc90b.c :
 
-Added dumps for all GALs on the PCB
-Removed the second YM2203, it isn't present on the bootleg boards
-Changed the clocks according to the oscilators found on the board,
 the previous speeds were measured on a goal92 PCB, not using a real "Euro League" PCB.
-Added a new osc to xtal.h
 
If you need any info about this update, please mail me.
 
Regards: ClawGrip (Tomas Garcia-Meras)

--

Also merged memory maps [Aaron Giles]
2008-04-11 13:58:17 +00:00
Aaron Giles
dbb98c5473 Reduced the number of save state callback types from 3 to 1. The
only remaining form is the one that takes a pointer parameter.

Added macros for STATE_PRESAVE and STATE_POSTLOAD to define common
functions. Added machine parameter to these functions.

Updated all drivers and CPU/sound cores  to use the new macros 
and consolidate on the single function type. As a result pushed
the machine parameter through a few initialization stacks.

Removed unnecessary postload callbacks which only marked all tiles
dirty, since this is done automatically by the tilemap engine.
2008-04-11 05:41:46 +00:00
stephh
6331c8d699 Fixed 'lghost*' Dip Switches. 2008-04-10 22:52:10 +00:00
stephh
17d3443680 Fixed bug ID 01567.
Fixed Dip Switches for all sets.
2008-04-10 22:20:01 +00:00
Roberto Zandona
e1a8ab0d1b fix dasm for rep instruction 2008-04-10 21:50:31 +00:00
Pierpaolo Prazzoli
7368ec7815 Enabled roz tilemap in emeraldia, but it's not centered in the right position when it's not in its original dimension 2008-04-10 15:39:59 +00:00
Aaron Giles
8edb9ce1b6 From: Fabio Priuli [mailto:priuli@math.ntnu.no]
Subject: bugfix to 1673 on MT

Enclosed please find a patch which fixes bug 1673 in MT. in 123u4 a few 
machine parameter where added to the routines drawing bg and fg, but all
of them where moved to use the _fg function. putting _bg where they were
in 123u3 fixes the bug
2008-04-10 13:52:22 +00:00