Commit Graph

7654 Commits

Author SHA1 Message Date
Aaron Giles
200b21dff7 Get rid of setjmp/longjmp for error handling in favor of exceptions.
Fatalerror now maps to throwing an exception. Requires a full
recompile.
2010-01-04 07:05:53 +00:00
Angelo Salese
7e88358737 new not working
---------------

Fun Station Spielekoffer 9 Spiele [Tomasz Slanina]

==================================================

MAME crashes if I return a latch at 0x800100? HD ACRT bug?
2010-01-04 02:39:27 +00:00
Aaron Giles
a3b0cf0aea Make MSVC compile once again. 2010-01-04 01:30:53 +00:00
Aaron Giles
fe40adfb2b Fix codegen bug that broke kinst. 2010-01-04 00:27:45 +00:00
Aaron Giles
ba0d55cad5 Fix linker warning. 2010-01-04 00:09:40 +00:00
Aaron Giles
13c6148885 Fix debug build. 2010-01-04 00:06:45 +00:00
Aaron Giles
a1cdc22b5a Fix typo in 8-bit eeprom case. 2010-01-03 22:42:52 +00:00
Aaron Giles
b4099c91bc Changes to sync with new toolchain:
1. Removed CPP_COMPILE option. All files (except expat and zlib)
are now compiled as C++ by default. For now, imagine nothing has
changed. The goal is not to go hog-wild with C++isms, but to
leverage it where it makes the most sense.

2. Mapped INLINE to plain old C++ inline now, fixing several
cases where this was problematic.

3. Marked global const structures explicitly extern since consts
are locally-scoped by default in C++.

4. Added new 'default' make target which just builds the emulator.
Use 'make all' to build everything including the tools.

5. 64-bit builds now get a '64' suffix on them. We might want to
just make this true for Windows builds, but it's on for everyone
at the moment.

6. (Windows) Removed UNICODE option. UNICODE is enabled by default
on all Windows builds now. The 32-bit version links against
libunicows.a for continued Win9x compatibility.

7. (Windows) Removed hacks surrounding unicode handling of main().
They are no longer necessary with the new tools.
2010-01-03 21:31:44 +00:00
Phil Bennett
aba256db9a Converted the goldstar, liberate, sidearms and sidepckt drivers to use driver_data [Atari Ace]
---------- Forwarded message ----------
From: Atari Ace <atari_ace@verizon.net>
Date: Fri, Jan 1, 2010 at 5:27 PM
Subject: [patch][resubmit] Convert goldstar/liberate/sidearms/sidepckt
to use driver_data
To: submit@mamedev.org
Cc: atariace@hotmail.com


Hi mamedev,

This is a resubmit of my last driver_data patch.  It should be
non-controversial, although it contains some additional whitespace
cleanup in the affected files.

~aa
2010-01-03 17:03:27 +00:00
Roberto Zandona
69e5a2c5b5 cb2001: 3 new opcodes to fix a drawing routine (finally the first screenshot) 2010-01-03 16:31:34 +00:00
Angelo Salese
06aef42eb6 Fixes the gfx rom loading for Race Drivin' Panorama [David Haywood]
Vs. Net Soccer improvements:
Emulated DMA protection for startup-checks in Vs. Net Soccer [Olivier Galibert]
Fixed Data ROM loading in Vs. Net Soccer, game now boots [David Haywood]
Marked Sprite + Sound ROMs as BAD_DUMP in Vs. Net Soccer [David Haywood]
2010-01-03 16:25:42 +00:00
Angelo Salese
b7d982dab8 Base tilemap hook-up for cb2001 2010-01-03 15:17:58 +00:00
Wilbert Pol
2baf956ec5 Configured port A on the uPD7801 to an output port. 2010-01-03 10:15:24 +00:00
Roberto Zandona
5bd987beea cb2001: added one opcode 2010-01-03 10:05:50 +00:00
Roberto Zandona
e400154524 cb2001: fixed 3 opcodes 2010-01-03 09:00:19 +00:00
Brian Troha
b8ed42d8b4 added minor information comments to Merit question rom sets. No whatsnew, thanks. 2010-01-02 21:55:55 +00:00
Aaron Giles
3df8953bca Removed the various HAS_xxxx for sound cores. To select sound cores,
just choose them in the make system. Further granularity is not
necessary. This also means that the samples core is always required.
2010-01-02 20:21:00 +00:00
Pierpaolo Prazzoli
4935467518 Fixed: 03622: solomon, solomonj: Graphics Bugs 2010-01-02 15:46:37 +00:00
Wilbert Pol
22c5856130 Implemented uPD7801 timers. 2010-01-02 10:02:47 +00:00
Roberto Zandona
e66fe1dad7 added more opcodes 2010-01-02 09:53:39 +00:00
Wilbert Pol
a83b755c7d uPD7801 core changes:
- Fixed incorrect disassembly of some instructions.
- Updated the handling of interrupts to match the documentation.
2010-01-02 08:58:38 +00:00
Aaron Giles
cb6fcbbcfa Allocate inline_config separately to avoid alignment issues. 2010-01-01 19:29:12 +00:00
Fabio Priuli
40f0cbf29c Added driver data struct to cave.c
Save states d not actually work due to timer issues (and also because I'm still not sure about what needs to be saved about the cave_sprite struct...)
2010-01-01 18:04:57 +00:00
R. Belmont
b08f51e0aa Trivial BIGENDIAN=1 rsp compile fix, no whatsnew needed. 2010-01-01 16:36:08 +00:00
Roberto Zandona
eb8405c8d1 added 5 opcodes 2010-01-01 15:44:21 +00:00
Andrew Gardner
3d20048e02 hng64: Fixed improperly loaded ROMs in sams64* games. [Andrew Gardner]
NOTES:
The sams64 games had vertex ROMs loading over previously-loaded ROMs.
After fixing this, some 3d started to appear, but it looks like
I'm not doing the FIFO correctly yet.  Maybe.

Okay, now I'm *really* done for the weekend.  I swear.
2010-01-01 01:00:37 +00:00
Aaron Giles
1c987ae159 Added profiler_mark() calls around rdp_process_list() so that the RDP
time is separated from the RSP time.
2010-01-01 00:21:49 +00:00
Aaron Giles
0f6f7ba842 Converted RSP callbacks into device callbacks. Removed a ton of
tag-based queries in favor of using the device passed.
2010-01-01 00:18:16 +00:00
Aaron Giles
b3a8dd2113 Oops, fixed misaligned 32-bit accesses in RSP DRC.
Also  disabled DRC_SQV implementation as it breaks music in mtetrisc.
2010-01-01 00:16:45 +00:00
Andrew Gardner
1128185875 hng64: bbust2 now has 3d geometry. [Andrew Gardner]
NOTES:
The geometry is correct in bbust2 (and it's 'playable' - I beat the first stage), 
but it's missing half of its geo and the textures are wrong.  They're close to 
correct though.  I think there are multiple texture page sizes that I'm not taking into account.

I just noticed there might be a crash or two still lurking in there as well.  Will fix soon.
2009-12-31 22:48:26 +00:00
Aaron Giles
289a309cd3 Cleanups and version bump. 2009-12-31 22:03:37 +00:00
Andrew Gardner
367c1d7524 Fixes polygon lookup in driving games. [Andrew Gardner]
NOTES:
* The driving games should now be pretty stable.  Still no confirmed palette bit tho.
* The latest 3d additions should give some hints as to how some of the 2d behaves (mosaic effects,
  translucency and tilemap enable in xrally's pink tilemaps, etc).
* There is still a lot of geometry missing.  Maybe I'm reading the polygon ROMs wrong?  Maybe
  it's another symptom of the fatfurwa flicker (similar to how buriki is missing bodies)?

I'm going to go after beast busters 2 next.  The geometry is stored differently for it and differently
again for the sams64 games.  This hardware is really really flexible.
2009-12-31 18:21:30 +00:00
Phil Bennett
76008f9876 Changed Green Beret sound chip to SN76489 and indicated that the bootleg has an undumped PAL and PROMs [Kevin Eshbach]
New clones added
----------------
Shaolin's Road (bootleg) [Kevin Eshbach]


---------- Forwarded message ----------
From: Kevin Eshbach <keshbach@comcast.net>
Date: Thu, Dec 24, 2009 at 6:33 PM
Subject: Patch file with assorted changes
To: submit@mamedev.org


Hi,



Attached is a patch file with the following updates:



Added new Shao’lins Road bootleg (colors are slightly wrong)
Corrected the sound chip type used by Green Beret (The original and
bootleg use the same chip.)
Modified the Green Beret driver to use the XTAL_??? definition instead
of the hardcoded value
Added indication that the Greet Beret bootleg has an undumped PAL and
it’s proms need to be dumped because it has four of them instead of
three as the original does.
Fixed some of the rom locations in the Sega Laserdisk driver based off
of a dump from a Galaxy Ranger boardset



I’ve already sent the Shao’lins Road bootleg dump and board pictures
to The Dumping Union group.





Kevin Eshbach
2009-12-31 11:31:24 +00:00
Phil Bennett
4106d2aaf6 Added additional information to the dipswitches and configurations sections in the -listxml output [Oliver Stoneberg]
---------- Forwarded message ----------
From: Oliver Stöneberg <oliverst@online.de>
Date: Thu, Dec 31, 2009 at 1:06 AM
Subject: enhanced dipswitch/configuration information in -listxml
To: submit@mamedev.org


This patch adds some additional information to the dipswitches and
configurations in the -listxml output, so I can test
dipswitches/configurations in mame_regtest by creating .cfg files.

By using this I already found two issues in MESS and the 1943
"Service Mode" issue in MAME would have been detected.

I am also wondering, if there are any dipswitches, that rely on more
than one port. If that's the case I might have to look at them and
change the output.
2009-12-31 11:15:12 +00:00
Brian Troha
2a723ab9be fix over zealous deleting of the comment slashes in Naomi submission 2009-12-31 03:14:00 +00:00
Brian Troha
e6e309a127 Enable last of the 2006 Naomi games (no whatsnew please ;-) 2009-12-31 03:06:42 +00:00
Brian Troha
b3a4af4f16 enable clone in mamedriv.c for the Multifish submission 2009-12-31 02:47:16 +00:00
Brian Troha
e11fe5b328 new clone added: Multi Fish (030124)
MetalliC has some involved changes to driver.  I will submit after 136 comes out

New Clone Added
----------------------------------
Multi Fish (030124) [MetalliC]
2009-12-31 02:01:35 +00:00
Brian Troha
12de0d0a1b made LA Girls and clone of Play Girls. It's clearly a bootleg hardware clone. Title & background change, but the demo play and block arrangement are identical. Added info from the Guru's website about the reported manufacture company and year for LA Girls. Added a note about Tube-it having the copyright and manufacture info removed. 2009-12-31 01:47:58 +00:00
Brian Troha
ce478c940a minor information update extracted from the Guru's web site about the Korean title for the Gals Panic clone 2009-12-31 01:26:36 +00:00
Phil Bennett
f7b4dbfea1 Fixed x86 HLT instruction handling [Phill Harvey-Smith]
Date: Mon, 28 Dec 2009 00:29:31 +0000
From: Phill Harvey-Smith <afra@aurigae.demon.co.uk>
To: submit@mamedev.org
Subject: i86 patch

Hi,

Attatched is a patch correcting the operation of the hlt instruction in 
the i86 core. I have done test builds with both the current mame and 
mess source for both debug and normal builds, and all seems to be ok.

Cheers.

Phill.

-- 
Phill Harvey-Smith, Programmer, Hardware hacker, and general eccentric !

"You can twist perceptions, but reality won't budge" -- Rush.
2009-12-31 00:56:09 +00:00
Phil Bennett
6f4011f247 Corrected a couple of typos in tilemap.c (not whatsnew worthy) 2009-12-31 00:33:55 +00:00
Scott Stone
d19987182c megadriv.c/megatech.c - Some cleanup of a small handful of printf's related to cart ID and selection (no whatsnew needed) 2009-12-30 20:11:55 +00:00
Wilbert Pol
2d26bc8efb Hardware multiplication and division on the SNES takes 8 machine cycles to complete. 2009-12-30 18:47:21 +00:00
Ryan Holtz
e277de3812 More RDP refactoring to eliminate inner-loop branching and function calls. [Harmony] 2009-12-30 07:57:26 +00:00
Ryan Holtz
c0d0d89d1b Fixed a few DRC-ized vector load/store opcodes in the RSP core. [Harmony] 2009-12-30 07:56:09 +00:00
Aaron Giles
152d8a7db0 Explicitly sign-extend 32-bit indexes for load/loads/store on 64-bit
machines to prevent overflow issues. Fixes DRC crash in mtetrisc.
2009-12-30 06:51:42 +00:00
Aaron Giles
31c7c2c219 Fixed error in codegen for drol/dror opcodes in the x86 back-end.
Re-implemented misaligned memory handling in the RSP DRC as before.
2009-12-30 06:19:08 +00:00
Aaron Giles
09d0cb8e12 Rename taiicdev.* -> taitoic.* 2009-12-30 03:28:44 +00:00
Aaron Giles
c05d24eb38 Delete old taitoic.* 2009-12-30 03:26:48 +00:00