Commit Graph

2368 Commits

Author SHA1 Message Date
davidhay
1ee5dc58da new clone : Free Kick (bootleg set 2) 2008-08-09 13:11:53 +00:00
Derrick Renaud
629498ef38 more sound core structure/renaming updates.
You may have to do a clean compile, or delete the affected driver object files.

struct C140interface       to c140_interface
struct cem3394_interface   to cem3394_interface
struct ES5503interface     to es5503_interface
struct ES5505interface     to es5505_interface
struct ES5506interface     to es5506_interface
struct ssg_callbacks       to ssg_callbacks
struct gaelcosnd_interface to gaelcosnd_interface
struct ics2115_interface   to ics2115_interface

I'll stop until my posted question about chip names and upper case is answered.
2008-08-09 05:28:19 +00:00
R. Belmont
b14904ef68 cottonbm: actually, both cheats are harmful. 2008-08-09 03:40:56 +00:00
R. Belmont
98a3efeb51 cottonbm: disable main CPU speed cheat, it causes master/slave comms problems with the DRC for some reason.
Fixes mantis bugs 2020 and 2021.
2008-08-09 03:32:57 +00:00
Derrick Renaud
e6cf588405 Some more structure/naming updates of sound cores.
FWIW, I first check for variables named name_interface and rename them as name_cofig, so they don't conflict with the new interface names.

struct YMF262interface  to ymf262_interface
struct YM2151interface  to ym2151_interface
struct YM2203interface  to ym2203_interface
struct YM2608interface  to ym2608_interface
struct YM2610interface  to ym2610_interface
struct YM2612interface  to ym2612_interface
struct YM3812interface  to ym3812_interface
struct Y8950interface   to y8950_interface
struct YM3526interface  to ym3526_interface
struct TMS5110interface to tms5110_interface
struct TMS5220interface to tms5220_interface
struct AICAinterface    to aica_interface
2008-08-09 00:55:07 +00:00
Derrick Renaud
4bc7e64b46 Hooked up discrete filtering to SN76477 in Space Chaser 2008-08-08 23:16:09 +00:00
Derrick Renaud
1c8e102f7b Discrete sound for Mad Alien 2008-08-08 21:56:44 +00:00
davidhay
6a48444e71 decided not to flag rom 10 of defendw as bad dump. IMO, given the evidence, the mismatched checksum is probably a typo C066 / C866 look very similar ;-) 2008-08-08 20:53:30 +00:00
davidhay
f63347c5ce new clone: Defender (White label) [Andy Welburn] 2008-08-08 20:40:57 +00:00
Derrick Renaud
7ea948666a lower cased sn76477_interface and ay8910_interface 2008-08-08 16:32:55 +00:00
Nicola Salmoria
7b2d48149a Credit Corrado Tomaselli
Added a new Japanese version of Ghouls'n Ghosts.
This could be a hack since, running on a 91634B board, it must have been made at least three years after the initial release of the game. However, if if it's a hack, it's exceptionally well made since all ROM stickers look original and the B-board DAM63B PAL label is printed on the chip.

Also, hack or not, the code alignment of none of the already supported versions matches this one so it appears to at least be based on a new version.

The dip switches need to be checked. The Lives dips, and the two unused dips after those, also change the starting level. This could be further evidence that the game is a hack.

New clones added
----------------
Dai Makai-Mura (Japan new version)
2008-08-08 12:17:01 +00:00
Nicola Salmoria
faa193428c fix bogus comment 2008-08-08 05:34:49 +00:00
Nicola Salmoria
62a323841b fix typo 2008-08-08 05:22:15 +00:00
Derrick Renaud
cc94c8207d Updated structure and naming conventions of the following sound interfaces.
struct CustomSound_interface to custom_sound_interface
struct Samplesinterface to samples_interface
struct SN76477interface to SN76477_interface
struct AY8910interface to AY8910_interface
2008-08-08 01:50:00 +00:00
Couriersud
3f73ea77f0 Changed region "user1" to "tms5110_ctrl" 2008-08-07 23:32:44 +00:00
Couriersud
daff376f35 Change ad2083 following Aaron's suggestions.
* Use amended prom
* Mark prom as BAD_DUMP
* Use prom in TMS5110 logic instead of hardcoded values
2008-08-07 23:09:02 +00:00
Couriersud
37e0bacdf4 Corrected some typos 2008-08-07 22:13:00 +00:00
Nicola Salmoria
3686aa936a Updated the FD1089 decryption algorythm to use the real keys generated by the LCG as found by Andreas Naive.
The algorithm is more complex than it should be, but I haven't been able to simplify it more.
The keys are still embedded in the source. It would now be reasonable to move them to external files; however, for several games we only have partial keys so the files would need to be BAD_DUMP.
2008-08-07 19:10:50 +00:00
R. Belmont
eec9dab98d Fix GCC warning. 2008-08-07 16:51:31 +00:00
Aaron Giles
b40a4f5531 Cleanups and version bump. 2008-08-07 16:02:05 +00:00
Aaron Giles
9df01a2896 Added expression validation callback to verify names for CPUs and
memory regions. Extended error codes to report incorrect memory 
spaces, memory names, or memory sizes. Added verification callback
to the debugger to validate CPU and memory region names, as well
as verifying that a requested address space exists for a given
CPU.

Added support for oneshot cheats (those with only an "on" script).
They are activated via UI_SELECT in the cheat menu, and pop up a
message when activated. Also added a "Reset All" item in the cheat
menu to reset all cheats back to their default state, and added
support for UI_SELECT on a non-oneshot cheat so that it resets that
cheat to its default value.

Restored previous behavior that allowed popmessage() messages to
overlay menus and other UI.
2008-08-07 15:53:58 +00:00
Aaron Giles
3107dc2dff ldverify now prints transient progress to stderr, allows for frame #0,
and reports if no white flags were seen.

Fixed bug in aviio.c which could cause an infinite loop if attempting
to read sound beyond the end of the file.

Rewrote the white flag detection to use a histogram for outlier detection
and peak identification.
2008-08-07 15:07:12 +00:00
Pierpaolo Prazzoli
1c6a1e7df7 Removed bad dumps from ad2083. 2008-08-07 14:55:44 +00:00
Pierpaolo Prazzoli
1a98d9f0cd Decrypted Da Ban Cheng (dbc set in igs_blit.c) 2008-08-07 14:46:03 +00:00
Aaron Giles
ce00409cce Added word alternates for operators in expressions:
+   plus
  -   minus
  *   times or mul
  /   div
  %   mod
  !   not
  ~   bnot
  &&  and
  &   band
  ||  or
  |   bor
  ^   bxor
  lt  <
  le  <=
  gt  >
  ge  >=
  eq  ==
  ne  !=

Changed cheat escaping to automatically escape && & < and <=
to and band lt and le.
2008-08-07 06:48:04 +00:00
Aaron Giles
3153693306 From: jeaw100@york.ac.uk [mailto:jeaw100@york.ac.uk]
Subject: MPU4 sound weightings
Corrected MPU4 AY8910 output weightings
2008-08-07 06:27:21 +00:00
Aaron Giles
5fdd33c68f From: Corrado Tomaselli [mailto:corrado.to@tiscali.it]
Subject: spinal breakers clocks

Changed sound cpu clock of Spinal Breakers to 5Mhz as verified on the
pcb.
2008-08-07 06:26:39 +00:00
Aaron Giles
d4968a5667 From: Corrado Tomaselli [mailto:corrado.to@tiscali.it]
Subject: cps1 refresh rate diff

I verified the vertical refresh on one of the input gates of the 
74ls08@4J on GNG romboard 88620-b-2
2008-08-07 06:25:03 +00:00
Aaron Giles
c747744376 New clone: Crystal Castles (joystick version) [Guru] 2008-08-07 06:20:54 +00:00
Aaron Giles
d276a30840 Changed defender (white) to defender (blue). 2008-08-07 04:54:47 +00:00
Brian Troha
3c8e968bc0 Makes the "Standard" version of Mega Touch III the parent and California version the clone like it should be. 2008-08-07 03:35:40 +00:00
Pierpaolo Prazzoli
33b7088c2a Fixed bug 01958: skns: Segfaults on load 2008-08-06 20:59:33 +00:00
Pierpaolo Prazzoli
aa90d1cf72 Fixed bug 01817: intrepi2: Game stops at PCB test 2008-08-06 20:42:19 +00:00
Couriersud
2f7339ee3e Added commetn in video/mario.c that sprite buffering uses the same circuit like the one in dkong 2008-08-06 20:33:31 +00:00
Pierpaolo Prazzoli
35c4dc159f Fixed bug #02090
thedeep: Game didn't start (black screen).
2008-08-06 19:54:03 +00:00
Couriersud
c81b2cb24d Added module profiling to discrete sound core
* added DISCRETE_PROFILING macro to discrete.h
* Upon discrete_stop, the worst performing modules will be listed
2008-08-06 19:31:39 +00:00
Roberto Zandona
fa04fe6355 modify memory maps - only a wip 2008-08-06 15:03:46 +00:00
Aaron Giles
5033d06b7b From: Corrado Tomaselli [mailto:corrado.to@tiscali.it]
Subject: athena clocks

Changed cpu clocks as verified on the pcb
2008-08-06 14:41:00 +00:00
Aaron Giles
5a396b5b85 From: f205v [mailto:f205v@mail.mdsnet.it]
Subject: New russian game

Dear Aaron,
thanks to the very kind and good guys at the "Soviet Arcade Games Museum"
(www.15kop.ru), namely Alex and Max; and thanks to Antro (a good friend of
mine), we have a new dump for a previously unknown Russian game: S.O.S. by Terminal.
It works on the same hardware as Konek (already in MAME), it's a simple rom
swap. I still have to chek about PROMs.
A diff file is included, together with roms.

All the best
Antonio (f205v)
2008-08-06 14:39:56 +00:00
Aaron Giles
4c0d1c6567 From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Subject: some diplocations

Hi, enclosed please find a patch to add diplocations to the some 
drivers which still missed them. The patch assumes my changes to 
drivers starting with C,D,E have been applied (port01.diff -
>port09.diff I sent on Aug 1st... there is at least crshrace.c w
hich could fail to correctly patch, due to possibly different tags, 
and probably 1 or 2 more... not many, but maybe annoying anyway). 

It adds diplocations to the following drivers: combatsc.c, copsnrob.c, 
cosmic.c, crgolf.c, crimfght.c, crospang.c (here I also added service 
dips to heuksun and bestri, which allowed me to verify locations), 
crshrace.c, dambustr.c, darkseal.c, dassault.c, dblewing.c, ddrible.c, 
deadang.c

It also adds locations to the following games: ddragon & ddragon2 on 
ddragon.c and docastle, dorunrun & dowild in docastle.c

Regards,
    Fabio Priuli
2008-08-06 14:37:26 +00:00
Aaron Giles
d3c7e67622 This also includes a fix for the bug reported at the bottom.
From: Fabio Priuli [mailto:doge.fabio@gmail.com] 
Subject: to simplify cischeat inputs

Hi,

the enclosed diff has a twofold effect on cischeat.c:

on one side: it adds diplocations to bigrun, scudhamm, 
cischeat & f1gpstar

on the other side: it removes the current hacky handling of 
f1gpstar coinage dips (check video/cischeat.c to see what I 
mean with hacky!) to use conditional ports instead. BUT in 
order to do this, I had to add more possible values for the 
PORTCOND in iptport.c. The problem is that f1gpstar has a set 
of coinage settings when you set the region to JPN or USA and 
another one when you set the region to EUR or FRA. To implement 
this I added the following self-explanatory new PORTCOND: 
ISLARGER (>), ISNOTLARGER (<=), ISSMALLER (<), ISNOTSMALLER (<=). 
Only two were really needed to implement f1gpstar dips, but 
the other two seemed costless to me while offering even more 
flexibility to the PORT_CONDITION macro.


Also notice that the handling of conditional ports in 'TAB>Dip 
Switches' menu doesn't work well (in the current source, not 
affected by my patch) with contracted expressions like 
PORT_DIPUNKNOWN_DIPLOC: the wrong items remain listed in the 
UI menu even when you change the condition! If you leave the 
DEF_STR( Unknown ) with ON/OFF cases, everything is displayed 
correctly in the menu. However, I was not able to track down 
what part of code is responsible for this bug.

Regards,
    Fabio Priuli
2008-08-06 14:35:45 +00:00
Aaron Giles
c9063a7416 From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Subject: another small fix

Hi,

with this last patch I hope to have fixed all regressions I could 
had introduced with my past submissions. This time it was a small 
problem due to my fix to bug 1565 (alleymas duplicated inputs): 
the game was unplayable in u3 (even if not reported to MT).

Regards,

    Fabio Priuli
2008-08-06 14:14:08 +00:00
Aaron Giles
769ad97695 From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Subject: fix for MT bug 2056

I failed to see this wrong tag for almost 2 days!! One would guess that 
looking for the cause of coins problems, an handler with the comment "coin 
inputs" should have been noticed immediately. I saw it only this morning :(

However, fix in attachment.

Regards,
    Fabio Priuli
2008-08-06 14:13:03 +00:00
Aaron Giles
a9e375ec8c Fixed Rim Rockin' Basketball to use the HD6309 core. [Tim Lindner] 2008-08-06 14:11:49 +00:00
Aaron Giles
6cad3b3231 Added support for DEL as well as BS for backspacing in the
game select menu. Also limited input to ASCII characters.
2008-08-06 14:04:16 +00:00
Aaron Giles
5dcdb1d1c3 NOTE: with this change, I have also removed PORT_START and renamed
PORT_START_TAG to PORT_START.


From: Fabio Priuli [mailto:doge.fabio@gmail.com] 
Subject: let's say goodbye to untagged input ports ;)

Hi,

enclosed please find a few patches against 126u3 source

* port01.diff -> port09.diff : these patches continues the 
cleanup of inputs in drivers starting with C (the remaining ones), 
D and E. No ambiguous situations this time, so I guess there should 
be no problem with the changes. Improvements include conditional dips 
added to dynduke and diplocations for chinagat, chqflag, circus, 
citycon, cloak, contra and dynduke

* tag01.diff -> tag09.diff : these patches add tag to EVERY input port 
in drivers starting with F->Z. Notice that only tags are added, no 
AM_READ_PORT, nor PORT_INCLUDE (and I saw a lot of drivers would need 
it ;) ), nor other cleanups contained in the patches above. I'll keep 
cleaning input next week, probably, but at least we can definitely 
remove the untagged version of PORT_START :) Notice I was able to 
compile the source commenting out the definition of PORT_START, so 
I guess every occurrence is covered...
2008-08-06 13:56:38 +00:00
Aaron Giles
4a36b515ed Changes to the cheat.xml format:
- new tag <comment> (within <cheat>) is read and preserved 
    when saved
 - removed variable attribute from <parameter>; it is now 
    assumed to be 'param'
 - added default attribute for <parameter>

Added new variable 'frame' accessible from cheat scripts. This
can be used in the conditional to prevent execution on every
frame, or for other effects (like displaying temporary messages).

Added new variable 'argindex' which is the index when processing
an <argument> with a count attribute greater than 1. Can be used
in expressions like:

  <argument count="3">main.pb@(1000+argindex)</argument>

Reinstated the cheat menu. It now displays all loaded cheats and
allows for them to be activated. All known cheat behaviors should
be working now.
2008-08-06 05:24:31 +00:00
Aaron Giles
2d165fe1c3 Fixed I/O watchpoints. 2008-08-06 05:04:05 +00:00
Derrick Renaud
b3bfdc060a Added Discrete Sound to Fantasy, Nibbler and Pioneer Balloon. (mantis# 00227) 2008-08-06 04:02:46 +00:00
R. Belmont
661aae28dc Changes to avoid collisions with system globals on OpenSolaris. (qmc2) 2008-08-06 03:25:58 +00:00