Commit Graph

2626 Commits

Author SHA1 Message Date
Andrew Gardner
842d5e37a1 Adds readmes for Cosmo, Don Den Lover, Beatmania (CHD dumping), Dragon Master, Gals Panic, Fantasia II, Grand Tour, New Dyna Blaster Global Quest, Daytona "To The MAXX" upgrade, Namco System FL, Great Sluggers, Gun Nail, Gun & Frontier, Elevator Action Returns, and Battle Bakraid.
(It's easy to do this while watching the olympics.  110 down today, 245 more to go.)
2008-08-10 06:46:41 +00:00
R. Belmont
3fd8c0941b More FM OPN fixes [Eke, R. Belmont]
- Pass chip type around and restore Jarek's original behavior for YM2203/YM2610
- Always recalculate attack rate in set_ar_ksr, fixes Megadrive/Genesis "Batman & Robin"
2008-08-10 04:00:31 +00:00
R. Belmont
654ec18554 Fixed array size to avoid memory trashing. 2008-08-10 03:34:23 +00:00
Derrick Renaud
4f0cddd1a5 Updated src\emu\sound headers from K-S, so they use latest naming/structure and re-inclusion support. Also lowercased the handler names.
What a PITA.  :)  I'll have to go back and do A-J to lower case the handlers to match the new structure names I already did.

Sorry Mess and other port developers, but the code should match what is stated on the official WIKI.  But don't worry, I don't plan on updating anything but the sound cores.
2008-08-10 02:23:43 +00:00
Andrew Gardner
317af7eba8 Merged memory maps for drivers tbowl, thedeep, and thief.
(also changes gfx memory region tags in obvious cases)
(only ~1350 memory maps remaining :P )
2008-08-09 19:59:46 +00:00
Tomasz Slanina
12e0d61473 Added sprite wrapping to Irem m63 driver [Tomasz Slanina, Stefan Lindberg] 2008-08-09 17:33:55 +00:00
Andrew Gardner
dfd2e0d7df Merged memory maps for drivers tigeroad, timelimt, toobin, and tumbleb.c
(also changes gfx memory region tags in obvious cases)
2008-08-09 17:19:04 +00:00
Roberto Fresca
5a587d796e Improvements to Lucky74.c driver:
- Reverse engineering of custom IC's 06B49P, 06B53P & 09R81P.
 - Mapped the missing 3x SN76489.
 - Measured and traced all clocks on the board.
 - Measured and fixed the interrupt system.
 - Implemented timings/clocks from custom 06B49P.
 - Added sound support. All regular game sounds/musics are working.
 - Implemented the ADPCM samples system through 09R81P + M5205 emulation.
 - Added pinouts and technical notes about custom IC's 06B49P, 06B53P & 09R81P.
 - Added flip screen mode.
 - Inverted the order of double-up difficult DIP switches.
   (Seems to be the opposite of the indicated in the instruction sheet).
 - Changed 'Key In' to be active LOW instead of HIGH (checked in the PCB).
 - Complete memory map and ports scheme.
 - Created handlers for USART port and co-processor communication.
 - Renamed the sets accordingly.
 - Updated all notes.
 - Cleaned-up the driver.

Please co-credit Grull Osgo.
2008-08-09 15:57:31 +00:00
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