Commit Graph

2608 Commits

Author SHA1 Message Date
Roberto Zandona
b3b0ed90c8 used the full good archive for airtrix 2008-08-30 08:47:31 +00:00
smf-
f9c3a99d26 Fixed 00596. Applied an offset to the steering wheel and remove it when reading, to work round the removal of signed analogue input ports. 2008-08-30 08:06:51 +00:00
Brian Troha
f36bfb578b corrects rom names for Egg Venture (A.L. Release) from my copy-n-paste issue. 2008-08-30 06:37:23 +00:00
Brian Troha
ecc61617cb added Egg Venture (A.L. Release)
New clones added
----------------
Egg Venture (A.L. Release) [The Guru]
2008-08-30 06:29:46 +00:00
Andrew Gardner
9585b9cb50 Added EggVenture readme to lethalj.c.
Please credit Guru.
2008-08-30 03:57:51 +00:00
Couriersud
b6cce9110a mario.c: Fix USE_8039 conditional compile 2008-08-30 00:43:26 +00:00
Couriersud
7d6a80c480 mcs48: EA line / MB8884
* MB8884 is a I8035 ==> 12 addr, no internal rom map
* EA line high: external access - this is "default"

The whole EA implementation is as Aaron named it, cheeky. EA=1 external rom access, EA=0 internal rom access.
But all variants are treated the same, i.e. for i8035, MB8884, I8039, the external rom is used in the same
way as the internal.
2008-08-30 00:36:56 +00:00
Couriersud
322e67afbb dkong/dkongjr: use MB8884 as sound cpu / verified on schematics 2008-08-30 00:29:18 +00:00
Couriersud
299fc7ec1a mcs48.c: Write p1 and p2 on reset
These ports are actually ports which sink current on logical 0. With a logical 1, they are in high impedance mode and may be read. The high impedance is treated as logical 1 by TTL gates connected to them.
2008-08-29 22:52:26 +00:00
Derrick Renaud
bd39d9e8c9 Started removing extraneous enable lines from the discrete modules. Most modules are always enabled anyways. 2008-08-29 20:38:31 +00:00
Derrick Renaud
d900cdd023 Optimized DISCRETE_555_CC
Fixed bug in my recent DISCRETE_MIXER update.

Note: the DISCRETE_MIXER bug caused most of the speed increase of its optimization and caused some games to crash.  Donkey Kong is now at 14% faster on my machine then when I started.  Better then nothing.
2008-08-29 06:22:12 +00:00
Aaron Giles
c3f7d110df 02174: dkongjr and clones + mario and clones + pestplce: Music speed regression 2008-08-29 06:01:09 +00:00
Brian Troha
baf68b6e10 adds redumped roms for the Bubble Symphony (bootleg with OKI6295) set 2008-08-29 01:21:11 +00:00
Brian Troha
4a86fab61e added updated information about Sorcer Striker and moved Fix Eight bootleg PCB layout down by the roms like the other layouts in the driver 2008-08-29 01:15:58 +00:00
Derrick Renaud
70d2f4ebff Optimized DISCRETE_555_ASTABLE_CV and DISCRETE_MIXER.
For those keeping score dkong was at 268% on my computer before I started optimizing.  It now runs at 342%.  The 555 and mixer changes also speed up just about every current discrete game.
2008-08-29 01:10:24 +00:00
Derrick Renaud
ae10d3987a Optimized DISCRETE_RCINTEGRATE and DISCRETE_555_ASTABLE. 2008-08-28 20:58:05 +00:00
Derrick Renaud
e5fbac92cf Optimized DISCRETE_RCDISC_MODULATED.
Added X_TALs to circus.

Donkey Kong now runs 10% quicker on my machine.
2008-08-28 17:40:49 +00:00
Aaron Giles
a2caa558e2 Cleanups and version bump. 2008-08-28 15:26:11 +00:00
Roberto Fresca
32d55f53b0 Improvements to magic10.c driver:
- Added Magic's 10 version 16.15
- Remapped all inputs to match other poker games.
- Added a missing input to Magic's 10 games.


New clones added
----------------
Magic's 10 (ver. 16.15) [Roberto Fresca]
2008-08-28 12:14:34 +00:00
Aaron Giles
b554d33448 From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Subject: few more patches

Hi,

enclosed please find a few patches:

TV_1.diff -> TV_4.diff: clean up of input ports for drivers starting with T,U,V

eeprom.diff: some remaining eeprom_bit_r made CUSTOM_PORT

stv_fix.diff: a small missing bit in my previous stv fix for bug 650. this patch assumes the previous has been applied and removes duplication of button 4 also from batmanfr (somehow I think I sent an outdated version of stv.diff previously)

That's all folks

     Regards,

         Fabio
2008-08-28 08:53:17 +00:00
Aaron Giles
f8f9678387 From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Monday, August 25, 2008 8:16 AM
Subject: [patch] Remove useless backslashes

Hi mamedev,

I've been using pmd 4.2.2 to analyze the MAME codebase for duplicate
code, and it's C parser complains about useless backslashes and
dangling defines in #if...#endif sections.  Here's a patch that fixes
this, and additionally fixes one real bug, a string in djmain.c was
malformed, it's curious it compiled.

~aa
2008-08-28 08:50:34 +00:00
Aaron Giles
66a19bd16b From: jeaw100@york.ac.uk [mailto:jeaw100@york.ac.uk]
Sent: Monday, August 25, 2008 1:45 AM
To: submit@mamedev.org
Subject: Stepper motor changes

Updated stepper motor code to use a MAME-style config interface, rather 
than a load of setting functions. Changed optic functions to use clearly

defined start and end points. Added standard layout for Starpoint units 
used in many machines. Updated all affected drivers.


PS. At one point, I was led to believe that the UPD sound chip would
have 
support for its messaging pins added, is this still pending (I have Phil

B's old source here if it's needed). Such support would prove very
useful 
for AGEMAME as many of the drivers in that that use that chip rely on it

for timing.
2008-08-28 08:48:56 +00:00
Aaron Giles
5299bac187 From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Subject: another small revised patch

After Fujix's new findings, I realized that the coinage settings 
for ckongg were still not completely correct after my previous 
patch galaxold.diff. The attached new patch (diff'ed from clean 0.127) 
fixes the Coinage dips at last. Sorry for the possible confusion.

Regards,
    Fabio
2008-08-28 08:48:20 +00:00
Aaron Giles
04303e0b3f From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Subject: more patches
Hi,  

enclosed please find the following patches:

spaceinv.diff : this is an important patch. Please revert (if applied) 
my previous fix to bugs 2143 & 2144. It was wrong. This is the correct 
fix for those two bugs and many other issues not reported on MT (e.g. 
spaceatt, spaceat2 not starting because tilted, missing dips in many 
invaders clones etc). Basically, in 8080bw.c all the "DSW0" input ports 
should have been "IN2" for invaders_map to work correctly, and no 
additional "IN2" is necessary. After this fix, you may want to change 
all the "IN2" occurrences 8080bw.c and in mw8080bw.c with "DSW" since 
they mostly are dips. But the latter is a cosmetic change, so it's up 
to you decide if it's worth or not (the patch leaves "IN2").

avgdvg.diff : this correctly fixes avgdvg_done usage without using a 
parameter, but using IPT_ACTIVE_LOW where needed (I'm a bit ashamed 
because I should have thought to that since the beginning).

galaxold.diff : this changes ckongg coinage inputs to fix bug 2154. 
Notice anyway that coinage settings in dips do not correspond to the 
numbers which appear on screen. This is probably due to the conversion 
to galaxian hardware (e.g. it's shown the value of coin2, but in ckongg 
there is no coin2 at all, so the appearance of the coin 2 value has no 
meaning). Notice also that an unused dips sets the possibility to play 
in 2 or not. I defaulted this to 1 player because setting "2 players" 
automatically gives 2/4 credits with a single coin, which I don't think 
it was the default back then ;) 

However, perhaps ckongg is worth further analysis when it will be 
updated to the new galaxian driver.

stv.diff : this patch fixes the longstanding bug 650 (duplicated P1 
button 4). After testing all sets which reach the test mode, I found 
out that only batmanfr uses the button4 in port "P1", while all other 
games with more than 3 buttons use the one in "EXTRA". Therefore I made 
the "P1" 4th buttons a specific batmanfr input.

patch01.diff, patch02.diff, sys1.diff : these patches simplifies input 
ports in the remaining driver starting with S (plus a few small changes 
to other drivers I forgot previously), using PORT_INCLUDE, AM_READ_PORT 
& converting 'fake' 8bit ports to full 16/32bit ports  where suitable

Let me know if something fails to apply, or if there is any other problem
2008-08-28 08:46:52 +00:00
Aaron Giles
951ab24aaa From: Christophe Jaillet [mailto:christophe.jaillet@wanadoo.fr]
Subject: Profiler related #2 (v2)
Hi, this a revised version of a patch I sent yesterday.

This one is much more cleaner, and the speed improvement is now significant
enough to come out of the profiling noise.
More over, this one compiles correctly... ;-)

Best regards,
Christophe Jaillet
2008-08-28 08:41:56 +00:00
Aaron Giles
a27dbe428a Namco NB 1/2 work.
Shares the memory with the c75.
    Renames the c75 region to c7x from user4.
    Implements the c75 reset/halt control.
    Implements the irqs more correctly.

[From OG]
2008-08-28 08:38:42 +00:00
Aaron Giles
727c8323df From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Subject: fix for MT 2135
This bug dates back to the introduction of the world parent set of rtype. 
Finally spotted and (easily) fixed in the attached patch. 

Regards,

    Fabio
2008-08-28 08:37:18 +00:00
Aaron Giles
8959f89d1a Revert change 2597 2008-08-28 08:29:56 +00:00
Aaron Giles
c71fbfc625 Changed slider controls into a menu. For now, removed the old direct access
mechanism; instead, you must access the sliders via the main menu. While in
the menu, you can use the ~ key to turn off the menu display and leave only
the bar display, in order to see more of the screen.
2008-08-28 08:25:06 +00:00
stephh
375ccafb6c Fixed Dip Switches and Inputs for 'jcross' and 'sgladiat'.
There's a remaining unknown Dip Switch in 'sgladiat' though (DSW2:7).
2008-08-28 00:36:59 +00:00
R. Belmont
dfdc8efc09 Fixed missing / causing major non-compiling. 2008-08-27 20:35:09 +00:00
Nicola Salmoria
f03d10d335 merged jcross.c into snk.c
fixed fg layer and visible area
the game seems to be ok now? is there still something wrong?
2008-08-27 13:39:09 +00:00
Nicola Salmoria
36c88b32dd merged sgladiat.c into snk.c
fixed shadows, visible area, tilemaps, inputs, etc.
00228: sgladiat: Emulation is missing some enemy sprites that are present on the pcb.
2008-08-27 08:57:20 +00:00
R. Belmont
dae4b631d7 SH4, Naomi, and Hikaru updates [Samuele Zannoli]
- Fixed SH-4 core to support multiple SH-4s
- Fixed LDCSR instruction
- Fixed SH-4 I/O ports
- Skeleton Hikaru driver with memory maps and both SH-4s
- Fixed JVS/Maple translation so Naomi 2 BIOS runs
2008-08-27 02:22:58 +00:00
R. Belmont
bfd0b53638 Fixed 64-bit GCC compile error. 2008-08-27 02:16:38 +00:00
Aaron Giles
cd299d9f8e Significant cleanup/rewrite of the MCS-48 CPU core:
* removed redundant and unused definitions from header file
 * renamed constants and functions to be MCS48* prefixed
 * re-verified all opcode behaviors and timing
 * changed illegal opcodes to count 1 cycle to avoid infinite loops
 * changed EA behavior so that it is a push from the driver instead of a pull on each opcode fetch 
    (this may change further in the future). 
 * reimplemented IRQ generation and timer behavior according to documentation
 * updated all drivers accordingly
 * fixed several uses of PULSE_LINE, which no longer works
2008-08-26 22:58:45 +00:00
Nicola Salmoria
8f409d6809 removed unused range from memory map 2008-08-26 19:23:12 +00:00
Nicola Salmoria
4ecbf842e9 Added new function tilemap_set_pen_data_offset().
While this isn't 'free' as tilemap_set_palette_offset() is (when the offset changes, the pixmap cache needs to be invalidated), it helps removing some redundant code from drivers.

Updated snk.c and snk68.c to take advantage of the new function.
2008-08-26 18:40:12 +00:00
Nicola Salmoria
dba36cfa30 moved ASO from hal21.c to snk.c
removed hacks, fixed bg color
2008-08-26 15:48:48 +00:00
Pierpaolo Prazzoli
aa70fd956a Changed Trivia Quest clocks based on some really old information 2008-08-26 13:45:26 +00:00
Nicola Salmoria
69d2176d95 snk.c rewrite (finished)
TouchDown Fever / Fighting Soccer
00870: tdfever: The siren sound keeps going off. I've got the pcb on the way to Guru if that helps any.
2008-08-26 10:49:42 +00:00
Aaron Giles
7f8e52388e 02147: Annoying behaviour of highlighted entries in minimal UI 2008-08-26 04:43:47 +00:00
Aaron Giles
ba60161f97 i8039 -> mcs48 2008-08-26 04:38:50 +00:00
Aaron Giles
6ccd121185 02159: cubeqst: Cubequest asserts on ATI hardware w/ prescale > 1
Added 1:1 fallback if surface creation fails at prescale values. Changed
prescale logic to create prescale target surfaces as ARGB for YUY2 
sources. Forced the use of render-to-texture over StretchRect for YUY2
sources.
2008-08-26 04:38:29 +00:00
Pierpaolo Prazzoli
dd914fb758 Decrypted Mahjong Shuang Long Qiang Zhu 2 and Mahjong Super Da Man Guan 2 2008-08-25 20:13:21 +00:00
Couriersud
96d622b677 rendersw.c: Added more comments
* fix clamping bug introduced by my last update
2008-08-25 20:10:08 +00:00
Roberto Zandona
58be08f089 fix TSY instruction in M4510 cpu (used in MESS) 2008-08-25 19:32:46 +00:00
Aaron Giles
3d339e51f7 Changed i8039 core to use the data address space for internal RAM.
Register access is still performed using direct memory accesses,
but the pointers are fetched through the memory system. Now you can
see i8039 RAM in the debugger. Added internal memory maps of the
appropriate size so that drivers don't need to declare this RAM.

Added a number of variants from the MCS-48 family as it was not
clear which variants had what capabilities. All documented variants
now have internal memory maps for internal ROM and RAM. Removed
memory maps from drivers using embedded ROM/EPROM/OTPROM since
they are defined by the core now.

Added some initial logic to boot and run the PR-8210 ROM (i8049)
in ldplayer.c. Currently this is disabled behind a compile-time
switch. Once this is working, the plan is to incorporate this into
the existing PR-8210 emulation, but we're not there yet.
2008-08-25 15:32:14 +00:00
Aaron Giles
4db67471be MSVC fixes. MSVC cannot handle offsetof(struct, member[index]); once an
array is involved, it seems to think it is not a constant expression.

Added MDRV_DEVICE_CONFIG_DATA32_EXPLICIT() macro which takes an explicit
size and offset. Changed MDRV_DEVICE_CONFIG_DATA32() to be built off of
this macro. Added MDRV_DEVICE_CONFIG_DATA32_ARRAY() and
MDRV_DEVICE_CONFIG_DATA32_ARRAY_MEMBER() which do explicit computations
of the offset to work around MSVC's problems.

Replicated these changes for DATA64 and DATAPTR macros. Updated latch8.h
to use the new macros.
2008-08-25 15:13:48 +00:00
Pierpaolo Prazzoli
8e44428b07 Used Nicola simplified formulas for Mahjong Man Guan Cai Shen decryption
Decrypted Mahjong Long Hu Zheng Ba 2 (set 1) and (set 2)
2008-08-25 15:05:01 +00:00