Commit Graph

2628 Commits

Author SHA1 Message Date
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
R. Belmont
43021ec0e2 Fixed GCC compile error. 2008-08-06 03:22:21 +00:00
R. Belmont
ebbd232ba3 Fix GCC 4.3 "array bounds overflow" error. This is obviously a bug, Couriersud please take a look :) 2008-08-06 03:19:52 +00:00
smf-
47b3fc7984 fixed cdrom0 region name so the games boot. 2008-08-05 23:25:21 +00:00
Jarek Burczynski
1bb6adec56 Forced synchronization (stream_update()) before the status is actually read. 2008-08-05 21:30:33 +00:00
Couriersud
8146898f14 Discrete sound core optimizations
* moved a couple of exp(x) from _step into _reset where appropriate
* use tabulated function values for the transfer function in DSS_INVERTER_OSC

==> 40% speed increase in dkong - from 520% to
$ ./mame64 -noautosave -nothrottle -str 30 -video none dkong -nomt -nosleep 
Average speed: 722.48% (29 seconds)
2008-08-05 20:25:44 +00:00
Aaron Giles
1c6d658c57 02066: All sets in mhavoc.c: all graphics is missing
02067: mustangb, tdragonb: Access Violation 
02068: All sets in mhavoc.c: Access Violation 
02069: astrofl: Access Violation 
02070: atlantol: Access Violation
2008-08-05 16:53:46 +00:00
Aaron Giles
5e3764d0a0 Removed obsolete makemeta tool. Replaced it with new ldverify
tool which walks through either an AVI or CHD capture from a
laserdisc and ensures that there are no anomalies lurking in
the VBI data.

Added new option to chdman, where if you use -createav with
a special filename (either 2:2 or 3:2) it will create a fake
laserdisc files with the equivalent cadence. This can be used
for testing until full captures are available. Most games used
2:2 apart from Dragon's Lair and Space Ace, which were 3:2.
Note that even though these files are essentially blank, they 
are Huffman-compressed, meaning that the maximum compression
ratio you will get is 8:1, so they still end up ~5GB.

Moved error strings from chdman.c to chd.c, where they can be
fetched from any caller via the new chd_error_string()
function.

Updated vbiparse to improve Manchester code decoding. It now
assigns a confidence level per bit based on how solid the
data is. Also added a new function vbi_parse_all which parses
the white flag and all three lines of metadata from a 
laserdisc frame. It then compares line 17 and 18 against each
other and selects the most likely candidate based on per-bit
confidence and other factors.

Added frame number display to laserdsc.c. It is off by
default, though most players can be configured to turn it on
(not sure if any actually do). It can be manually toggled via
the backslash key during playback.
2008-08-05 16:30:35 +00:00
Brian Troha
1f1fd39a44 more accurate statement about the NVC285 on Rally-X 2008-08-05 16:15:44 +00:00
Andrew Gardner
7b5da2e934 Adds readmes for Area 51, Animalandia Jr, Avengers In Galactic Storm, Alien 3: The Gun, Aquajack, and Missile Command.
Please credit Guru.
2008-08-05 15:25:38 +00:00
Roberto Zandona
1cb5cc78a8 soccerss (konamigx): fix for test rom (mantis #02033) 2008-08-05 12:55:22 +00:00
Brian Troha
28644f8523 adds information about custom program versions on rom name labels conventions 2008-08-05 03:49:05 +00:00
Brian Troha
11d0967aad New clone:Megatouch III (9255-20-01 RON)
New clones added
----------------
Megatouch III (9255-20-01 RON) [Brian Troha]
2008-08-05 01:46:16 +00:00
Brian Troha
83f5a6f54a fix cut-n-paste error on CPU type & correct the double "like" 2008-08-05 01:10:27 +00:00
Brian Troha
ab1e02e821 Verifies former region hacked US set as correct with correct Taito ID number. Adds information about the CPU, OSC and TC0030CMD chip. Corrects the CPU clock down to 8MHz from 12MHz. 2008-08-05 01:06:37 +00:00
Brian Troha
5f7ab71b4b adds note about the "video" chip for Rally X which appears to be DIP28 Fujitsu MB884x stamped 8050 2008-08-05 00:55:32 +00:00
Brian Troha
6339e98279 correct prom names for RallyX ... retained prom type info 2008-08-05 00:49:42 +00:00
Wilbert Pol
0f20ccdc1e Set the initial timer output to 2 to indicate that it is undetermined. 2008-08-04 17:44:56 +00:00
Wilbert Pol
1c0a7fce3a Fix compile errors. 2008-08-04 15:41:01 +00:00
Aaron Giles
95e3753dd2 Added proper laserdisc support for MACH 3, Us vs. Them, and Cobra
Commander (MACH 3 hardware). Old laserdisc hacks are now removed.
The code now talks to the standard Pioneer PR-8210 interface. Also
removed hacky "target list" from the MACH 3 ROMs; this information
is now decoded on the fly from the right channel laserdisc audio.
 
Other Gottlieb cleanups:
 - moved sound inputs to audio/gottlieb and included them in
    all relevant drivers
 - ordered input ports and ROM definitions consistently
 
Other laserdisc changes:
 - changed PR-8210 interface to work consistently for both Gottlieb
    and Stern games
 - added audio callback mechanism to allow drivers to peek at the
    raw audio streams
 - extended the VBI parser to be even more lenient
2008-08-04 15:26:41 +00:00
Andrew Gardner
d20e6b6151 Improved Dsp56k CPU interrupt handling. Polygonet Commanders now advances past its first dsp handshake. 2008-08-04 04:07:29 +00:00
Couriersud
77e548383a Scanline exact rendering for dkong & clones
* Sprite limit of 16 sprites per scanline implemented from schematics.
* Proper wrap around from bottom to top
2008-08-03 23:20:46 +00:00
Roberto Zandona
074ec8ff9b fix layout for invaders (mantis 2049) 2008-08-03 21:23:29 +00:00
Roberto Zandona
2c3973b9a3 radr: fix label of a dsw (mantis 02079) 2008-08-03 21:07:40 +00:00
Roberto Zandona
300d758618 fix DSW coinage; please credit to Fabio Priuli 2008-08-03 20:54:53 +00:00
Couriersud
82eff3f75c Revert accidentially commited changes. Sorry! 2008-08-03 19:02:28 +00:00
Couriersud
54da9f29bd 8257dma and z80dma devices now require device callback handlers instead of machine handlers.
Updated affected drivers accordingly.
2008-08-03 18:54:39 +00:00
Roberto Zandona
25379f0b5a fix window in shanghai and shangha2 2008-08-03 16:50:12 +00:00
Andrew Gardner
ae72afc18f Adds readmes for Victorious Nine, Youma Ninpou Chou, Pairs, Woodpecker, Slap Fight, Alcon, Tiger Heli, Superman, and WWF Superstars.
Please credit Guru.
2008-08-03 16:24:14 +00:00
Roberto Zandona
ef5ea22b9b add memory maps 2008-08-03 15:36:35 +00:00
Roberto Zandona
dff7bfdcb5 add some routines to skeleton "adp" driver 2008-08-03 14:43:01 +00:00
Roberto Zandona
6c3fe42bae fix CLR and CPY operations when the copy direction is from right to left -> this fix some gfx bugs in kothello 2008-08-03 10:09:06 +00:00
Brian Troha
ef65c9cce7 minor correction to memmap 2008-08-03 06:17:37 +00:00
Brian Troha
3b0857b675 adds edge connector pinout info to flower.c 2008-08-03 06:17:11 +00:00
Andrew Gardner
1ff2a15e0d Adds readmes for Kyros No Yakata, Bombs Away, Meikyuu Hunter G, Crazy Kong, Moero Pro Yakyuu Homerun Kyousou, Lucky & Wild, Match It, Country Club, Enforce, Elevator Action, Chuka Taisen, The New Zealand Story, Buck Rogers Zoom 909, and Head On 2008-08-03 06:13:02 +00:00
Couriersud
b95f4ada03 Added some notes about sprite limits and hardware. Thanks to R. Belmont for sharing the information! 2008-08-02 23:31:08 +00:00
Brian Troha
2f32d1d62a Removes "?" from Karate Blazers (World?) we have a verified US & Japanese version. 2008-08-02 22:17:17 +00:00
davidhay
00072016e5 fix psikyo4 region without breaking eeprom even ;-) 2008-08-02 22:06:20 +00:00
R. Belmont
86c919a2d7 Backported a bunch of FM OPN (YM2608/2612) fixes from Genesis Plus GX. All of
this was verified on real hardware.  [Eke-Eke, Nemesis, Alone Coder, AamirM]

- implemented PG overflow, aka "detune bug" (Ariel, Comix Zone, Shaq Fu, Spiderman...)
- fixed SSG-EG support
- modified EG rates and frequency
- fixed EG attenuation level on KEY ON (Ecco 2 splash sound)
- fixed LFO phase update for CH3 special mode (Warlock, Alladin)
2008-08-02 22:05:24 +00:00
davidhay
a433ae612f fix region jumper on psikyo4 (loderndf) no idea when this got broken.. looks to have been broken for a while tho. 2008-08-02 22:03:56 +00:00
Brian Troha
12b53262fc updated info from "bonus" material for the PCB I bought to decap/dump the MB8841 CPU 2008-08-02 17:18:47 +00:00