Commit Graph

1588 Commits

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