Commit Graph

2162 Commits

Author SHA1 Message Date
Brian Troha
4b2f775717 New Clone: Winding Heat (EAA, Euro v1.11)
New clones added
----------------
Winding Heat (EAA, Euro v1.11) [Highwayman]
2008-07-18 20:56:50 +00:00
Brian Troha
b3b2c01fe5 ElSemi's fix for the i960 issue:
well, the fix is not that but changing them this way:
 
 program_write_dword_32le(i960.r[I960_FP]-16, i960.PC);
 program_write_dword_32le(i960.r[I960_FP]-12, i960.AC);

in take_interrupt.
 
It seems it came from a partial fix in the ret instruction. the manual says that PC is saved at FP-16 and AC at FP-12
it was reversed in mame, so when trying to fix it, i suppose Ernesto forgot to change the push too.
 
I've tested this fix and apart from having daytona working, pilot kids 2A works too (that I think has been broken for ages).
2008-07-18 19:53:37 +00:00
Aaron Giles
023423726f Removed MDRV_SOUND_ADD. Renamed MDRV_SOUND_ADD_TAG to
MDRV_SOUND_ADD. All sound chips must now include a tag.

Laboriously changed all existing drivers to define a
unique tag for each sound chip.

CPUs are next, but will require a more hands-on manual
process to produce reasonable tags.
2008-07-18 17:08:58 +00:00
Brian Troha
3e004766e4 New Clone added - Major Title (World) to m72.c
New clones added
----------------
Major Title (World) [Tirino73 / MAME Italia]
2008-07-18 14:54:35 +00:00
Brian Troha
4f2476961f Adds information on how to toggle the built-in speedup in Ms Pacman or the fast shot in Galaga
It's a hidden feature like the hidden Pacman game
2008-07-18 05:42:17 +00:00
Nicola Salmoria
afb22818d6 01113: btlkroad: [possible] This game runs like slow-motion during gameplay, with 60/60 on fps. 2008-07-18 05:19:24 +00:00
Brian Troha
ee12456633 As per RB's request... changed short name STV BIOS 2008-07-18 04:21:54 +00:00
R. Belmont
8bfc55d1e1 [Mantis #2007] Fixed avengrgs to work with the SH-2 DRC. 2008-07-18 02:00:54 +00:00
Nicola Salmoria
a46b0cb0e8 updated comments after refresh rate was verified on the pcb 2008-07-17 18:07:26 +00:00
Aaron Giles
e5a0b682da Minor cleanup from last checkin. 2008-07-17 16:10:46 +00:00
Aaron Giles
517a24c0ef Robustified key behavior when the debugger is visible. Should now
properly ignore the "break into debugger" keypress and not allow
related characters to filter through. Removed some hacks related to
making that work in the past.

Changed osd_wait_for_debugger() to take a machine parameter and a
"firsttime" parameter, which is set to 1 the first time the function
is called after a break. The Windows debugger uses this to ensure
that the debugger has focus when you break into it.
2008-07-17 16:09:52 +00:00
Aaron Giles
4408b14d38 Cleanups and version bump. 2008-07-17 08:50:36 +00:00
Aaron Giles
b03482b409 Hi,
I start to think that my computer was infested by a gremlin when I sent my patches for S-starting drivers... Indeed, I could have sent a not complete version of the diff for segas16b.c. In attachment, you can find a small patch which changes apoint & snapper input tags as they should be for those games to work. If these tags were already fixed in the diff I sent, please simply disregard this submission :)

Good work
       Fabio
2008-07-17 08:32:07 +00:00
Aaron Giles
98ec2c8ac6 From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Subject: some more read_indexed removal

Hi,

enclosed please find a few patches which

* convert to use tagged inputs and handlers all drivers starting with S
* simplify input reads in system24 (removing a redundant handler)
* clean up a bit inputs in system 16 & 18 bootlegs (among the other things, now coinage and P2 inputs in fpointbl & fpointbj work again)

Note that I put ssv.c changes in a separate patch because, according to MT1959 bug, the driver could have been modified. Let me know, however, if this patch or any other fails to apply.

Once again, I spent a lot of time testing these changes (both with automated tests with -str 25 and by playing emulated sets) so I hope everything is correct. 

Regards,
      Fabio Priuli

--

From: Fabio Priuli [mailto:doge.fabio@gmail.com] 
Subject: fixed patch

Hi,

applying to a fresh source my recent patches I noticed that patchS09.diff got corrupted somehow before being submitted (it misses a few lines). While not terrible (each patch was as usual independent from the others), yet it's a bit annoying that part of the changes (system 16 & 18 bootlegs) would have been 'lost' :)

I attached a fixed patchS09.diff, which contains all the changes done in my previous patchS09.diff but shall now correctly apply

Sorry for the inconvenience

     Fabio Priuli

--

From: Fabio Priuli [mailto:doge.fabio@gmail.com] 
Subject: two more patches

Hi,

enclosed please find two patches which

* convert to use tagged inputs and handlers most drivers starting with T
* fix MT bug #2006
* remove a lot of redundant #define from taito drivers, replacing them with PORT_INCLUDEs and definitions from taitoipt.h

Hopefully, both .diff will apply with no problems despite their size. Let me know if something fails to apply and I will generate per-case .diff :)

As usual, I tested as much as I could the changes, so there shall be no regression. 

Regards,
      Fabio Priuli
2008-07-17 08:27:29 +00:00
Nicola Salmoria
2381235812 changed partial refresh policy and updated comments 2008-07-17 08:22:45 +00:00
Aaron Giles
c3280d49c4 From: abcd efgh [mailto:cix_999@yahoo.it]
Subject: srmp5 some work

- Removed hack in drive machine R3000
- Adjusted  R3000 frequency to 25 Mhz according to speglsht (the hardware is the same)
- Adjusted visible area (but i'm not sure it's correct)
- Fix one rom loading

Bye Sonikos
2008-07-17 08:15:06 +00:00
Aaron Giles
75c96c97e1 From: RansAckeR [mailto:RansAckeR@pandora.be]
Subject: changela.c inputs

-Fix for 01910.
-DIP switch fixes
-Added DIP locations.
2008-07-17 08:13:34 +00:00
Aaron Giles
5df81c3843 From: MACARENO Richard [mailto:macarenor@free.fr]
Sent: Tue 7/8/2008 3:16 PM
To: submit@mamedev.org
Subject: Tinymame sumition...
Hi
I try a small update for Tinymame..
While Gaelco has offers their roms for World Rally for download on their website, they are supposed to be free...
I supposed i can add this game to tinymame.
I think i didn't make mistake implementing it (i'm not dev at all... I'm hebus on mamewold messageboard)...
If it can be accepted, my name "macareno" for signing, would be more discreet than hebus...
 
Attached-files are the diff file and the .exe for trying...
 
Richard
2008-07-17 08:10:47 +00:00
Aaron Giles
5244807bf3 Cleanups. 2008-07-17 08:09:52 +00:00
Aaron Giles
b5f2aa1240 Changed direct access EEPROM interface to return the "bus width" of the
EEPROM data, and the size is in terms of units, not bytes. Updated all
drivers accordingly.

Changed the ROM loading code to actually alter the region flags based
on the CPU endianness and bus width when creating the region, rather
than fixing them up on the fly. This means that callers to
memory_region_flags() will get the correct results.

Changed the expression engine to use two callbacks for read/write rather
than relying on externally defined functions.

Expanded memory access support in the expression engine. Memory accesses
can now be specified as [space][num]<size>@<address>. 'space' can be
one of the following:

   p = program address space of CPU #num (default)
   d = data address space of CPU #num
   i = I/O address space of CPU #num
   o = opcode address space of CPU #num (R/W access to decrypted opcodes)
   r = direct RAM space of CPU #num (always allows writes, even for ROM)
   e = EEPROM index #num
   c = direct REGION_CPU#num access
   u = direct REGION_USER#num access
   g = direct REGION_GFX#num access
   s = direct REGION_SOUND#num access

The 'num' field is optional for p/d/i/o/r, where is defaults to the
current CPU, and for e, where it defaults to EEPROM #0. 'num' is required
for all region-related prefixes. Some examples:

   w@curpc = word at 'curpc' in the active CPU's program address space
   dd@0    = dword at 0x0 in the active CPU's data address space
   r2b@100 = byte at 0x100 from a RAM/ROM region in CPU #2's program space
   ew@7f   = word from EEPROM address 0x7f
   u2q@40  = qword from REGION_USER2, offset 0x40
   
The 'size' field is always required, and can be b/w/d/q for byte, word,
dword, and qword accesses.
2008-07-17 08:07:12 +00:00
R. Belmont
b859963772 SH2DRC: cleanups and tweeks from Aaron's suggestions. 2008-07-17 03:46:51 +00:00
Brian Troha
568b10c94d New Model 2 clones (via ElSemi)
New clones added
----------------
Virtua Fighter 2 (Revision A) [Peabo / ElSemi]
Daytona USA Deluxe '93 [Peabo / ElSemi]

Also adds redumped fv2 sound sample rom
2008-07-16 22:54:23 +00:00
Aaron Giles
894fcaad28 Added logic to parse out the white flag. 2008-07-16 14:25:14 +00:00
Nicola Salmoria
34b353c1e0 00871: pow: At 3/4 of the 1st level, there is a large pillar, which pops up too late.
general cleanup
2008-07-16 10:16:57 +00:00
Couriersud
ed46d4f531 02009: frogger and clones: background doesn't rotate in cocktail mode
* also fixes that the frog disappears for player 2 if moved backwards. This will 
  position him on x=242. 
  All games in this driver now have the sprites in cocktail/player 2 now offset by 2
2008-07-15 21:18:53 +00:00
Phil Bennett
23d963f2ee Corrected g13knd wave ROM 0 offset 2008-07-15 16:51:32 +00:00
R. Belmont
847b927e8d Fixed simple but deadly typo in previous update. 2008-07-15 16:44:25 +00:00
R. Belmont
837d59500a i960: respect the rounding mode for CVTRI [ElSemi] 2008-07-15 16:42:05 +00:00
Nathan Woods
efcaebaea2 Changed ui_menu_get_selection() and ui_menu_set_selection() to use itemrefs
instead of indexes as per Aaron's guidance.
2008-07-15 11:04:30 +00:00
Nicola Salmoria
f9f57af7a1 01547: cabalbl: Cabal (bootleg) soundfx wrong
merged memory maps
2008-07-15 06:42:26 +00:00
Nicola Salmoria
245584b6c2 fix memory leak in romcmp 2008-07-15 05:57:27 +00:00
R. Belmont
a0ae9b4bb6 SH-4 update [Samuele Zannoli]
- Fixed TRAPA and some versions of FMOV
- Improved disassembly for MOV.W, MOVA, MOV.L, FIPR, and FSCA.
2008-07-14 23:27:27 +00:00
davidhay
1f7a76abfa moved kodb to fcrash.c (which will probably end up being the home of the cps1 bootlegs) 2008-07-14 20:48:04 +00:00
Nicola Salmoria
1a05fad1c0 comments change 2008-07-14 15:27:34 +00:00
Andrew Gardner
5712e5fa58 01986 : victroad, dogosoke: Last unknown dipswitch info
01959 : hypreact: DIP switches info.
2008-07-14 15:26:25 +00:00
Nicola Salmoria
11441c78b6 00244: aliens: In two player mode, there are some problems with the player sprites. 2008-07-14 15:04:30 +00:00
Aaron Giles
26b6c2cf16 Fixed popmessage. 2008-07-14 15:00:58 +00:00
Nicola Salmoria
89675377ca added save state suport to Konami CPU & Aliens 2008-07-14 14:56:20 +00:00
Aaron Giles
484efe776b Added an exit function to the SH2 drc so that it doesn't leak
memory like crazy.
2008-07-14 14:53:08 +00:00
Nathan Woods
83f6ced61e Added accessors to get/set the currently selected menu item in a menu 2008-07-14 11:34:20 +00:00
Brian Troha
687e9b393b minor spelling correction 2008-07-14 04:35:31 +00:00
Brian Troha
dcf0a575ff Adds BIOS info based on text at 0x800 (byte swapped)
Reorganized the BIOS list & description
Added the USA bios to smleague and it's a USA only cart.
2008-07-14 04:13:08 +00:00
R. Belmont
a18b3c3eeb [SH2DRC] Removed remnant of outdated interrupt design. 2008-07-14 01:55:02 +00:00
R. Belmont
1f9a29d7fa UDRC-based SH-2 dynamic recompiler.
- All games on all drivers should work as before except "colmns97" and "stress" which crash due to sound system trouble.
- All idle skips are still included.  They are quite a bit less effective than they were on the interpreter, but they still give a boost.
- Fast RAM bypass is not included yet so this does not represent final performance.  That said, it's consistently faster than the interpreter even now.  Example: sfiii3 on 0.126 gets 609% on the interpreter and 961% on the DRC.

Major thanks to Aaron for his assistance with several sticky core bugs and other issues encountered writing this.
2008-07-13 23:40:54 +00:00
Nicola Salmoria
4b6e06f175 merged exctsccr.c into champbas.c 2008-07-13 14:09:09 +00:00
Aaron Giles
dabae9787b Replaced the crazy number of get/set functions for render containers with
a single get/set of a user settings struct.
2008-07-13 08:03:43 +00:00
Aaron Giles
c4e5ae4e41 Fixed edge case in the DRC front-end that would incorrectly tag the
end of a sequence as "return to start" even if the last instruction
did not abet the starting instruction.
2008-07-13 07:03:30 +00:00
Aaron Giles
4860b171b2 Fix game selection menu. Changed so that it only computes available
drivers once per instantiation instead of on every change.
2008-07-13 06:52:32 +00:00
R. Belmont
90a6836226 64-bit GCC fixes. 2008-07-12 21:23:48 +00:00
Aaron Giles
86fbc45266 Converted UI startup screens to use astrings. 2008-07-12 20:30:47 +00:00