Commit Graph

1975 Commits

Author SHA1 Message Date
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
Aaron Giles
66c48036a3 From: Fabio Priuli [mailto:priuli@math.ntnu.no]
Subject: some dips

dips.diff adds tags and locations to dips for marvins.c and matmania.c 
(also adding a couple of corrections in names and default settings, 
explained in short notes added to the drivers)
2008-04-10 13:50:47 +00:00
Roberto Zandona
b389e946d6 fix for another opcode
now all the opcodes are decrypted
2008-04-10 05:29:16 +00:00
Roberto Zandona
75053e1d2b confirmed two more opcodes 2008-04-09 22:39:17 +00:00
Roberto Zandona
04ef716385 gussun oyoyo and risky challenge:
another opcode to fix explanations in the practice level
2008-04-09 20:29:46 +00:00
Aaron Giles
4867aa38b9 Take two of the previous changes. I think this is a little simpler,
using masks instead of the generic byte/word/dword read functions.
2008-04-09 14:48:22 +00:00
Aaron Giles
b4e4b1d3f0 Oops, remove accidentally checked-in makefile changes. 2008-04-09 13:23:25 +00:00
Aaron Giles
eeee1cb437 Rewrote core memory handlers as inline functions. These should be easier to
trace through in a debug build, yet should operate the same as before.

Created a complete set of functions for all databus sizes (8,16,32,64) and
all endiannesses. A few functions are redundant, but it is now very clear
which functions to use in which scenarios. It is also now possible to rely
on being able to access values of 8, 16, 32 or 64 bits via the built-in
accessors without fear of crashing.

Updated all cores using 8-bit handlers to explicitly call the 8-bit handlers
with the appropriate endianness.

Fixed a few games which were calling n-bit handlers directly to use the
generic forms. In the future, this is all the access drivers will have.
2008-04-09 07:31:47 +00:00
stephh
0a3bdaa3ef Fixed bug ID 01668 based on etabeta submission.
Checked inputs for all games but 'survival' (Dip Switches still need to be done), so now cocktail mode is correctly supported by 'pleiads' and its clones.

Renamed sets :
  - falcona  -> falconz
  - vautour2 -> vautourz
2008-04-09 05:47:48 +00:00
Roberto Zandona
7800d2bb70 fix dasm for two code and prefix opcode in real time encryption 2008-04-08 22:39:28 +00:00
Wilbert Pol
8dcedabb57 Removed the hardcoded dependency on a 8254 device from the 8042kbdc code. Changed the drivers using the 8042kdbc to define their own 8042kdbc - 8254 dependency. 2008-04-08 18:35:48 +00:00
Nicola Salmoria
ea8471679b New clones added
----------------
Super Monaco GP (set 1, Japan, Rev A, FD1094 317-0124a) [Corrado Tomaselli]
2008-04-08 17:13:58 +00:00
Nathan Woods
3364fdb2d8 Initializing device_config.machine to NULL 2008-04-08 00:30:56 +00:00
smf-
ee9ce122a9 removed useless casts in BLEZ/BGTZ 2008-04-07 23:49:48 +00:00
smf-
af97c741b3 fixed OTZ sign extension
fixed reading from SXYP
fixed reading from IRGB
fixed writing to LZCR
fixed sign extension of GTE control registers
fixed writing to FLAG

New games added or promoted from NOT_WORKING status
---------------------------------------------------
1 on 1 Government (JAPAN)
2008-04-07 23:20:31 +00:00
Roberto Zandona
486cdcb6b5 1) fix nec v30 dasm when a "real-time encrypted cpu" is used
2) fix Execution Clocks for add,addc,and,or,xor,cmp,sub,subc instruction
2008-04-07 22:30:52 +00:00
Roberto Zandona
634b30cbb3 fix for wrong tile-sprite priority 2008-04-07 19:31:20 +00:00
Wilbert Pol
35462b15c5 Changed the 8237dma implementation into a device. 2008-04-07 17:53:56 +00:00
Nicola Salmoria
9940fd24a7 Added mising TC0060DCA sound mixer to the Taito Z driver
marked one dblaxle ROM as BAD_DUMP
00029: contcirc: Audio emits from one speaker on start up.
2008-04-07 11:52:29 +00:00
Nicola Salmoria
3e3c448017 merged memory maps 2008-04-07 09:23:49 +00:00
Nicola Salmoria
af9f5d75c1 01253: topsecrt: There are gray tiles around the title in the original pcb and the bootleg too. 2008-04-07 08:51:40 +00:00
Nicola Salmoria
e0c1c7a07e fixed 3wonders missing sprites in last update 2008-04-07 07:35:56 +00:00
Roberto Zandona
99103d0736 for aerfboot:
1) sprite offset are now correct
2) split spriteram in two parts
3) identified last sprite for the two parts
4) promoted to "working" (no sound)
 
for pallavol:
1) fix for sprite's y-coordinate
2) implement lookup table for convert sprite code in the real code
3) change the name to "1991 Spikes (Italian bootleg) (see the snapshot)
4) fix scroll
5) fix offset
2008-04-07 07:02:23 +00:00
Nicola Salmoria
5b36289ee7 updated comments to match comments from Charles, and fix error in 3wonders mapper table. 2008-04-07 06:50:10 +00:00
Ryan Holtz
947697a18d Whoops. Left some debugging code in there. 2008-04-07 01:51:35 +00:00
Ryan Holtz
4254afc8b5 Mostly fixes sound in N64-based games (Adam Gashlin)
Correct DMA functionality in N64-based games (Ville Linde)
2008-04-07 01:34:15 +00:00
Andrew Gardner
0cb1234dd4 Memory map merges for drivers starting with U, V, W, and Z. 2008-04-07 00:26:08 +00:00
Aaron Giles
bcb340612b Fixed bug that prevented the initial input port update from working properly. 2008-04-07 00:21:00 +00:00
davidhay
bb3ddbf98e added back some logging 2008-04-06 23:16:39 +00:00
smf-
4d21cff799 added IR1/IR2/IR3 saturation when calculating ORGB
fixed spelling mistake.
2008-04-06 22:48:25 +00:00
Aaron Giles
436adc3c48 Oops, missed one. 2008-04-06 22:12:06 +00:00
Aaron Giles
99a92aa80a Bulk converted drivers explicitly calling input_port_n_r() with a bogus
offset to calling input_port_read_indexed() instead.
2008-04-06 22:10:54 +00:00
Aaron Giles
8a914b3d22 Renamed input port functions:
readinputport           -> input_port_read_indexed
  readinputportbytag      -> input_port_read
  readinputportbytag_safe -> input_port_read_safe

Added machine parameter to input port functions. Updated
many drivers to accomplish this.
2008-04-06 22:02:39 +00:00
Aaron Giles
edb6e3de5a Fixed unicode crashing bug with input names. 2008-04-06 21:56:20 +00:00
smf-
be21ac9e08 fixed IRGB truncation and conversion to IR1/IR2/IR3 2008-04-06 21:38:25 +00:00
davidhay
ea0fec5bb4 still looking at this.. 2008-04-06 21:14:35 +00:00
smf-
3d05dc8d91 fixed SZ0 truncation. 2008-04-06 21:12:02 +00:00
davidhay
f9e06bbc50 memory map cleanup 2008-04-06 20:07:27 +00:00
davidhay
a04b9e5afc added another Seibu Cup Soccer Selection set, credit Arzeno Fabrice
renamed some sets, as some of the Seibu Cup Soccer sets are actually 'Seibu Cup Soccer Selection'
2008-04-06 17:31:25 +00:00
Brian Troha
d553b0011d adds a tiny bit more info about the Touch Master games 2008-04-06 17:22:22 +00:00
smf-
d485e8ed3c Fixed the SR masks for MTC0.
Added ability to test the instruction/data cache ram. The scratchpad and BIU register are now handled internally to the CPU.

All writes are performed with masks. SWL/SWR used to be implemented with two writes ( one byte and one word ) when writing three bytes, now it only ever performs one. Byte and Word writes use masks as they leave the rest of the register on the bus, which can be picked up by larger registers.

The read/write functions to use are cached when the SR bits are updated, as are the bad address masks.

Added coprocessor 1 & 3 support, though they don't do anything useful.

All loads now go through the delay pipeline, a lwl/lwr will grab the value out of the pipeline if it's updating the same register.

Added undocumented behaviour of BLEZ/BGTZ. The comparison for zero can be changed by specifying an alternate register in the RT field ( the documentation says you should always use register 0 ).

Restricted to 16 COP0 registers & generate an exception if any of the 5 for the MMU are used.

Added BCF/BCT instructions, although I have found no conditions that affect them yet.

Generates an exception if any MMU instructions are executed.

Sets the CE instruction for all exceptions, not just those involving a coprocessor. The bits of the opcode that specify the coprocessor are grabbed no matter what the instruction.

Added TAR register and BT bit in SR. When an exception occurs during a branch, BT determines whether it was taken or not. The TAR register gets set to the destination of the branch.

Fixed the BD bit when you are in a branch delay slot and you didn't take the branch, this shows up in the pipeline as !pc.

Fixed branches within a branch delay slot.

Multiply & divide instructions can be aborted if you write to HI/LO before reading the result.
Added data breakpoints, you don't appear to be able to set breakpoints on any of the addresses internal to the CPU.

Multiply/divide/GTE instructions can execute when an exception is taken, although the EPC indicates that it hasn't. The BIOS avoids rerunning GTE instructions as they are destructive, so you have to make sure they run.

Added bus error handling, PSXCPU is limited to 8mb of ram & any access outside this range will trigger an exception. I believe this is to be an internal limit.

Added CXD8611R as a specific CPU type, System 12 appears to allow more than 8mb of ram & it's possible that this is different.

Mapped out all instructions to either generate an exception or ignore bits.

Updated the disassembler to match the decoding.

Fixed disassembling of branch instructions in a branch delay slot.

Lui checks for a ori/addiu following and will show you the result.

Added step over/out support.

Fixed standalone disassembler.
2008-04-06 16:42:10 +00:00
Nicola Salmoria
d8bbbf35b0 Removed CPS1 tile kludges and replaced with per-game ROM mapping tables. Ideally, the ROM mapping should be derived from mapping of the PALs found on the B board. However, this is unlikely to happen, so we'll have to live with hardcoded tables.
Note that this is a significan change and some new bugs might be caused by it. Unlikely previous bugs, where extra garbage tiles would appear in the games, the new bugs would be tiles or sprites MISSING--so they will be harder to notice. This would happen because in some cases the 16x16 regions of the gfx ROMs can be used by both scroll2 and sprites, while in other cases they must be separated.
2008-04-06 12:17:22 +00:00
davidhay
4f89b193d5 improved graphic decoding for Legionnaire, the BK3 tiles are now correctly extracted from the TXT region, map screen has correct tiles now. no progress with the protection tho. 2008-04-06 12:13:34 +00:00
Aaron Giles
830b8836fc 01609: Various - tested srmp4 (ssv.c), ttmahjng (route16.c), vsmahjng (vsnes,c), tokkae (konamigx.c), sf2 (cps1.c): INP playback loses sync quickly
Rewrote INP recording from scratch, since all old INPs are broken anyways.
Header now includes timestamp, which overrides the default time base for MAME's system time.
Each frame recorded now gets a timestamp.
Analog ports are recorded once per frame and interpolated.
Analog port calculations are all done in fixed point for consistent results.
A bunch of other minor tweaks in the input port code.

There may still be a few changes to the final INP format (considering adding 
NVRAM data directly in the INP file, for example....) but this at least seems
to work for the games I've tried.
2008-04-06 06:03:00 +00:00
Brian Troha
c889f3124f Adds new non-working game: Touch Master 5000
Not working, only goes as far as tm4k.  Initial protection bypassed as per tm4k.

Adds some doc / info as well
2008-04-06 04:58:44 +00:00
Nathan Woods
8fcdf39e8e Added a temporary MESS specific hook 2008-04-06 01:19:15 +00:00
davidhay
09f5e868b0 dox talked with the owner of the PCB for this, apparently swapping these two roms gives correct colours, they were incorrect before. 2008-04-05 21:28:59 +00:00
davidhay
e97cb11af3 couple of minor changes, still no actual improvements. 2008-04-05 21:23:25 +00:00
davidhay
d0a0358317 documentation fix 2008-04-05 14:30:25 +00:00
davidhay
bd7c159b15 Seibu COP stuff - just moving things around renaming them, comparing Legionnaire with Raiden 2 etc. No functional improvements just yet. 2008-04-05 13:08:11 +00:00
Couriersud
0d10d0df2c 00761: finalapr: Heavy performance hit.
Actually remove tilemap invalidating from tilemap_set_palette_offset (tilemap.c)
Following recommendation from Aaron added a comment to tilemap.h
2008-04-04 19:43:20 +00:00
Nicola Salmoria
5c7d45515e 00352: spaceskr: The cabinet DIP setting is inverted, when you set it upright mode, control is separated for P1 and P2, the scre 2008-04-04 17:41:32 +00:00
R. Belmont
0dbbecd2b3 [SCSICD] Reverted previous change. 2008-04-04 17:05:53 +00:00
Pierpaolo Prazzoli
aa098ca047 An erroneous debug-change leaked in the last commit 2008-04-04 14:46:38 +00:00
Aaron Giles
356d5dd812 Fixes 01659: stereo balancing is wrong
Apparently if you cast a negative number to a UINT32 at compile-time,
gcc does the "right thing" and saturates it to 0.
2008-04-04 14:17:56 +00:00
Aaron Giles
2c63abdad0 Actually fixed -refreshspeed. 2008-04-04 13:31:25 +00:00
Couriersud
ceab42a52b 01081 (partial): megaplay.c (all games): 1 Player Start and 2 Players Start are duplicated.
There is more to do to in the bug report.
2008-04-04 08:14:05 +00:00
Couriersud
0c79f46193 01663: Hat switches not working
All custom itemids were mapped to class SWITCH. With the recent modification, this implicitly changed to ABSOLUTE.
This fix will use the passed itemid to determine the class.
2008-04-04 07:38:35 +00:00
Nathan Woods
6498f1b8f2 Updated devconv.h to work with 0.124u1 2008-04-04 01:51:39 +00:00
Nicola Salmoria
f023814464 00405: cawing: Text in the attract mode is garbled. 2008-04-03 17:32:29 +00:00
Nicola Salmoria
a69f4fd45c 00250: 3wonders: Various graphic glitches. 2008-04-03 16:32:56 +00:00
Nicola Salmoria
959e66e484 Tweak Do Run Run CPU clock to match the behaviour observed on the real board.
01021: dorunru2: Side-by-side test.
2008-04-03 15:52:37 +00:00
Couriersud
2cfb327cbe Show a message if coin-lockout is active and coin x is pressed. 2008-04-03 15:37:45 +00:00
Nicola Salmoria
bb9c7b593d 00404: 3wonders: a glitch when u insert your record name when game is over. 2008-04-03 14:28:26 +00:00
Nicola Salmoria
26f1537f66 01552: 3wonders, 3wonderu: Another little graphic glitch on attract mode 2008-04-03 13:25:05 +00:00
Aaron Giles
31336e491e Cleanups and version bump to 0.124u1. 2008-04-03 07:57:25 +00:00
Aaron Giles
efbe64428a Switched from ACCESSING_BYTE_*, ACCESSING_WORD_*, ACCESSING_DWORD_*
macros to ACCESSING_BITS_*_* macros.
2008-04-03 07:36:23 +00:00
Aaron Giles
0d89ceb44b From: Hugh Allen [mailto:hugh2@bigpond.net.au]
Subject: patch for state save in buggybjr

Here's a little patch for initial support of state saving in buggybjr. 
(It'll help with tx1 and buggyboy too, but they are non-working)

All I did was get rid of the "anonymous" (temporary) timer that was 
preventing saving, and replace it with a "permanent" timer. I didn't go 
looking for data which might need to be saved.
2008-04-03 05:30:15 +00:00
Aaron Giles
ca3d7d01e6 From: Wilbert Pol
Subject: pit8253 device

I have converted the pit8253 implementation into a device. To make it  
easier to use I've also created a src/emu/devconv.h in the same style  
as src/emu/memconv.h.

I do not have all roms/disk images to test all drivers.  I have only  
been able to test pf2012, filetto, and topgunnr.
2008-04-03 05:26:47 +00:00
Aaron Giles
39d36956d2 From: roberto zandona
Subject: some fix for aerfboot (bootleg of aerofgt)

this fix:
1) spriteram3 (previous value was too high and in the "city" level some build disappear
2) sprite gfx bank (previously some sprite appear right and some sprite was wrong)
3) the zoom is a litlle bit better
4) i have removed multisprite support; in the bootleg aren't present
 
the remaining problem is "not draw some sprite"; maybe there's a mark in some place
 
in the code i add, in a comment //, a way to avoid the draw of the sprite (searching a 0000 0000 0000 0000 sprite); this way works quite good but not perfectly (some time too many sprite are in the screen); maybe there's a value indicating the #number of sprite to draw (from the end to spriteram3 to start)
 
--

From: roberto zandona
Subject: addendum (aerfboot)

this fix perfectly the sprite zoom
2008-04-03 05:23:11 +00:00
Aaron Giles
e621d87cfe From: Oliver Stoeneberg [mailto:oliverst@online.de]
Subject: MESS machine stuff

Another machine parameter added to a MESS function call.
2008-04-03 05:21:51 +00:00
Aaron Giles
aea595a54a From: neoforma
Subject: TinyMAME fix

Nothing to talk about. Just a fix to make it again possible to compile 
out-of-the-box.
2008-04-03 05:20:29 +00:00
Aaron Giles
92cc517479 From: roberto zandona
Subject: a little fix

a little update: this fix priorities in mermaid and rougien and a sprite bug:
 
when a sprite have x coordinate >= 0xf0 the value is negative
this fix the sprite bug
 
+  if (sx >= 0xf0) sx -= 256;
2008-04-03 05:19:34 +00:00
Couriersud
622bbf8e6a ironhors: add discrete filtering and mixing
* one driver less using FILTER_RC
2008-04-02 22:00:10 +00:00
Brian Troha
5bc94c30dd Documentation (rom name) correction. 2008-04-02 20:52:12 +00:00
Nicola Salmoria
944070ee86 00403: 3wonders: Points are displayed between lives of first player and the word INSERT COIN 2008-04-02 16:22:33 +00:00
Curt Coder
1859e012d2 - converted CDP1869 to the new device system
- refactored to represent how the hardware actually works
- added PMA latching on OUT5
- separated Cidelsa video to its own file
2008-04-02 14:43:06 +00:00
Curt Coder
12589d9abd More COP400 fixes:
- fixed serial timer
- fixed clocks
- fixed COP410 RMB3, XAD instructions
- general cleanup
2008-04-02 14:36:50 +00:00
Nicola Salmoria
9c0447a597 Fix CPS1 background color. This fixes 3 wonder (game start) and mtwins (explosion during attract).
If seems to break Varth, hower, and has dubious effects on the boot sscreens of avsp, sfa3 and possibly other CPS2 games.

01542: 3wonders, 3wonderu, wonder3: Wrong colour of background in game selection and start screens
00410: xmcota: After a couple passes through the demo mode, the background on the qsound screen will go to a shade of green.
2008-04-02 13:31:03 +00:00
Nathan Woods
36af5b18bc Tweaked the hooks that MESS has in the MAME initialization process 2008-04-02 10:59:32 +00:00
Aaron Giles
dc5af38f5b From: roberto zandona [mailto:robiza71@tin.it]
Subject: patch for mermaid

proper implentation of hardware collision (first implentation was incomplete)
this fix mermaid (when the player is in the water with the sharks) and rougien (Mantis 01652)
2008-04-02 08:40:34 +00:00
Aaron Giles
cce0f9f8e7 From: Wilbert Pol [mailto:wilbert@jdg.info]
Subject: pcshare patch for mess

Another patch to machine/pcshare; this patch allows the MESS machines  
to choose whether the RDY pin of the nec765 floppy controller is  
connected or not.

Last weekend's pcshare keyboard was almost correct, it caused some  
stuck shift key situations in MESS. This patch fixes that.

Removed a lot of MESS specific code from the machine/pcshare code.
2008-04-02 08:39:44 +00:00
Aaron Giles
fa67773ba7 From: JEA Wallace [mailto:jeaw100@york.ac.uk]
Subject: Further ACIA changes

Added dynamic control of RX and TX pins to 6850 ACIA emulation - this is
needed for correct operation of the MPU4 Video communications system, 
and may be handy for some MESS systems. To use, set the rx and tx clocks
to 0 in the acia interface, then use acia_tx_clock_in() and 
acia_rx_clock_in() respectively.
2008-04-02 08:37:28 +00:00
Aaron Giles
d26f7f12da From: Mr. Do [mailto:mrdo_emu@hotmail.com]
Subject: Internal LAY File - Armor Attack

This is becoming kind of fun.  Here's an internal LAY file for Armor Attack.
 
Re-created the overlay using just rectangles.
 
And finally got to use flipx and flipy for the first time (main reason I did it).
2008-04-02 08:36:30 +00:00
Aaron Giles
35b88f45fe From: Oliver Stoeneberg [mailto:oliverst@online.de]
Subject: small change for MESS cleanup

This adds the "Machine" parameter to a MESS function call in MAME 
code to go along with Machine -> machine ckeanups in MESS
2008-04-02 08:34:24 +00:00
Aaron Giles
f8c51f9a23 From: Wilbert Pol [mailto:wilbert@jdg.info]
Subject: pcshare.c


The attached patch fixes the self-test responses generated by IBM 5150  
and XT keyboards for MESS.
2008-04-02 08:33:39 +00:00
Aaron Giles
bddaca5de2 From: Oliver Stoeneberg [mailto:oliverst@online.de]
Subject: Machine -> machine cleanups

This patch changes "Machine" to "machine", when the runnin-machine 
parameter is already available. In some cases I could even remove the 
dprecat.h.

I will look for some occurances where it can be easily changed and 
afterward take a step at adding the running_machine parameter in a 
few places.
2008-04-02 08:33:06 +00:00
Aaron Giles
86e9f195a9 From: Mariusz Wojcieszek
Attached diff adds Multi Game III (yet another NES-based hack) to multigam.c. Game is playable.
Multi Game III
2008-04-02 08:31:21 +00:00
Aaron Giles
9518901281 From: Corrado Tomaselli
Subject: rygar clocks

Corrected clocks on Rygar.
Concerning the 400khz resonator, it's genuine, not resoldered even if 
schematics shows a 384khz resonator.
Another Rygar from a friend of mine has a 400khz resonator so it's 
possible Tecmo had a stock of those resonators to use in change of the 
384khz ones.
2008-04-02 08:30:14 +00:00
Aaron Giles
125e286bda From Dirk Best:
Astrocade update:
 - Update src/mame/includes/astrocde.h to use an XTAL value
 - Clear interrupts if they are no longer valid
 - Add the knob inputs
2008-04-02 08:27:45 +00:00
Aaron Giles
a4a7ea967c From: Mike Haaland
src/osd/windows/ledutil.c

 Include osdcomm.h so INT32 is defined under VC.
2008-04-02 08:25:25 +00:00
Aaron Giles
3fd1755ae2 From: RansAckeR
Subject: fix for 01623

Also changed apb COIN3 to SERVICE1.

--

From: RansAckeR [mailto:RansAckeR@pandora.be] 
Subject: blueprnt.c dips

Added dip locations

--

Also fixed compile error in namcona1.c.
2008-04-02 08:24:20 +00:00
Aaron Giles
2a9d6c09bf Added missing #include. 2008-04-02 08:17:56 +00:00
Nicola Salmoria
72b84c545f Use new TILEMAP_DRAW_ALL_CATEGORIES flag where applicable 2008-04-02 04:54:02 +00:00
Nathan Woods
ff3b615c69 Removing false assertion; NULL is also DEVICE_TYPE_WILDCARD 2008-04-02 01:39:31 +00:00
Pierpaolo Prazzoli
704514c351 Forgot to decomment a check 2008-04-01 21:31:54 +00:00
Pierpaolo Prazzoli
f95ec93c7c - Added tilemaps and sprites 4bpp mode
- Added preliminary ROZ implementation (disabled until the enable / disable register is found)
- Changed background pen to fix emeralda demo
2008-04-01 21:29:29 +00:00
Couriersud
f4b7ad20e2 discrete sound system:
* Fix timing of stream_update in discrete_sound_w
  All sound cores update before processing changed data
* Add streeam_update to discrete_sound_r
* Now supports multiple output nodes per module. 
  There is the possibility to support multiple outputs per module.
  In this case, NODE_XXX is the default output. Alternative outputs may
  be accessed by using NODE_XXX_YY where 00<Y<08.
  
  You may also access nodes with macros:
  
      NODE_XXX = NODE_SUB(XXX, 0)
      NODE_XXX = NODE(XXX)
      NODE_XXX_YY = NODE_SUB(XXX, YY) with YY != 00 
      
  This should e.g. make discrete sound emulation easier
  when dealing with e.g. flip flops (Q & QQ) and binary counters

* added sanity checks to check consistency issues introduced by this change
* modules specify number of outputs ==> Certain special modules (WAVELOG) 
  may no longer be used as input nodes
* removed explicit (NODE_XX + expr) from a couple of drivers
2008-04-01 21:17:17 +00:00
Brian Troha
4a83ea709f Credit: The Guru
Adds Super Bishi Bashi Champ (Korea) to bishi.c

CPU speed correct & readme text added.
2008-04-01 20:43:58 +00:00
Nicola Salmoria
a284b2fd9e fix tilemap viewer to draw the whole tilemap when categories are used 2008-04-01 16:01:34 +00:00
Nicola Salmoria
d91c34cf31 01468: ldrun2: Priority problem at titlescreen 2008-04-01 13:30:49 +00:00