Commit Graph

1621 Commits

Author SHA1 Message Date
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