Commit Graph

3671 Commits

Author SHA1 Message Date
Couriersud
838a729328 Fix mc146818 warnings 2008-11-14 20:28:36 +00:00
Couriersud
1f14213be2 Fix mario.c compile errors 2008-11-14 20:24:04 +00:00
Couriersud
606b1c958d Fix dkong compile warning 2008-11-14 20:01:52 +00:00
Couriersud
4f71d0aa98 Fix compile error #2 2008-11-14 19:59:04 +00:00
Couriersud
7749448b1f Fix compile error 2008-11-14 19:54:03 +00:00
Aaron Giles
537c9becf6 WARNING: this compiles, but not fully cleanly, and a number of drivers
are broken.

Changed READ/WRITE handlers to accept an address_space * instead of a
machine *. The address_space object was enhanced to contain a machine
and a pointer to the relevant CPU object.

Fixed a number of errors found by the compiler, mostly in the core and
CPU/sound handlers, but there is a lot remaining to fix.

Added new function cpu_get_address_space() to fetch the address space
for calling in manually to these functions. In some instances, code
which should eventually be converted to a device is hard-coding fetching
the program space of CPU #0 in order to have something valid to pass.
2008-11-14 16:43:46 +00:00
Angelo Salese
9c085ae0fa Pre-irq rewrite submission in ST-V driver:
* Better management of hblank/vblank bits;
* Makes dynamic resolutions to be called with a timer instead of run-time;
* Makes dynamic resolutions to not be changed at every frame but only when there's an actual change;
This fixes Golden Axe: the Duel gameplay speed at the cost of breaking up Groove on Fight coin counter at start-up.
2008-11-14 15:53:19 +00:00
Couriersud
e759767ce0 Renamed M6802_IRQ_LINE to M6800_IRQ_LINE
* this fixes compile error
2008-11-14 08:02:44 +00:00
Couriersud
9ad6fe0049 Pointer-ified the 6800, 6809 and hd6309 cpu cores
* temporarily named the state var m68_state in the 68xx cores
* reorganized some code for simpler comparison of 68xx cores
2008-11-14 07:49:20 +00:00
Angelo Salese
1463838fdc Removed a vblank/hblank hack in Filetto and emulated it properly. 2008-11-14 00:46:34 +00:00
davidhay
a65d0450f6 more gals panic 3 work 2008-11-13 23:29:56 +00:00
davidhay
f56e314295 rearrange memory map in galpani3 a bit, to make things clearer 2008-11-13 22:59:07 +00:00
davidhay
737c060089 let gals panic 3 run more of it's attract mode 2008-11-13 22:43:00 +00:00
davidhay
52e6f0c7d0 new clone
----------
Beast Busters (US, Version 2) [Brian Hargrove]
(he hasn't confirmed if he's OK being credited with his real name yet, so if the situation changes I'll mail the list)

I've also DEMOTED Beast Busters to non-working.  As soon as you calibrate the guns the game fails, and without calibrated guns you can't really play.  The gun reading is hacked, as are the gun interrupts.  This needs fixing *properly*, at which poin I imagine it will actually work, and no just hang after calibration.  From what I can tell it's never worked after calibration hence the demotion.
2008-11-13 22:21:50 +00:00
stephh
d3046b899f "Fix" Mantis bug ID 02648 (BTNAB explanations). 2008-11-13 22:20:46 +00:00
Couriersud
a036befa08 Remove a #if 1 2008-11-13 21:52:38 +00:00
davidhay
a3686b9816 demo sound dip was inverted in jchan/jchan2 2008-11-13 21:20:05 +00:00
davidhay
17eea2a952 Fixed sound loading in jchan / jchan2 [Angelo Salese]
original dump was fine, there just needed to be a gap in the rom loading.. there are still some 'nasty' sounds, but this seems typical of our ymz280b emulation, I'm still pretty sure the ADPCM decode is broken, it must be 'special'.

I've also promoted them to playable.. so

New Playable Games
------------------

Jackie Chan - The Kung-Fu Master [David Haywood, Andreas Naive, stephh, Angelo Salese]
Jackie Chan in Fists of Fire [David Haywood, Andreas Naive, stephh, Angelo Salese]
2008-11-13 21:17:42 +00:00
davidhay
c13cd25c67 from MAMEPlus
this documents the CPS2 Phoenix sets, and what happens to a dead CPS2 board.

I think it's important we start keeping track of these now as they're finding their way onto bootleg boards, with further hacks and modifications made along the way.

Far from an ideal situation, but, our job is to document the facts, not discriminate by ignoring them.
2008-11-13 20:51:38 +00:00
stephh
3dccbb1adc Fixed Dip Switches and Inputs for 'jchan' and clone. 2008-11-13 20:12:09 +00:00
davidhay
392f4365c9 made sample area bigger in jchan (prevent out of bounds crashes) 2008-11-13 08:25:17 +00:00
Aaron Giles
62a2f2fba0 This patch:
- removed unnecessary deprecat.h includes
- replaces Machine with existing running_machine* instances
- re-adds a peroid I accidentally removed when changed a message to
use defines
- adds a running_machine* to win_window_info and debugwin_info to get
rid of most Machine occurances and clean up the running_machine*
parameters I added in the past

[Oliver Stoeneberg]
2008-11-13 07:33:00 +00:00
Aaron Giles
cbd240d0de This patch replaces the Machine parameter where an running_machine *
is available and removes the deprecat.h where unnecessary.

[Oliver Stoeneberg]
2008-11-13 07:23:50 +00:00
Aaron Giles
4af530d9e8 Hooked up disconnected reset functions. 2008-11-13 07:11:52 +00:00
Aaron Giles
eb08400613 From AtariAce:
With Aaron's change to macroize the cpu apis, the cpu/sound interfaces
are now using different idioms.  This patch fixes that.  It uses the
prefix SND_ instead of SOUND_, to avoid changing SOUND_START,
SOUND_RESET in driver.h.  While working on it, I noticed that the
reset routines for k053260, msm5205, upd7759 and vlm5030 aren't hooked
up, but I decided this was an oversight and macroized the functions
anyways (but left them unhooked).
2008-11-13 07:07:54 +00:00
Aaron Giles
63d10ee9bf Massive API cleanup/change. The primary goal is that all CPU-
related APIs now take a device pointer instead of an index.
All functions that take a CPU device are prefixed with cpu_*
All functions that are globally related to cpu execution
are prefixed with cpuexec_*. Below is a list of some of the 
mappings:

  cpu_boost_interleave     -> cpuexec_boost_interleave
  cpunum_suspend           -> cpu_suspend
  cpunum_resume            -> cpu_resume
  cpunum_is_suspended      -> cpu_is_suspended
  cpunum_get_clock         -> cpu_get_clock
  cpunum_set_clock         -> cpu_set_clock
  cpunum_get_clockscale    -> cpu_get_clockscale
  cpunum_set_clockscale    -> cpu_set_clockscale
  cpunum_get_localtime     -> cpu_get_local_time
  cpunum_gettotalcycles    -> cpu_get_total_cycles
  activecpu_eat_cycles     -> cpu_eat_cycles
  activecpu_adjust_icount  -> cpu_adjust_icount
  cpu_trigger              -> cpuexec_trigger
  cpu_triggertime          -> cpuexec_triggertime
  cpunum_set_input_line    -> cpu_set_input_line
  cpunum_set_irq_callback  -> cpu_set_irq_callback

In addition, a number of functions retain the same name but
now require a specific CPU parameter to be passed in:

  cpu_yield
  cpu_spin
  cpu_spinuntil_time
  cpu_spinuntil_int
  cpu_spinuntil_trigger
  cpu_triggerint

Merged cpuint.c into cpuexec.c. One side-effect of this
change is that driver reset callbacks are called AFTER the
CPUs and devices are reset. This means that if you make
changes to the CPU state and expect the reset vectors to
recognize the changes in your reset routine, you will need
to manually reset the CPU after making the change (since it
has already been reset).

Added a number of inline helper functions to cpuintrf.h for
managing addresses

Removed cpu_gettotalcpu(). This information is rarely needed
outside of the core and can be obtained by looking at the
machine->cpu[] array.

Changed CPU interrupt acknowledge callbacks to pass a CPU 
device instead of machine/cpunum pair.

Changed VBLANK and periodic timer callbacks to pass a CPU
device instead of machine/cpunum pair.

Renamed all information getters from cpu_* to cpu_get_* and
from cputype_* to cputype_get_*.
2008-11-13 06:59:57 +00:00
davidhay
451a03ff70 Kaneko update part 4:
gals panic 3 video improvements
2008-11-13 02:17:16 +00:00
davidhay
d567059cc7 Kaneko update part 3:
more Jackie Chan video improvements (view2 tilemaps)
2008-11-13 02:11:49 +00:00
davidhay
61a50d7642 Kaneko changes part 2
- some improvements to Jackie Chan video
2008-11-13 02:04:06 +00:00
davidhay
9d48421e71 Kaneko changes part 1
Added Simulation of Toybox external data rom decryption from Andreas
Converted Blood Warrior, Bonk's Adventure, Great 1000 Miles Rally 1+2 to use the new code.

Updated suprnova rendering to allow 2 sprite chips.

Started work on Jackie Chan & Gals Panic 3
2008-11-13 01:50:27 +00:00
Couriersud
00ac825a67 Fix state save in discrete sound
* sndindex now considered as well in state save
* expose discrete_sound_n_r(void *chip, ...) to enable accessing multiple discrete sound cores

Curt Coder, is this sufficient?
2008-11-12 22:12:44 +00:00
stephh
7745124dc6 Fixed Dip Switches for 'joyfulr' and clone. 2008-11-12 22:11:57 +00:00
stephh
0e4d375955 Fixed Dip Switches for 'momoko'. 2008-11-12 18:09:55 +00:00
Couriersud
6fae8bbbfa abc_step and abc_reset now declared as DISCRETE_STEP( abc ) and DISCRETE_RESET( abc ) 2008-11-12 00:27:42 +00:00
Couriersud
7368532498 peplus.c updates
* changed the 6845 type to R6545_1 (Rockwell as mentioned in the driver).
* use transparent addressing
* lightpen code now generates a "lightpen_assert" at the right screen position. 
* Completely hooked up 6545 without wrappers.
2008-11-11 22:26:39 +00:00
Couriersud
08f0fa3f6c Transparent mc6545 phi1/pi2 addressing
* implemented support for phi1/phi2 transparent addressing
* added callback to communicate address back to driver

Implementation is not and can not be "clock" accurate since the timing is totally up to the hardware implementation. It is the main cpu and hardware which determines phi clocking and when data is written to video ram. The only support in the 6545 is that the update address is latched out to the ma lines during phi2.
2008-11-11 22:23:08 +00:00
Angelo Salese
5612216269 Added the Vs. Skate Kids set.
(program roms are identical to Vs. Super Mario Bros. (alt),just the graphical roms are completely reworked,I don't know if it is worth supporting...)

(PS: do not credit me on this)
2008-11-11 16:42:26 +00:00
stephh
954efd1fba Fixed Dip Switches for all games in mermaid.c driver. 2008-11-11 04:07:48 +00:00
Nathan Woods
2f64840531 Sync with MESS 2008-11-11 03:58:52 +00:00
stephh
5590dc71fe Oops ... I checked the old version instead of the new one :( Sorry again ... 2008-11-10 22:26:51 +00:00
stephh
9f7d6fddec Fixed Dip Switches for 'magmax'. 2008-11-10 22:16:08 +00:00
stephh
37a9c85f4d Fixed Dip Switches for 'lkage' and clones.
Fixed bootlegs visible area to match original sets.
2008-11-10 18:41:18 +00:00
Aaron Giles
c3d385fddd Converted TMS340x0 cores to be pointer-based. 2008-11-10 16:49:10 +00:00
Aaron Giles
5b96808e6d Fix compile error. 2008-11-10 16:01:18 +00:00
Aaron Giles
b5f1e96c98 Removed save_device pattern if favor of just accepting the
device from the reset.
2008-11-10 08:56:38 +00:00
Aaron Giles
6f4ee44948 Added CPU device parameters to all CPU callbacks except for the
context ones (which are going away), the disassembler (which should
have no dependencies on the live CPU), and the validity check.

Removed global token from all pointer-ified CPU cores that don't
have internal read/write callbacks (which still need to reference it).
2008-11-10 08:51:06 +00:00
Aaron Giles
92f3053105 Major cpuintrf changes:
* added a set of cpu_* calls which accept a CPU device object;
  these are now the preferred means of manipulating a CPU

* removed the cpunum_* calls; added an array of cpu[] to the
  running_machine object; converted all existing cpunum_* calls
  to cpu_* calls, pulling the CPU device object from the new
  array in the running_machine

* removed the activecpu_* calls; added an activecpu member to
  the running_machine object; converted all existing activecpu_*
  calls to cpu_* calls, pulling the active CPU device object
  from the running_machine

* changed cpuintrf_push_context() to cpu_push_context(), taking
  a CPU object pointer; changed cpuintrf_pop_context() to
  cpu_pop_context(); eventually these will go away

* many other similar changes moving toward a model where all CPU
  references are done by the CPU object and not by index
2008-11-10 07:42:09 +00:00
Angelo Salese
7c2bd582be small bugfix for the Tetris sub-game in Filetto 2008-11-10 00:31:12 +00:00
Angelo Salese
59097d6646 Hooked up properly several PC-based devices in Filetto,game now works without sound.
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Filetto [Angelo Salese]
2008-11-09 23:38:09 +00:00
Angelo Salese
d15169631e Fixed a crash bug with elandore protection handling. 2008-11-09 22:56:51 +00:00
Couriersud
ce58dbba34 * Renamed mcs51_regs to mcs51_state_t
* Renamed mcs51 to mcs51_state

Shouldn't the state struct just be called cpu_state?
2008-11-09 22:39:33 +00:00
Couriersud
819a970684 Fix deleted CHECK_IRQ_LINES() 2008-11-09 22:38:41 +00:00
Couriersud
e7d938fa2b Formatting, identation
* the hd6309 is very similar to the m6809, cleaned up a bit for windiff & friends.
2008-11-09 22:18:17 +00:00
Couriersud
b8ae0cadbe i960 core switched to pointer state access 2008-11-09 21:51:12 +00:00
Couriersud
d6dedbdedf Converted i8x41 to use pointers for state access
Separated opcodes into i8x41ops.c
2008-11-09 20:38:33 +00:00
Angelo Salese
16b4f15e2d Video emulation fixes to the Ghost Eolith HW (not yet working) 2008-11-09 19:13:15 +00:00
Angelo Salese
ecffdc96cb Clean-ups in the ST-V driver and corrected protection number seeds for elandore. 2008-11-09 14:25:38 +00:00
Jonathan Gevaryahu
bc72141598 s14001a.c: added chip pinout and operation notes. 2008-11-09 08:51:47 +00:00
Aaron Giles
9407fecd2d Populated tag and static_config parts of fake CPU device. Removed 'config'
parameter from CPU_INIT. Modified CPU cores to pull config from the device
static_config.
2008-11-09 07:12:24 +00:00
Roberto Zandona
70365a3886 i8x41: fixed missing space at the end of file 2008-11-09 06:23:36 +00:00
Couriersud
a65a044779 UPI-41/42 (still I8x41.c) changes:
* cpu/i8x41 should be renamed to UPI-4x, since UPI-41/42 was an intel chip family
  postponed for now until core moved to pointers.
* removed I8041 definition from mcs48
* removed I8x41 cpu definition and config struct
* added I8041, I8741, I8042, I8242 and I8742 cpus to i8x41.c
* added internal memory maps
* internal ram now uses DATA memory space
* updated drivers
* increased interleave to 70 in decocass. This fixes decocass hanging in countdown around 13
  No idea when this bug was introduced.
2008-11-09 02:09:40 +00:00
Aaron Giles
1e16c45212 Cleanups/version bump. 2008-11-09 01:04:37 +00:00
Aaron Giles
ac7689264e Star Castle drone sound improvement from Jim Hernandez. 2008-11-08 21:12:38 +00:00
Aaron Giles
5fc6083545 From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Friday, November 07, 2008 9:47 PM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] More header files for mame

Hi mamedev,

Here's another set of about 20 new include files for MAME.  As before,
the only issues discovered by the migration were some dead prototypes.

~aa
2008-11-08 21:09:42 +00:00
Aaron Giles
6a979c82ff From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Wednesday, November 05, 2008 7:21 PM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] New include files for drivers

Hi mamedev,

Here's a patch that adjusts a few existing include files, but
principally adds new include files for about twenty existing drivers.
This found a few dead prototypes, but otherwise didn't reveal any
errors.

~aa
2008-11-08 21:08:00 +00:00
Aaron Giles
096529d2d8 From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Wednesday, November 05, 2008 8:22 AM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] Add ADDRESS_MAP_NAME macro

Hi mamedev,

In theory, MAME's interface macros should completely hide the naming
conventions from the drivers and sound/cpu cores.  So as an
experiment, I renamed all the core apis and looked to see what broke.
The most common api coupling was with address maps in the CPU cores,
which this patch addresses by introducing a new macro,
ADDRESS_MAP_NAME (mimicing what is done in devintrf.h).  There were a
handful of related problems in some drivers which this patch also
fixes.  Some remaining issues I left alone (laserdisk apis reference
rom, video_update, machine_config, ksys573 use of nvram_handler,
megadriv use of ipt), in principle all the apis need _NAME variants to
encode the conventions.

~aa
2008-11-08 21:06:35 +00:00
smf-
0a22e550b3 fixed unassigned variable error. 2008-11-08 20:01:52 +00:00
Aaron Giles
226c3b5b26 From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Sent: Wednesday, November 05, 2008 1:53 AM
To: submit@mamedev.org
Subject: fix for MT 2626

Hi, 

enclosed please find a patch to fix missing buttons for crime fighter 2p (Button 3 and Start)

Regards,
   Fabio
2008-11-08 19:31:46 +00:00
Aaron Giles
edb3cec01e From: <razoola@cps2shock.com>
To: "Nicola Salmoria" <nicola.salmoria@virgilio.it>
Sent: Tuesday, November 04, 2008 5:48 PM
Subject: CPS2 driver.


> Hi,
>
> I have updated the CPS2 driver to bring all ROM names back in line with
> Capcom's naming system (which they print on the stickers). The changes are
> quite minor and include bringing the SIMM dump names into one format. Also
> included is a fix to Gigawing ROM names and Street Fighter Zero 2 Alpha,
> which ROM names broke after the split from Street Fighter Zero 2 in the
> last
> MAME update.
>
> I though it would be good to do this as the same seems to be going on in
> the
> NeoGeo driver. Around ten sets are affected in total.
>
> Regards, Raz
>
2008-11-08 19:31:08 +00:00
Aaron Giles
7054e5c3f3 From: abcd efgh [mailto:cix_999@yahoo.it]
Sent: Sunday, November 02, 2008 9:56 AM
To: submit@mamedev.org
Subject: expro02 missing?

Hi!

I don't know what is happened with my last diff, but this one fixed the missing part.
Bye Sonikos
2008-11-08 19:29:53 +00:00
Aaron Giles
274be4757c From: Corrado Tomaselli [mailto:corrado.to@tiscali.it]
Sent: Saturday, November 01, 2008 7:14 PM
To: submit@mamedev.org
Subject: psycho nics oscar revision change

I changed Psicho Nics Oscar (japan revision 0) to (world revision 0)
since there is no japan disclaimer
2008-11-08 19:27:50 +00:00
Aaron Giles
b67d1cd7cb Dear Aaron,
please find herewith attached a new game dumped from Russia.
The PCB has been lent by "Soviet Arcade Games Museum" www.15kop.ru
Dump and diff by "Antro" (my Italian friend living in Moskow)

Snezhnaja Koroleva [Antro]
2008-11-08 19:26:42 +00:00
Angelo Salese
2d1fbafcdf Done some work on the Forte Card driver,not yet working. 2008-11-08 16:38:51 +00:00
davidhay
8d4cad0b8c minor 32x cleanup + comment 2008-11-08 15:11:50 +00:00
davidhay
7d5f7355a4 reorganized 32x code a bit. 2008-11-08 13:49:52 +00:00
Aaron Giles
2ba1a99283 Added macros for all CPU callbacks to ease future changes.
Updated all CPU cores to use them.
2008-11-08 09:20:43 +00:00
Andrew Gardner
e8ec5637ac Rewrite of the Motorola DSP56k CPU core. (Andrew Gardner, PhilB, RBelmont)
* Added proper clock speed to plygonet.c and internal divider to dsp56k.c
* Fixed up disassembler add/sub, 05xx, and bsr ops.
* Handle mysterious uuuuF instruction found in plygonet add op.
* Partially implemented add, sub, mac, mpy, inc, cmpm, macr, asr16, jscc, lea, and movec ops.
* Added dual X memory read and data move with short displacement parallel moves.
2008-11-08 07:18:03 +00:00
Couriersud
eed3bdac15 Merged DS5002FP into MCS51
* Merged DS5002FP
* Disassembler now uses type specific memory names
* Merged DS5002FP disasm
* added 83C751 memory names to disassembler
* delete DS5002FP specific files
* removed unnecessary cpu callback in wrally
* DATA_MAP ==> IO_MAP in wrally
2008-11-07 22:44:14 +00:00
Angelo Salese
109198d018 Various improvements in the ST-V driver:
* Fixed bitmap zooming in Virtual Mahjong 2 - My Fair Lady;
* Worked around a major graphic bug in ElanDoree;
* Added some missing alpha blending effects,Pro Mahjong Kiwame S title screen needs it but it doesn't work yet due to other problems (still investigating)
* Fixed a crash bug with Astra Super Stars when the debugger is active.

(this is to sync with svn tree,ST-V will be further improved on a later stage)
2008-11-07 17:20:54 +00:00
Aaron Giles
e1aca15f22 More 68000 cleanup. 2008-11-07 14:46:20 +00:00
Aaron Giles
127f85b517 Fixed 68020+ 2008-11-07 14:30:45 +00:00
Yasuhiro Ogawa
7ec608af23 fixed background color of srmp1/srmp2 (by EdxGROfS0) 2008-11-07 07:31:54 +00:00
Aaron Giles
c9d4c8dad4 Minor fixes. 2008-11-07 06:17:58 +00:00
Couriersud
e6b9dd6ef7 Fix a reg-ex replace issue - Thx Andrew Gardner! 2008-11-07 00:37:41 +00:00
Couriersud
e4550f0b66 "Pointer"-ified the 6502
* a perfect candidate for a code merge. Replication all over the place.
2008-11-07 00:07:57 +00:00
davidhay
42c486632b i386 seems to already be defined by the compiler? changed to _i386 2008-11-06 22:59:43 +00:00
Couriersud
bc35b2d9e9 Some more gcc 64bit tranquilizers 2008-11-06 22:53:42 +00:00
Couriersud
552fc58ce5 Fix 64 bit compile
* Aaron, please review my change.
2008-11-06 20:44:41 +00:00
Aaron Giles
b44da3b748 WARNING: This is a significant change. If you are risk-averse and
working on something, hold off syncing.

Defined macros for core CPU functions: CPU_INIT, CPU_RESET, CPU_EXIT,
CPU_EXECUTE, along with macros for the name and for calling, in the
spirit of the devintrf.h macros. More will come later.

Changed init, reset, exit, and execute interfaces to be passed a
const device_config * object. This is a fake object for the moment,
but encapsulates the machine pointer and token. Eventually this will
be a real device.

Changed the CPU IRQ callbacks to a proper type, and added a device
parameter to them.

Updated all CPU cores to the new macros and parameters.

Note that this changes the way we "pointer"-ify cores. I'll send an
update shortly.
2008-11-06 18:42:37 +00:00
Aaron Giles
1228d0ad9e Fixed a few issues caught by an MSVC compile (why doesn't gcc complain??) 2008-11-06 15:44:58 +00:00
davidhay
3d15bc42d0 32x changes which benefit tempo 2008-11-06 11:02:52 +00:00
Aaron Giles
bf2501e3b7 Removed a bunch of useless macros. Consolidated several others.
Standardized on MAME types. Defined uint/sint to be 32-bits
rather than all this target platform guessing about how many
bits are in an int.
2008-11-06 10:38:54 +00:00
Aaron Giles
67db279bb2 Fixed compilation issues with 68000 changes.
Began the process of pruning options from the 68000 core, hard-coding it
for MAME's needs. We've hacked on it sufficiently that it is no longer
generic, so this is a good opportunity to simplify the code so that it
can actually be followed.
2008-11-06 10:17:31 +00:00
Aaron Giles
31ae2af798 "Pointer"-ified the 68000. What a mess!
There are a few remaining globals; we'll get them later.
2008-11-06 09:32:27 +00:00
Aaron Giles
cfad1bef05 Re-added suspend/resume synchronization to fix a few games. 2008-11-06 07:08:18 +00:00
Aaron Giles
2e8af3ea7e "Pointer"-ified the ADSP-21xx core. 2008-11-06 07:01:14 +00:00
Aaron Giles
28d48b383c Fixed bug in new quantum code that could result in an invalid
interleave of 0 being used. Fixes problems with stv games.
2008-11-06 06:05:44 +00:00
Aaron Giles
c0770e14ce Changed core cycle computations to use div_64x32 instead of full 64-bit
divides. This involves tossing a few bits of resolution at divide time,
but should make no real difference in practice.
2008-11-05 16:52:52 +00:00
Aaron Giles
49452d9473 Oops, didn't mean to check in the digdug hack for perfect interleave. 2008-11-05 16:50:52 +00:00
Aaron Giles
94233e688d Fix bad bug in scheduler quantum code. 2008-11-05 16:37:40 +00:00
Aaron Giles
a33640f46d Added concept of scheduling quanta to the timer system. Also added
means of setting the minimum useful scheduling quantum, and clamping
all quanta to that value.

Changed interleave/boost handling to use scheduling quanta instead
of timers.

Added machine parameter to cpu_boost_interleave.

Updated cpuexec to compute the "perfect" interleave value taking into
account the minimum number of cycles per instruction specified by the
CPU core. Updated Z80 core to indicate that the minimum cpi is 2. Fixed
incorrect minimum cpi in the 68020+ cores.

Simplified a bit of logic in cpuexec_timeslice.
2008-11-05 16:04:56 +00:00
Couriersud
82c3ffc153 "Pointer-ified" the mcs51 core 2008-11-05 00:10:21 +00:00
Couriersud
94e16603c5 "Pointer-ified" the mcs48 core 2008-11-04 23:19:16 +00:00
Angelo Salese
62195dc9a0 Fixed coinage in Speed Attack! and cleaned-up the driver to current standards.
(And added a re-write note to Speed Attack and Yumefuda drivers)
2008-11-04 20:41:25 +00:00
Aaron Giles
62d7168295 Pointer-ified the R3000 core. 2008-11-04 15:24:49 +00:00
Aaron Giles
d060c4694b "Pointer-ified" the Z80 core as an example for testing. 2008-11-04 14:57:03 +00:00
Curt Coder
7d4023e2c4 [MC6845] Reverted all changes. 2008-11-04 11:52:42 +00:00
davidhay
6fb55dfbf7 added 32x rendering 'mode 2' (15bpp) 2008-11-04 08:40:41 +00:00
Aaron Giles
79f8cc1cf8 From: Micko [mailto:mmicko@gmail.com]
Sent: Sunday, November 02, 2008 1:04 AM
To: Aaron Giles
Subject: Z80 CPU change

Hello Aaron,
 
For a long time there was undiscovered internal register (MEMPTR) inside Z80 CPU which was visible by using BIT n,(HL) instruction in undocumented bits of flag, in
last few months lot of things have been discovered by team of Russian programmers. There was a test on real machine which showed status of flags after each instruction.
I am sending you now patch for Z80 with MEMPTR implemented, there is also one more bug fixed (BIT 6,(XY+o) was not implemented good it used BIT 4,(XY+o) code).
 
As a proof that things are now valid, I am sending screens before patch on Z80 cpu core, and after with compare of results on real machine.
I am also sending you a TZX file (for ZX Spectrum) since tests are done inside that driver.
 
Please inform me about status. Hope this could fix some issues in drivers using Z80, since some games used this flags.
 
Regards,
Miodrag Milanovic
2008-11-04 06:10:20 +00:00
Aaron Giles
7d291c792f Re-inlined core attotime functions. This makes a significant difference
when running with high interleaves (~2x speed running Dig Dug at perfect
interleave).
2008-11-04 05:45:54 +00:00
Couriersud
807a9b1014 Hooked up 6845
* Hooked up 6845 in a daisy chain way into existing "6845 emulation"
* Clocks from schematics
* Video size issues - 6845 code related, discussion started on list
2008-11-03 23:49:51 +00:00
Couriersud
bf4bfe8b86 Removed some printf debugging and added some more DS5002FP code 2008-11-03 23:08:38 +00:00
stephh
ac727bcca6 Added Dip locations for 'exprraid' and clones.
Added Dip locations for 'gyruss' and clones.
2008-11-03 18:27:28 +00:00
Pierpaolo Prazzoli
ac65d98ddb Fixed bug 02618: samuraia and clones: No SFX sound 2008-11-03 18:20:57 +00:00
Aaron Giles
c6a7299b4e 02544: Dip Condition / Port Include limitation 2008-11-03 10:01:43 +00:00
Curt Coder
086cc0d047 [MC6845] Fixed display enable. 2008-11-03 09:56:09 +00:00
Aaron Giles
7038a72e76 Converted toobin to RGB32 to allow for mid-screen palette updates.
Also added correct video timing and full memory map, and connected
watchdog.
2008-11-03 09:41:03 +00:00
Aaron Giles
abf8eafc47 02607: frogs: Taking a screenshot in Frogs (Gremlin) exits the game with an error. 2008-11-03 08:31:39 +00:00
Yasuhiro Ogawa
bf4f376e9b allows YM2203C to be heard by default.
Credit Jim H.
2008-11-03 03:08:08 +00:00
R. Belmont
8d3e0e1ba2 Small Naomi update
AICA: fix missing instruments in DTPK driver games [R. Belmont, Deunan Knute, kingshriek]

Naomi: unmapped words in the AICA address range must read as zero [R. Belmont]

With these changes Toy Fighter's music is much better.
2008-11-03 02:58:59 +00:00
Couriersud
f9029d88a5 Irem M10: first results from schematics
* Updated video timing and cpu/pixel clocks
* Rewrote irq for m10/m11 to use two 74LS123
2008-11-03 01:19:51 +00:00
Couriersud
17b6c56de9 74123 Fixes:
* Clear behaviour to follow datasheet.
* Avoid recursive calls when setting a/b/clear lines from callback
2008-11-03 01:16:39 +00:00
davidhay
b29e06704b added 32x DRAM clear, needed by 32x tempo, pitfall, primal rage 2008-11-03 00:50:46 +00:00
davidhay
45a29c2c22 added RLE mode to 32x renderer, needed by brutal intro 2008-11-02 23:06:53 +00:00
stephh
4f157ee1b4 Fixed Dip Switches for all games in halleys.c driver.
Added Dip locations for 'halleys' and clones.
2008-11-02 22:33:19 +00:00
Couriersud
ec60d29846 Changed 74123 into a device 2008-11-02 21:55:06 +00:00
davidhay
b11d133ccc current 32x code 2008-11-02 21:21:46 +00:00
Aaron Giles
a769919540 Missed file from AtariAce. 2008-11-02 03:15:38 +00:00
Aaron Giles
0c35694668 Oops, not ready for these yet. 2008-11-02 03:15:03 +00:00
Aaron Giles
ffc97bd35d Cleanups and version bump. 2008-11-02 03:11:19 +00:00
Aaron Giles
8dac65b955 I changed the coinage settings and swapped coin A mech with coin B to
match the behaviour of Chelnov (world) pcb
[Corrado Tomaselli]
2008-11-02 02:48:28 +00:00
Aaron Giles
a69e703854 From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Saturday, November 01, 2008 4:14 PM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] Toaplan2 save state fix

Hi mamedev,

I realized after sending my toaplan2 save state patch that I had
ignored the implications of memory_set_bankptr (grrr).  This followup
patch fixes the most significant case of that, I'll fix up the
remaining ones later.  Alternately, you can drop the patches for now
and I'll resubmit them later.

~aa
2008-11-02 02:45:04 +00:00
Aaron Giles
ae0c3e8811 From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Saturday, November 01, 2008 11:29 AM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] State save support for toaplan2

Hi mamedev,

Attached is a small patch to add a toaplan2.h include file and save
state support for the driver.  A number of variables changed from int
to specific sizes to support this, and I also fixed a harmless typo in
the mem_mask size.

~aa
2008-11-02 02:44:33 +00:00
Aaron Giles
9e9ebc19a6 From: abcd efgh [mailto:cix_999@yahoo.it]
Sent: Sunday, October 26, 2008 3:01 PM
To: submit@mamedev.org
Subject: expro02

Hi folk!
Another work in expro02 drive:
-  Fixed dips in all galsnew sets and  fantasia.
- Added dips  location.
- A little drive clean up.
Bye Sonikos
2008-11-02 02:41:52 +00:00
Aaron Giles
4e80367366 Here's another MAME tidy patch. This one adds missing const/statics,
adds/removes entries in header files, and fixes a few potential
multisession issues by explicitly adding initializers.  asic65.c has
significant changes to accomodate using a struct instead of 16
variables, otherwise the changes in this patch are modest and obvious.

[Atari Ace]
2008-11-02 02:40:46 +00:00
Aaron Giles
d08215d8ee [Pugsy]
There's an issue with the debugger handling of the 6502 instructions as
there's a mismatch between the core and what the debugger shows.
The changes are detailed in the spreadsheets that I've attached that
compares the core to the dasm.


Attachments:

m6502fix.zip contains the diff file
6502 debugger disassembly changes.zip   contains an excel spreadsheet
(in both xls and xml formats) detailing the reasons/changes.
2008-11-02 02:38:50 +00:00
Aaron Giles
1763eae62b Fix NES APU to work with high sample rates (don't know the bug #) 2008-11-02 02:36:52 +00:00
davidhay
272416355e still working on 32x... these require such heavy sync it kills performance :/ 2008-11-02 01:48:46 +00:00
davidhay
7ed79633f9 current 32x backup - some stuff actually boots now...
(again, no impact on MAME)
2008-11-02 00:40:56 +00:00
Aaron Giles
67a5e53e17 From mamesick:
* bbusters.diff:
- Fixed service mode issues enabling extra RAM that was previously unmapped.
- Properly implemented all sound communications.
- Fixed ID 00387. (there are no sound issues, the bug in my opinion is no more valid)

* nmk16.diff
- Fixed ID 00224. (PCB behaviour verified by Corrado Tomaselli)

* renegade.diff
- Fixed ID 01679. (old code was an hack, cpu_getiloops is more acceptable)

* suprnova.diff
- Fixed ID 02042. (no other games are broken)

* twin16.diff
- Cleaned up a bit code to make it more readable.
- Reorganized CPUs order in all games. (main, sub, audio)
- Fixed ID 02268. (guesswork, a PCB is needed to understand how priorities work)
2008-11-02 00:14:17 +00:00
Angelo Salese
8c2c0d0043 Discovered that Virtual Mahjong 2 - My Fair Lady currently works,so changed flags GAME_NOT_WORKING to IMPERFECT_GRAPHICS / IMPERFECT_SOUND
and removed an unnecessary hack from the driver.Probably one of Arbee's SCSP changes fixed it.

New games added or promoted from NOT_WORKING status
---------------------------------------------------
Virtual Mahjong 2 - My Fair Lady

(i.e. Do not credit me on this)
2008-11-01 23:45:47 +00:00
davidhay
c9e94756cc fix mantis 02605 'Wrong colors in Funny Mouse and clone. ' 2008-11-01 11:16:58 +00:00
Roberto Fresca
e03868c87a Ruleta RE-900:
Use pre-defined crystals. Added with notes to xtal.h.
Added missing layout file.
2008-11-01 01:17:55 +00:00
Couriersud
66c3f28e30 Removed dkongx code
* Copy of driver file put on ftp
2008-10-31 23:28:35 +00:00
Couriersud
10b85f1efe More changes to timer 0 split mode 3 and how timer 1 operates than
* Quotes from the documentation added to the source as well
* Started DS5002FP integration
2008-10-31 22:49:33 +00:00
stephh
4791a80745 Fixed Dip Switches for 'gyruss' and clones. 2008-10-31 22:14:29 +00:00
davidhay
5646489864 continued 32x changes. 2008-10-31 08:33:03 +00:00
Roberto Fresca
6f714af5a7 Minor tech notes correction. 2008-10-31 06:12:51 +00:00
Roberto Fresca
aaa8405a51 Improvements to re900.c driver [Roberto Fresca, Grull Osgo]
- Reworked inputs to allow 6 players through a selector.
 - Hooked all lamps (even the ball simulator array).
 - Added a internal layout and support for external artwork.
 - Extended the hardware to support Buena Suerte '94.
 - Cleaned up the driver.


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Buena Suerte '94 [Grull Osgo, Roberto Fresca]
2008-10-31 06:04:36 +00:00
stephh
ce7f16d0ef Cleaned up some notes. 2008-10-31 02:27:46 +00:00
stephh
ef14884b5f Fixed Dip Switches for 'exprraid' and clones.
Enjoy the various notes ! ;)
2008-10-31 02:18:02 +00:00
davidhay
b5c6bb78fa Naomi / DC improvements [Samuele Zannoli]
Hello, with this patch finally cvs2gd stops looping forever. However with
no 3d emulation nothing is shown on the screen.
Then i have implemented the naomi RTC and there are a few verbose messages
about transfers not implemented yet.
2008-10-30 21:56:33 +00:00
davidhay
84cf2596c5 include correct file in m72.c 2008-10-30 21:31:09 +00:00
davidhay
1a280c612f if we support this we may as well support both sets.. 2008-10-30 21:18:53 +00:00
davidhay
6b6c728694 changed magictg to use (hopefully correct) roms. 2008-10-30 20:43:33 +00:00
Aaron Giles
5f440c4a63 Changed from explicit styles to classes. 2008-10-30 15:30:24 +00:00
Aaron Giles
e5183b1d20 Modified src2html to use a template source file instead of hard-coding to
the MAME site.
2008-10-30 09:43:25 +00:00
davidhay
bb7010e30e Submission from Johnboy for Mame 0.128u1 mainline
Changed drivers:
	src\mame\drivers\neodrvr.c
	src\mame\machine\neoboot.c

. Updated NeoGeo game pcb infos
. Renamed p's in kof2000n to correct chip label
. Renamed v's in mahretsu to correct chip label, readded 128k m1 from Mame 0.34b6 / s1 from older dump
. breakrev: Renamed c's to correct chip label, added correct c5/c6
. Marked mslug3h MVS AND AES VERSION
. Marked mslug4 2nd revision, added mslug4 1st revision missing set comment
. Marked trally MVS AND AES VERSION
. Marked ncombath MVS AND AES VERSION
. Marked sengoku MVS VERSION
. Marked superspy MVS AND AES VERSION
. Marked mutnat MVS AND AES VERSION
2008-10-30 09:09:45 +00:00
davidhay
689975bba6 continuing to look at 32x - M_OK S_OK 2008-10-30 08:48:02 +00:00
Roberto Fresca
f0ed9a4e86 - Fixed Joker's Wild graphics to 2 bits per pixel. 2008-10-30 06:21:33 +00:00
Andrew Gardner
c33d3a4f52 Rewrite of the Motorola DSP56k CPU core. (Andrew Gardner)
* Partially implemented move, asr4, and mpy ops.
2008-10-30 05:21:45 +00:00
R. Belmont
9ebd7a57f3 plygonet: Fixed text layer emulation and visible area. FBI logo and color test now display properly. 2008-10-30 03:11:19 +00:00
R. Belmont
c6e16e1925 02456: wrong sector size at CD_TRACK_MODE2 conversion routine 2008-10-30 03:08:35 +00:00
Couriersud
7dd6c89221 Finally move cpu/i8051 to cpu/mcs51, rename files and some constants 2008-10-29 23:41:31 +00:00
Couriersud
bf27ac4ff9 Fixed m72 tilemap group 2 priorities 2008-10-29 21:59:23 +00:00
Couriersud
e60a8d7bfe Fixed INT0 & INT1 interrupt line handling 2008-10-29 21:58:19 +00:00
Couriersud
a9afec7df4 More NEC V30 changes
* improved prefetch timing calculation
* prefetch timing now also used by V20 and V33
* moved some static variables into cpu context
* nec_reset now explicitly clears context variables
* all cpus now share nec_execute
2008-10-29 21:52:51 +00:00
Angelo Salese
46cf59b61a Fixed sound,hooked-up generic inputs and added some notes in Alien Command (not yet working) 2008-10-29 17:52:47 +00:00
R. Belmont
bf8e1b4314 plygonet improvements
- Turned off network IRQ.  Game now boots without "network error"
- Hooked up palette RAM
- Improved text layer emulation (flip bits still missing)
2008-10-29 04:31:28 +00:00
R. Belmont
2a3495ab59 plygonet: set visible area to something more reasonable. 2008-10-29 03:53:27 +00:00
R. Belmont
99b29738b8 Fix GCC 4.3 "array bounds exceeded" error in disc_flt.c.
Would whoever checked this in double-check my change?  I believe I got the intent of the code (which is not how it was written ;-) but I could be wrong.

--This line, and those belo

M    disc_flt.c
2008-10-29 03:42:33 +00:00
Couriersud
31ee705dba lohtb2: Improved mcu emulation
* The whole startup cycle now works. No more timeouts and erratic behavior.
* lohtb2 will however not display the "Warning" screen due to a priority issue. With color/attribute of 0x80 in videoram at 0xd0000 and 0xd8000, videoram at 0xd80000 will be displayed. Some tilemap guru has to look into this.
2008-10-29 03:18:13 +00:00
Couriersud
ed56a340c0 Prefetch timing
* currently only for V30
* necessary to get lohtb2 working - somebody virtually counted cycles here
2008-10-29 03:11:17 +00:00
Derrick Renaud
65d187ecf2 More Discrete module optimizations.
Added optimized custom mixer to Donkey Kong.
2008-10-29 01:59:44 +00:00
Couriersud
0a82f62644 Removed another speed hack and renamed "FETCH" to "FETCH()"
* Macros used as functions should look like functions
* Preparation for opcode prefetch timing
2008-10-29 01:22:59 +00:00
stephh
0c22d0bf47 Fixed Dip Switches and inputs for 'dreamwld'. 2008-10-28 22:36:44 +00:00
Brian Troha
59898e7d86 new clone: Power Instinct (USA)
Credit Jim (or however he wants his name listed ;-)

Also specifies the difference between the two Ghox sets (in toaplan2.c).  One set is 8-way joystick controls and the parent is a spinner with forward/backward single axis control
2008-10-28 20:55:01 +00:00
Curt Coder
342fa7a26c [MC6845] Fixed skewing and display area. 2008-10-28 16:05:54 +00:00
Andrew Gardner
5b5edd9eb9 Rewrite of the Motorola DSP56k CPU core. (Andrew Gardner)
* Partially implemented tfr op.
* Polygonet now allows test mode to be run for a few seconds.  Most IO is now known, though coin2 is still a mystery.
2008-10-28 14:44:07 +00:00
stephh
8c317b186b Cleaned Dip Switches and added a few notes here and there.
Not worth being mentionned in the whatsnew.txt file !
2008-10-27 23:29:58 +00:00
Angelo Salese
59eaabfd5f Added palette fading effect on macrossp.c driver;
Added a speed-up hack for quizmoon (disabled by default);
2008-10-27 17:49:09 +00:00
R. Belmont
eb91a91308 YM2608/2612: applied latest fixes/discoveries [Eke-Eke, Nemesis]. 2008-10-27 13:39:01 +00:00
Andrew Gardner
db51d2ca3c Rewrite of the Motorola DSP56k CPU core. (Andrew Gardner)
* Partially implemented inc24, asl4, bcc, brkcc, and doForever ops.
* Added code for parallel address register update.
2008-10-27 03:53:23 +00:00
Angelo Salese
c42f386a8f 02199: banbam, pettanp: The 4th 'Unused' dipswitch is the 'Freeze' switch. 2008-10-27 01:03:45 +00:00
Angelo Salese
9285bf4e0c Various improvements to the jalmah.c driver:
* Fixed tilemaps paging / tilemap positioning;
* Fixed a protection issue in Mahjong Daireikai,not giving correct colors for the girls in-game;
* Fixed a rom-loading issue in Mahjong Daireikai;
* Fixed 'ZA' sound banking behaviour,this fixes at least the sound in kakumei2;
* Removed VIDEO_EOF and added a TIMER_DEVICE_CALLBACK function for MCU simulations;
* Added WIP code for the priority system;
* Added a NO_DUMP for the MCU for all the sets;
2008-10-26 22:00:56 +00:00
Couriersud
76182c3f9c MCS51 additions
* Implemented cmos features: powerdown & idle
* Added comments about special function registers on Philips 80C52
* cleaned up reset routines
2008-10-26 12:35:47 +00:00
stephh
c911e7c3a8 Fixed Dip Switches for all games in astrof.c driver. 2008-10-26 08:41:17 +00:00
Couriersud
493ccba85f New clone: D2K Jumpman returns
- emulates Braze Technologies addon board
- eeprom hooked up
- implemented bank switching

I am still unsure about whether this should be added or not.
Interestingly, D2K shows a "(C) 1981 Nintendo" copyright message.
Still, it is actively marketed. 
Putting this up for discussion again.
2008-10-25 22:46:30 +00:00
Phil Bennett
7938cd3974 Changed superchs ES5505 clock rate to 15238050Hz 2008-10-25 16:24:07 +00:00
Phil Bennett
c562a89dcc Fixed MSM5205 ADPCM and sound comms in Ashita no Joe/Success Joe 2008-10-25 15:06:57 +00:00
stephh
3ce911cfa8 Fixed Dip Switches for 'spaceint' and clones. 2008-10-25 11:04:35 +00:00
Roberto Fresca
b2288ad1d5 Preliminary driver for Joker's Wild (Sigma, 1988).
- Initial release.
 - ROMs load OK.
 - Proper ROMs decryption.
 - Added MC6845 CRTC.
 - Video RAM OK.
 - Added technical notes.


New games marked as GAME_NOT_WORKING
------------------------------------
Joker's Wild (encrypted) [Roberto Fresca]
2008-10-25 09:09:31 +00:00
stephh
0658fcabef Fixed Dip Switches for 'arabian' and clones. 2008-10-25 08:11:24 +00:00
Roberto Fresca
d00a268e32 Improvements to magicfly driver:
- Added sound support to magicfly and 7mezzo.
 - Hooked coin counters to magicfly and 7mezzo.
 - Inverted the graphics banks to be straight with the hardware accesses.
 - Updated the memory map description and technical notes.
 - Added game notes and documented the test/settings/bookkeeping modes.
2008-10-25 03:42:40 +00:00
stephh
ff805be4a9 Fixed Dip Switches for 'ambush' and clones. 2008-10-24 22:59:58 +00:00
Couriersud
9be049b4b2 According to Philips, 80C31 is a 80C52 family member with 128K internal ram and no rom 2008-10-24 21:53:09 +00:00
Couriersud
b1e8ff0a3e Implemented 80C52 interrupt handling
* mcs51 core now supports 4 interrupt levels depending on cpu type
2008-10-24 21:23:41 +00:00
Wilbert Pol
d64bda5e94 Updated nes pcm dma to read data through the cpu address map. 2008-10-24 21:15:49 +00:00
Couriersud
a4059f19ad Fixed split timer mode
* Credit: Jim Stolis
* No interrupts for timer 0 modes 0,1,2 while timer 1 in mode 3
2008-10-24 17:45:42 +00:00
Roberto Fresca
1b7cfe0da2 Another driver from Grull Osgo.
Ruleta RE-900 from Entretenimientos GEMINI.

Is a roulette game based on i8051 and TMS9928, that has a phisical roulette with leds simulating the ball.
Game is working properly with full sound support.
Need better inputs implementation, leds, external artwork for the roulette and technical notes (I'm taking care of them).
If someone want to give a try, turn the operator key to allow enter credits.


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Ruleta RE-900 [Grull Osgo]
2008-10-24 17:28:14 +00:00
Angelo Salese
09a98ddb58 Cleaned up the sample rom loading in mirage.c 2008-10-24 17:02:18 +00:00
Jim Stolis
4e8d9407a2 Changed VBLANK to irq0_line_assert and added a CLEAR_LINE. This greatly increases speed on all video slots. 2008-10-24 00:43:53 +00:00
davidhay
227d8cc88f removed parent clone relationship between missb2 and bublbobl. we don't usually make the 'korean hacks' as clones as they have very little to do with the original releases except for the stolen cpu code. GFX / Sound / Gameplay are completely redesigned. 2008-10-23 23:23:49 +00:00
davidhay
410e897210 removed parent clone relationship from "Street Fighter Zero/Alpha 2" and "Street Fighter Zero 2 Alpha"
Capcom consider these to be different games (they have different encryption keys)
2008-10-23 21:21:05 +00:00
Angelo Salese
6f6ace4bb7 Added sound banking to the mirage.c driver. 2008-10-23 19:19:02 +00:00
Aaron Giles
7f39a3503c Cleanups and version bump. 2008-10-23 09:15:58 +00:00
Aaron Giles
6d55bb26f5 Added correct timing PROM for Cloak & Dagger. 2008-10-23 09:11:45 +00:00
Aaron Giles
a113e24a94 From: tbellm@arcor.de [mailto:tbellm@arcor.de]
Sent: Sunday, October 19, 2008 9:01 AM
To: submit@mamedev.org
Subject: Sound Support for Cosmic Alien

Hello,

I own a cosmic alien PCB and so I thought it would be a good idea to add
sound support
to this game by changing the corresponding driver ("drivers\cosmic.c").
I also have recorded the different sound effects as wave - files.

I have attached two files to this mail. The file "cosmica.zip" contains
the samples
(so it can be simply copied to the "samples" folder) and
the other one "cosmica_diff.zip" contain the "diff" file taken against
the 0128 sources.
So you can check it and maybe you want to implement the changes in a
further release?

best regards
T.Bellm
2008-10-23 08:50:55 +00:00
Aaron Giles
da657ff7c1 From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Sent: Mon 10/20/2008 9:45 AM
To: submit@mamedev.org
Subject: fix for mt 2577
the wrong tags were used for maketrax when indexed inputs were converted to tagged ones (0.125u7): input 2 was 'dsw1' but 'in1' was used. probably a mistake I made. sorry. 

regards

        Fabio
2008-10-23 08:48:30 +00:00
Aaron Giles
410a99b10d From: Phill Harvey-Smith [mailto:afra@aurigae.demon.co.uk]
Sent: Fri 10/17/2008 11:45 AM
To: submit@mamedev.org
Subject: 65c02 core bugfix
Hi,

This patch fixes a subtle bug in the 65c02 emulation where the result of
the BIT instruction  differs on the 65c02 (from the 6502), when executed
in immediate mode.

Cheers,

Phill.
2008-10-23 08:47:52 +00:00
Aaron Giles
03a2175b6a From: abcd efgh [mailto:cix_999@yahoo.it]
Sent: Sunday, October 12, 2008 1:15 PM
To: submit@mamedev.org
Subject: dakkochn gfx improve

Improve dakkochn gfx, the priority are ok but there are various offset so i marked also the game as "inperfect gfx".

Bye Sonikos
2008-10-23 08:45:53 +00:00
Aaron Giles
c97fe8b6bb 01722: sokonuke: Game hangs after you choose stage 2008-10-23 08:44:21 +00:00
Aaron Giles
a882bc8050 Silenced an annoying log message. 2008-10-23 08:22:49 +00:00
Angelo Salese
190d129d24 Quick bug fix for Mirage. 2008-10-22 22:42:59 +00:00
davidhay
4cb699ad06 more megadriv.c stuff moving towards 32x support for MESS / HazeMD 2008-10-22 21:52:14 +00:00
Angelo Salese
52942414f4 Fixed controls and added preliminary sound (missing rom banking) to Mirage Youjuu Mahjongden
Game is now working

New games added or promoted from NOT_WORKING status
---------------------------------------------------
Mirage Youjuu Mahjongden [Angelo Salese]
2008-10-22 21:35:23 +00:00
Brian Troha
f39969550e update for Super Mega Touch IV:
Created default EEPROM which is required to get it going.

New games added or promoted from NOT_WORKING status
---------------------------------------------------
Super Megatouch IV (9255-41-07 ROG, New Jersey version) [Mariusz Wojcieszek]
2008-10-22 20:49:05 +00:00
davidhay
a25d0df144 still working on MD stuff 2008-10-22 19:34:36 +00:00
Angelo Salese
913716dd58 Completed protection vectors,fixed video emulation and added coin setting simulation in the Double Dealer driver.
Game is now playable

New games added or promoted from NOT_WORKING status
---------------------------------------------------
Double Dealer [Angelo Salese,David Haywood]
2008-10-22 18:14:46 +00:00
Curt Coder
dab7aa732b Added crystal value. 2008-10-22 18:10:57 +00:00
davidhay
36985785ad still rearranging things in here 2008-10-22 18:00:13 +00:00
davidhay
f0d27435f7 some reorganization in megadriv.c, porting over some code to attempt to get it working again, bit by bit. 2008-10-22 16:20:45 +00:00
davidhay
add038ed62 I think umk3 and breakrev are different enough from their parent sets to be considered unique games, not clones. This kills the relationship between them. 2008-10-22 12:08:21 +00:00
Andrew Gardner
40a5d0c543 Rewrite of the Motorola DSP56k CPU core. (Andrew Gardner)
* Implemented tst, or, jsr, rti, tst2, and 2 new movec ops.
* Added opbase handler to plygonet.c
2008-10-22 04:15:30 +00:00
Phil Bennett
a30f534c52 Fix MT 00436: 'kyukaidk: Some of the sound effects are wrong'
(You must delete kyukaidk.cfg and kyukaido.cfg)
2008-10-21 23:26:48 +00:00
Angelo Salese
7ee62a3760 Added flip screen / cocktail support,completed DIP-Switches (manual-wise) and made better comments on the Yumefuda driver 2008-10-21 23:19:28 +00:00
Phil Bennett
7864db5d2d Remove comment (the game is playable). 2008-10-21 21:07:51 +00:00
Phil Bennett
605d3493d5 Fix MT 01702: 'cloak + clones: Can't pick up items'
Added (undumped) vertical timing PROM ROMdef
2008-10-21 20:45:28 +00:00
Phil Bennett
40520a87cd Fix MT 02140: "cube quest crashes mame when saving state" 2008-10-21 20:42:56 +00:00
Phil Bennett
8b368475fa Fixed recently regressed raster interrupt issues 2008-10-21 20:37:18 +00:00
Couriersud
a0d4e2085a Revoke accidental commit
* added comment about possible fix gseeker "black continue screen"
2008-10-20 23:53:02 +00:00
Couriersud
8eecd6745c More mcs51 updates
* Remaining games checked and adapted to changes in cpu core 
 * Cardline still broken. I need the exact and complete cpu name.
 * Added more variants 803X, 80CXX, AT89C4051
 * Fix segas18.c (segaic16.c) mcu maps. 
 * Fix sslam.c 
 * Fix limenko.c videopkr.c : Issue with core allocation of ram (duplicate savestate)
2008-10-20 23:42:09 +00:00
Brian Troha
c87376f45f minor correction for the Grudge Match PCB info... changed to show groms 0 through 6 :-) 2008-10-20 21:01:22 +00:00
davidhay
898e334344 marked magictg smt roms as BAD as per Guru's recommendation. 2008-10-20 20:35:16 +00:00
Couriersud
3181cb2ba2 segas18.c: use 8751 io map 2008-10-20 19:40:26 +00:00
Couriersud
3b0ee27f97 mcs51/i8051 - please credit Jim Stolis as well
* fix timer 2 interrupts
* implement serial mode 2/3 rx and tx clock handling
2008-10-20 19:23:58 +00:00
Curt Coder
daea45ca62 [MC6845] Hsync should be pulsed even when vsync is active. 2008-10-20 17:42:38 +00:00
Aaron Giles
13ad68bca4 New games added: Grudge Match (Yankee Game Technology)
Yet another 8-bit Incredible Technologies board. Different in several
significant ways from previous models:
 * YM2608B for audio, replacing YM3812+OKI6295
 * TMS34070 for palettes instead of PC RAMDAC
 * Different video memory layout
2008-10-20 15:34:27 +00:00
Angelo Salese
f7c8307f90 Added sound and corrected wrong DIP-SW in the Double Dealer driver 2008-10-20 14:55:51 +00:00
davidhay
d216b054af clone
Seibu Cup Soccer (set 2) [Chris Hardy] (NOT WORKING)
2008-10-20 08:07:24 +00:00
Couriersud
3038a5c7b6 More data to io map for mcs51 2008-10-19 22:37:06 +00:00
davidhay
fb52b3eee8 replace monkelf prom with one from the bootleg board 2008-10-19 22:36:18 +00:00
davidhay
72269c2e5e Magic the Gathering: Armageddon (Skeleton driver)
I'm not going to be working on this, but this documents it in the source at least.
2008-10-19 22:07:43 +00:00
Couriersud
a7da02e00e MCS51/I8051 overhaul, micro3d improvements and full m72 protection emulation for lohtb2
* improved serial port timing (f15se (micro3d.c) sound board now works)
 * better infrastructure for adding more variants like DS5002
 * Fixed port reading
 * Rewrote Macros for better readibility
 * Fixed and rewrote Interrupt handling
 * Now returns INTERNAL_DIVIDER, adjusted cycle counts
 * Remove unnecessary and duplicated code
 * Remove unnecessary functions
 * Rewrite to have sfr-registers stored in int_ram. 
 * Debugger may now watch sfr-registers as well.
 * implemented interrupt callbacks (HOLD_LINE now supported)
 * Runtime switch for processor type - remove ifdefs
 * internal memory maps for internal rom versions (internal ram now displayed in debugger)
 * more timer cleanups from manual
 
micro3d:
 * serial port communication between main cpu and sound board works
 * sound board now works
 
m72 - lohtb2:
 * full emulation of protection device
 * Samples are now piped through the mcu
2008-10-19 22:06:47 +00:00
stephh
10e8a13d82 Updated tnzs.c driver : readded wrongly deleted player 1 BUTTON1 for 'jpopnics'. 2008-10-19 21:28:25 +00:00
stephh
75d94fe936 Updated tnzs.c driver : minor clean-up. 2008-10-19 21:22:39 +00:00
davidhay
16e2482cde NOT WORKING | P's Attack [Guru] 2008-10-19 21:12:38 +00:00
davidhay
d54afb3202 adds the 2 new fireshark sets [Guru]
clones
------

Fire Shark (Korea, set 1, easier) [Guru]
Fire Shark (Korea, set 2, harder) [Guru]
2008-10-19 20:12:01 +00:00
davidhay
5f23c76212 fix bnstars1 screens, looks like this didn't get properly tested after some mass change, was checking for screen == 0, which doesn't work anymore. 2008-10-19 18:52:04 +00:00
Brian Troha
430c387dce new clones added:
New clones added
----------------
Police Trainer (v1.3B Newer) [Brian Troha]
Egg Venture (Release 8) [Brian Troha]
Kick for the Goal [Brian Troha] (Not Working)
2008-10-19 17:33:01 +00:00
Andrew Gardner
9014e91a62 Rewrite of the Motorola DSP56k CPU core. (Andrew Gardner)
* Added additional branch, move and bitfield ops.
* Plygonet now passes its memory test and uploads a new program.


[[Next step is to install an opbase handler and let the dsp56k run further into its new proggie.]]
2008-10-19 17:14:14 +00:00
Angelo Salese
a9c0fd7295 Fixed input ports in Yumefuda and added Dip-Switches.
Game is now playable

New games added or promoted from NOT_WORKING status
---------------------------------------------------
(Medal) Yumefuda [Bet] [Angelo Salese]
2008-10-19 16:58:12 +00:00
R. Belmont
9fc7f46095 AICA: fix sample addressing for the full 8 MB [kingshriek]. 2008-10-19 15:06:20 +00:00
Angelo Salese
1c9ae23521 Small cleanups to the ST-V driver
Make some work for magzun,still not working.
2008-10-19 11:07:53 +00:00
stephh
5715167157 Updated tnzs.c driver :
- renamed sets :
      * 'tnzsjn'   -> 'tnzsj'
      * 'tnzsj'    -> 'tnzsjo'
      * 'kagekia'  -> 'kagekih'
  - fixed Dip Switches for all games (2 remaining unknown Dips in 'plumppop' and 'jpopnics' though)
  - added many notes
2008-10-19 08:04:20 +00:00
R. Belmont
ec59b2b982 NamcoNBx: fixed C75 BIOS loading for big-endian targets. 2008-10-18 23:44:09 +00:00
davidhay
84dd8639d8 cleaned up STV rom loading a bit 2008-10-18 22:07:30 +00:00
Phil Bennett
aeb70f6c9b Added redumped B-Rap Boys sample ROMs (c/o Guru) 2008-10-18 20:25:13 +00:00
Phil Bennett
01f562f229 Increase interleave factor to eliminate LDP timeout countdown flicker. 2008-10-18 20:09:49 +00:00
Phil Bennett
e1b9a1bcf2 Fix MT00359/blocken337b8gre 2008-10-18 20:06:01 +00:00
Andrew Gardner
e138837002 Rewrite of the Motorola DSP56k CPU core. (Andrew Gardner)
* Complete rewrite focusing on legibility and extensibility.
* 27/121 opcodes (mostly) implemented.
* Bugfix for reset status of interrupt priority bits.
* Bugfix for disassembly of register-to-register parallel data move.


[[These changes bring the driver up to the point where the plygonet hardware begins banking memory.  The behavior is understood, so I should have the driver back to where it was before the rewrite soon.  Then real progress can be made.]]
2008-10-18 18:10:59 +00:00
davidhay
191767f62f Minor NeoGeo cleanups [JohnBoy]
kof2002b set from Kawaks [Kawaks]
2008-10-18 14:47:41 +00:00
davidhay
090ab6fe44 Removed per-game hacks from CPS3 (moved to DMA callback in SH2 core)
(also added a to-check note, 16-bit wide DMA is currently using 32-bit functions, is this correct?)

Removed Speedups from CPS3 / PsikyoSH, while they do still give a decent speed boost they're not really needed with the DRC and just clutter the code.
2008-10-18 14:44:20 +00:00
Curt Coder
298dd21606 MC6845:
- added cursor and display enable skewing
- added preliminary support for SY6545-1's transparent addressing mode
2008-10-16 17:09:58 +00:00
Aaron Giles
7d3221dcf3 Cleanups and version bump. 2008-10-16 08:59:25 +00:00
Aaron Giles
819c231992 Added new tool ldresample to assist in resynchronizing audio tracks in
a CHD with frames. Currently still WIP but useful if you know what 
you're doing. [Aaron Giles]
2008-10-16 08:47:06 +00:00
Aaron Giles
a1c2887d78 Rebalanced audio and corrected TMS5220 frequency. 2008-10-16 08:46:43 +00:00
Aaron Giles
f61550ab4f - 02531: [Sound] mshuttle, mshuttlj, mshutlj2: Moon shuttle speech
wrong (Corrado Tomaselli)
2008-10-16 08:42:57 +00:00
Aaron Giles
5bcb95dff7 From: Phill Harvey-Smith [mailto:afra@aurigae.demon.co.uk]
Sent: Saturday, October 11, 2008 12:01 PM
To: submit@mamedev.org
Subject: 6821 PIA changes

Hi,

Can this change be added to the 6821 pia code, it adds a function that 
allows the client code to get the status of CA2, taking account of the 
internal pull up resistor. This code only adds a function and does not 
change any existing code so should not have any impact on existing
drivers.

This change is needed for a couple of the mess drivers.

Thanks.

Phill.

-- 
Phill Harvey-Smith, Programmer, Hardware hacker, and general eccentric !
2008-10-16 07:19:16 +00:00
Aaron Giles
8769bea92e 02554: jackal: Sprite lag confirmed
02432: denjinmk: Bad Sprite rom - half size, causes missing sprite graphics.
2008-10-16 06:21:05 +00:00
Aaron Giles
c993b2a4e1 02539: phrcraze, phrcrazs: [debug] Access Violation
This is actually Couriersud's fix as posted in the bug.
2008-10-16 06:05:33 +00:00
Nicola Salmoria
5caf8d2e5c New clones added
----------------
Giga Wing (Brazil 990222) [Luis]
2008-10-15 06:55:31 +00:00
Angelo Salese
f4e0931b93 Fixed the colors of Yumefuda.
Added two new palette functions in generic.c: paletteram_xRRRRRGGGGGBBBBB_split1_w() and paletteram_xRRRRRGGGGGBBBBB_split2_w() (used by Yumefuda)
2008-10-14 18:31:05 +00:00
Roberto Fresca
5537bbe8a5 Improved the poker41 and pulltabs button-lamps layouts to look more realistic. 2008-10-14 02:43:26 +00:00
davidhay
62e94572da marked Hacha Mecha Fighter (nmk16.c) BG rom as a bad dump [David Haywood] 2008-10-13 22:27:48 +00:00
Angelo Salese
0f49d587b8 Added input controls,coins,some dip-switches and sound to the good.c driver.
Game is now playable.

New games added or promoted from NOT_WORKING status
---------------------------------------------------
Good [David Haywood,Angelo Salese]
2008-10-13 21:43:44 +00:00
Aaron Giles
85e3077616 Connected firefox audio enables. 2008-10-13 17:17:07 +00:00
Curt Coder
3d85b66c5e Added pinout, not worth mentioning in whatsnew. 2008-10-13 14:16:07 +00:00
Aaron Giles
0fddfa1a44 Cleanups and version bump. 2008-10-13 08:38:32 +00:00
Aaron Giles
76d7050e7a Cleaned up video implementation:
- proper sprite/tile priorities
 - adjusted X offset to match screenshots
 - converted to tilemaps
2008-10-13 08:31:25 +00:00
Nicola Salmoria
bccaf911b4 Added cawing B-Board PAL dumps [Corrado Tomaselli] 2008-10-13 07:59:49 +00:00
Aaron Giles
2afb0e1049 Using tags instead of indexes for input line control. 2008-10-13 05:39:07 +00:00
Aaron Giles
da7c14f848 cubeqst changes:
* removed custom sound in favor of individual DACs
 * simplified palette management logic
 * hooked up the "disc on" signal
2008-10-13 04:32:54 +00:00
Brian Troha
5120786ad1 white space fixes... mainly for looks. 2008-10-13 02:23:11 +00:00
Aaron Giles
824059b768 Added DIP LOCATIONS to items in the driver and cleaned up some of the
comments mentioning duplicate dips configurations.  Not fully understanding
how the FREE PLAY was implemented, I left that not to show a location.

This .DIFF is based on 0.127u7 sources.
Tafoid
tafoid@yahoo.com
2008-10-13 01:33:52 +00:00
Angelo Salese
cec2bad823 Done most of the protection work for Double Dealer
It appears to use a funky video register setting involving locations $8c1e0-8c1ef range for cards movements so it isn't playable yet.
2008-10-12 22:07:28 +00:00
R. Belmont
606e284917 01867: plygonet: Duplicated Inputs
Removed unnecessary copy/pasted Run and Gun inputs.
2008-10-12 20:49:27 +00:00
Couriersud
b35bec7642 01716: backfire, backfira: Coin 1+2, Service1 and Service Mode mapped twice. 2008-10-12 16:18:12 +00:00
R. Belmont
29e2e3855e Fix Mantis #00106.
KonamiGX: Tweek le2 gun aiming.  Reloading off the top and bottom of the screen works again.
2008-10-12 16:13:43 +00:00
Couriersud
3518ae84ac 01708: stargrds: stargrds duplicate inputs 2008-10-12 16:07:22 +00:00
Aaron Giles
61d2dcd14e 02533: nbapbp: CPU audio: PULSE_LINE used with level-detected IRQ 1 2008-10-12 14:11:58 +00:00
Aaron Giles
44f0b5a68a 02532: lunarba1: Unable to locate input port 'DSW2' 2008-10-12 14:09:50 +00:00
Couriersud
499073eb8e 02529: catch22: Credits do not register in game. 2008-10-12 09:29:10 +00:00
davidhay
11caa89955 removed speedups from sokyugrt, they break the game (make it too slow) the SH2 DRC is sufficient 2008-10-12 09:28:00 +00:00
davidhay
cceb21bd99 added a note about C2 IRQ6 for future reference when rewriting all this. 2008-10-12 09:18:59 +00:00
Couriersud
ea05fb2e38 02530: Various: Assertion in cpuint.c
* renamed "audio" tags to "sound"
2008-10-12 09:13:38 +00:00
Jonathan Gevaryahu
3c7cecd362 fix comments to have actually CORRECT resolution calculations listed. oops. 2008-10-12 07:39:39 +00:00
Jonathan Gevaryahu
4d5248949f Large update to comments in smstrv.c for SMS Manufacturing boards. Documented how the input/output ports are hooked up, and what the PALS do, still need to document the video output port and add the smssshot roms, and actually hook stuff up (like the z80) based on the comments. 2008-10-12 06:45:38 +00:00
Aaron Giles
ea49def07b Brought a little closer to the MESS implementation, but it still hangs due to
PIT changes made a while back (r2193)
2008-10-12 05:38:57 +00:00
Aaron Giles
cbc146d0a9 Minor tweak to fix initial attract mode timing. 2008-10-12 05:37:42 +00:00
R. Belmont
c26f82169b Fix Mantis #02528.
Xexex: clear auto-init EEPROM flag in the right place so startup with no .nv file works properly.
2008-10-12 04:03:51 +00:00
Brian Troha
d68b885909 Adds board location to roms based on hi-res picture on Stefan Lindberg's Arcade PCB web page.
Adds comment on the actual CPU used.
2008-10-12 02:55:39 +00:00
Roberto Fresca
eeb8016109 Rewrote pmpoker.c driver (first part). [Roberto Fresca, Grull Osgo]
- Added discrete sound support to Golden Poker hardware games based on schematics.
 - Added discrete sound support to Potten's Poker hardware games based on PCB analysis.
 - Added discrete circuitry diagrams for both hardware types.
 - Adjusted the CPU adressing to 15 bits for pmpoker/goldenpkr hardware.
 - Adjusted the CPU adressing to 14 bits for pottnpkr hardware.
 - Rewrote all the ROM loads based on these changes.
 - Defined MASTER Xtal & CPU clock.
 - Fixed the visible area based on M6845 registers.
 - Improved the lamps layouts to be more realistic.
 - Added Good Luck (potten's poker hybrid running in goldnpkr hardware).
 - Added Buena Suerte (spanish) x 2 sets.
 - Added set Royale.
 - Added Witch Card and spanish variants.
 - Added Super Loco 93 (spanish) x 2 sets.
 - Renamed set goldnpkc to pottnpkr (parent Jack Potten's Poker set).
 - Renamed set jokerpkr to potnpkra, since is another Jack Potten's Poker set.
 - Added other 2 clones of Jack Potten's Poker.
 - Renamed/cleaned all sets based on code/hardware analysis.
 - Added intensity bit to the color system.
 - Implemented the blue killer bit for Witch Card hardware.
 - Implemented the extended graphics addressing bit for Witch Card hardware.
 - Added proper visible area to sloco93.
 - Rewrote the graphics & color decode system based on schematics. No more patched codes.
 - Changed the char gfx bank structure and rom load according to the new routines.
 - Adjusted the amount of color codes and PROM region size accordingly.
 - Updated all notes.


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Good Luck! [Roberto Fresca]
Buena Suerte! (spanish) [Roberto Fresca]
Witch Card (english) [Roberto Fresca]
Super Loco 93 (spanish) [Roberto Fresca]


New clones added
----------------
Jack Potten's Poker (2 sets) [Roberto Fresca]
Witch Card (spanish)(2 sets) [Roberto Fresca]
Buena Suerte (spanish, set 2) [Roberto Fresca]
Super Loco 93 (spanish, set 2) [Roberto Fresca]


New games marked as GAME_NOT_WORKING
------------------------------------
Royale [Roberto Fresca]
2008-10-12 02:25:04 +00:00
R. Belmont
876116276d Fix Mantis #01447
Namcos22: prevent Prop Cycle analog controls from underflowing.
2008-10-12 02:00:52 +00:00
R. Belmont
864820d8ad Fix Mantis #02211
PsikyoSH: hook up VBL IRQ ack
SH2: fix DRC's handling of internally generated IRQs
SH2: fix compiling in interpreter mode
2008-10-12 00:05:13 +00:00
davidhay
e135e4e8d6 correct crc on new decathlete set 2008-10-11 14:57:12 +00:00
davidhay
95af25d76d this moves fantasia -> expro02.c, however, the extra layer is misplaced on it. scroll regs probably differ from the original. 2008-10-11 14:52:27 +00:00
davidhay
3479a045d6 added comment about Sol Divide's music being missing since the SH2 DRC update (RB??)
added comment about other roms on this hardware. (anonymous)

-----------

(testing the water, if Arika aren't happy with comments mentioning them, then there isn't much chance of them ever being supported, seems smarter than just adding them outright)
2008-10-11 13:48:45 +00:00
davidhay
20c0ca98f3 should bring ribbit back to where it was. 2008-10-11 13:11:18 +00:00
davidhay
6c9daddd3c video disable 2008-10-11 12:18:25 +00:00
davidhay
d8a6433cc5 matrimbl set from Kawaks [Kawaks] 2008-10-11 12:14:57 +00:00
davidhay
79e4dc3955 no need to call this. 2008-10-11 12:12:16 +00:00
davidhay
095f32a199 segac2 updates - breaks ribbit for now. this isn't really ready yet, but since the c2 stuff broke anyway I'm sending it. 2008-10-11 12:08:06 +00:00
Aaron Giles
1a720bdf32 Changed Cube Quest laserdisc override logic. It's still a little hacky but
this works better than the previous attempt.
2008-10-10 14:41:22 +00:00
davidhay
6d8fbd09cf Submission from Johnboy for Mame v0.127u7 mainline
Affected files:

	mame\src\mame\drivers\neodrvr.c
	mame\src\mame\includes\neogeo.h
	mame\src\mame\machine\neoboot.c
	mame\src\mame\machine\neoprot.c

Changes:
 . Completed general cleanup
	Sorting OEM / bootleg sets
	Renaming roms on non OEM / bootleg sets to ONE naming sheme
	Renamed functions
	Cleaned up bootleg sets
	Added some comments
	Renamed sma in garou/garouo, added comment
2008-10-10 07:29:33 +00:00
Nicola Salmoria
33f6cb5d84 simplified expro02 decryption 2008-10-10 07:14:10 +00:00
Aaron Giles
fa433938c0 02512: dkong: Artwork and gameplay area are getting squished/distorted
02511: dkong: Donkey Kong crashes after quiting
2008-10-10 05:25:45 +00:00
stephh
854005e78a Removed log of missing variable in debug build. 2008-10-09 23:22:29 +00:00
Angelo Salese
661cab1a44 jalmah.c update
Fixed several things in the jalmah.c driver:
*Fixed Mahjong Daireikai pseudo-random number generator;
*Fixed Otogizoushi Urashima Mahjong to make it playable;
*Fixed a start-up crashing bug in mjzoomin/urashima/daireika

MAMETesters Bugs Fixed
----------------------
- 01820: [Crash/Freeze] mjzoomin: Game stops at PCB test (Angelo Salese)


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Mahjong Daireikai [Angelo Salese]
Otogizoushi Urashima Mahjong [Angelo Salese]
2008-10-09 19:13:59 +00:00
stephh
c15f4a0606 Updated Dip Switches and Inputs for 'yesnoj' (taito_f2.c driver). 2008-10-09 19:00:49 +00:00
Aaron Giles
d3ab17e0e3 Cleanups and version bump. 2008-10-09 15:29:22 +00:00
Roberto Fresca
3ceca447b7 More improvements to InterFlip/R.Franco games: [Grull Osgo, Roberto Fresca]
- Mapped "Hand Pay" button for Baby Games.
 - Added decoder to Jackpot mechanical counter.
 - Added tower lamps to Baby Games layouts.
 - Reworked layouts for Baby Games.
2008-10-09 09:48:18 +00:00
Aaron Giles
51098d32cd From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Sent: Tue 10/7/2008 10:45 AM
To: submit@mamedev.org
Subject: snes special chips emulation
Hi, 

the attached patch adds emulation for snes special chips DSP-2 & OBC-1. Changes:

- added sources snesdsp2.c & snesobc1.c (directly included in machine/snes.c as per Arbee's guidelines). credits mostly goes to byuu, which released to Public Domain his sources
- removed special chips detection from MAME (no nss / bootleg carts have special chips so far) and only left a variable has_addon_chip whose possible values are in includes/snes.h (it is initialized to HAS_NONE for MAME games)
- modified memory handlers to account for the new chips

Regards
   Fabio
2008-10-09 09:41:12 +00:00
Aaron Giles
01d21217d7 From: Christophe Jaillet [mailto:christophe.jaillet@wanadoo.fr]
Sent: Sunday, October 05, 2008 1:46 PM
To: submit@mamedev.org
Subject: 2 small patches

Here are two small patches.

The first one remove a profiler_mark that has been forgotten in one of
the
last update in the tx1.c video driver.

The second is a small speed up in the neo-geo driver which gives a 0.5%
speed up on my machine.
    - replace a loop with an equivalent memset
    - remove a useless parameter I forgot to remove in a previous patch

Hope this help.

Best regards,

CJ
2008-10-09 09:39:15 +00:00
Roberto Fresca
dfd75d29b8 Improvements to Sandii' games (snookr10, apple10 & tenballs):
- Reworked the button-lamps matrix system.
 - Documented both output ports.
 - Connected coin in, key in and payout counters.
 - Improved the lamps layout to be more realistic.
 - Updated technical notes.
2008-10-09 09:35:46 +00:00
Aaron Giles
86c1be8c70 From: Franklin Bowen [mailto:Franklin@Bowen.net]
Sent: Sunday, October 05, 2008 3:46 AM
To: submit@mamedev.org
Subject: Delete previous submission! Space Duel: Add the P10/11 dip
switch

Delete previous submission!  Functionally the same, just reordered 
some source and added a comment.  Thanks!


Space Duel: Add the P10/11 dip switch (only 4 switches instead of the 
standard 8)

Let me know if you have any questions.

Franklin
2008-10-09 09:34:36 +00:00
Aaron Giles
39a8efbdfb > From: Andrea Turci [mailto:aturci@gmail.com]
> Sent: Saturday, October 04, 2008 10:16 PM
> To: submit@mamedev.org
> Cc: ANY
> Subject: Some stuff
> 
> Diff aganist 127u6
> 
> New stuff
> 
> Mk3 p4.0 (revision 1.0 in test menu, but marked P4.0 on chip label)
> Decathlete V1.001
> 
> revisited stuff
> 
> Gpworld brake-gas issue should be fine, I cannot enter into the test
> menu to
> find out is gas is gas and brake is brake or swapped
> 
> Thanks Andrea
2008-10-09 09:32:07 +00:00
Aaron Giles
1b0d9feb58 02221: blzntrnd: Sound is almost completely broken 2008-10-09 09:24:43 +00:00
Aaron Giles
ca7e069f29 02479: Various: Memory leak 2008-10-09 09:14:07 +00:00
Aaron Giles
0329403bae 02488: All sets with using 2+ monitors: Crash to desktop on second play
02439: tx1: TX1 quits out on second launch
02266: tceptor: Thunder Ceptor crashes out when run as the second game
2008-10-09 09:11:42 +00:00
Aaron Giles
8a0b803ec4 02321: mpu4utst, mpu4tst2, mpu4met0: Screenless systems crash due to problems in some display core functions 2008-10-09 08:58:09 +00:00
Aaron Giles
f2464e06f2 02324: dokyusei, dokyusp, gakusai, gakusai2: Game doesn't start 2008-10-09 08:48:12 +00:00
Aaron Giles
6f77816007 Further crash fixes. Also optimized st0016 RAM tile behavior to
lazy decode the graphics, giving a big speed boost to some of the
mahjong games.
2008-10-09 08:36:16 +00:00
Aaron Giles
0389171b57 02470: Various: Access Violation
Note that this is caused by leaving entries in the bitmap
with an index larger than the palette size. This is forbidden
and now can lead to a crash in debug builds.
2008-10-09 08:08:06 +00:00
Aaron Giles
c270b3d714 02475: kf10thep: Access Violation [JohnBoy] 2008-10-09 07:17:11 +00:00
Aaron Giles
01cf916801 02502: fax, hardhat, mtrap, pepper2, teetert, venture and clones: Accessing a certain portion of memory in the debugger causes crash. 2008-10-09 07:11:08 +00:00
Aaron Giles
7b84b06986 Fix regression due to non-zero alpha values being present in the bitmap. 2008-10-09 06:35:00 +00:00
Aaron Giles
2d6453c98a Made the Z80 daisy chain aware of referencing device-specific devices.
Added preliminary LD-V1000 emulation. Not fully working yet, but mostly
there.

Cleaned up and normalized the three existing laserdisc emulations.
Removed obsolete code from the laserdisc core.
2008-10-09 05:31:15 +00:00
Tomasz Slanina
3df44083f8 snes.c - Fixed problem with OAM address reset at start of vblank.
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Sonic Blast Man 2 Special Turbo (SNES bootleg) [Andreas Naive, Tomasz Slanina]
2008-10-08 18:35:22 +00:00
Couriersud
b02332f875 MCU protection now working for lohtb2 (m72.c)
* Hooked up 6751
* Synchronized protection ram writes with timer callbacks

This is not really stable - please refer to my mail to the dev-list.
2008-10-08 01:00:36 +00:00
Couriersud
7494be5525 Removed speed hack - this would break the protection for lohtb2 2008-10-07 23:07:09 +00:00
stephh
486d9c32c0 Checked, via Z80 code analysis, inputs and Dip Switches for the following games in snk.c driver :
- gwar, gwarj, gwara, gwarb
  - chopper, choppera, chopperb, legofair
  - tdfever, tdfeverj, tdfever2
  - fsoccer, fsoccerj, fsoccerb
2008-10-07 22:55:55 +00:00
Angelo Salese
f6ef599f4d There's a regression bug in Sengoku Mahjong that doesn't make the controls work from when the V30 CPU core has been converted to 16-bit.Specifically,the game accesses the multiplexer with a word write instead of a byte write.This snippet will fix it. 2008-10-07 21:26:39 +00:00
Brian Troha
70b0bba80e new clone: Armored Warriors (US 940920)
New clones added
----------------
Armored Warriors (US 940920) {Razoola]
2008-10-07 20:58:56 +00:00
Roberto Fresca
2a000a7cc8 Improvements to InterFlip / Recreativos Franco driver: [Grull Osgo, Roberto Fresca]
- Added Baby Poker Game.
 - Added sound support to Baby Poker Game.
 - Reworked the color routines.
 - Added Baby Dado Game.
 - Added new color routines for Baby Games.
 - Redumped the videocba color PROM.
 - Added color switch. (It changes background color in some games).
 - Added "hopper full" switch support (for diverter function).
 - Added diverter function decoder.
 - Added full functional mechanical counters decoding.
 - Added 7 Segment decoder and 7 Digit Counter functions.
 - Added button-lamps layout & mechanical counters simulation on layout.
   Mechanical counters to layout: Coin-In, Coin-Out and Coin to Drop.
 - Added NVRAM support to mechanical counters.


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Baby Poker [Grull Osgo, Roberto Fresca]
Baby Dado [Grull Osgo, Roberto Fresca]
2008-10-07 06:27:53 +00:00
Roberto Fresca
69d1fe783a Improved the Lucky 74 button-lamps layout to be more realistic. 2008-10-07 05:57:30 +00:00
Roberto Fresca
ee91cf4d19 Improved the button-lamps layout to all games in ampoker2.c driver. Now buttons are more realistic. 2008-10-07 05:55:59 +00:00
Roberto Fresca
c6ec8026bc Fixed the i8051 AJMP opcode to take 2 bytes instead of 3.
Please also credit Grull Osgo.
2008-10-06 21:57:27 +00:00
davidhay
6ee556f84c fix for 02460: qrouka: Coin 1+2 no longer work.
still not really convinced by this conditional dip stuff.. it stands no chance of working on games where the coinage mode is in eeprom... (but i have no better suggestions)
2008-10-06 21:52:41 +00:00
Couriersud
fc3b7838bc 02498: lightbr: Trouble of title screen
02483: gunlock, rayforcj: Title screen trouble
02482: bubblemj: Demonstration screen trouble

* Check for whether tile is opaque must honour extra planes.
2008-10-06 21:49:37 +00:00
Roberto Fresca
d3cc1b9742 Fixed timers in i8051 core. [Grull Osgo] 2008-10-06 21:36:30 +00:00
davidhay
c03c27eef3 fix for "00989: qgh: If you do a metamorphose, the screen turns black without displaying words/pictures. "
shared palette ram should actually be shared..
2008-10-06 21:10:09 +00:00
Tomasz Slanina
04c37c7bcb Sonic Blast Man 2 Special Turbo (SNES bootleg) changes:
- added rom decryption
- patched protection checks
- mapped extra inputs

Game is not playable due to heavy gfx glitches caused by bugs in SNES hw emulation.
[Andreas Naive, Tomasz Slanina]
2008-10-06 11:17:07 +00:00
Aaron Giles
e9dd491777 Added correct overlay positioning, font, and behavior to PR-8210 emulation. 2008-10-06 08:34:48 +00:00
Brian Troha
f8d5f2ed6f verified the checksum via a different auction on eBay. 2008-10-06 01:19:12 +00:00
Couriersud
887dc53b80 02458: enforce: Road layer colors are wrong.
* Please credit M.A.S.H. & Phil Bennett
2008-10-05 22:15:17 +00:00
Couriersud
4749a7dc51 02469: geebee and clones: Appears to be missing its middle swinging gate 2008-10-05 21:23:47 +00:00
stephh
c782dba531 Checked, via Z80 code analysis, inputs and Dip Switches for the following games in snk.c driver :
- ikari, ikaria, ikarinc, ikarijp, ikarijpb
  - victroad, dogosoke, dogosokb
  - bermudat, bermudaj
  - worldwar, bermudaa
  - psychos, psychosj
2008-10-05 20:54:09 +00:00
Aaron Giles
fabff71d78 OG's fixes:
* proper interrupt handling
 * fixed dcclub magic latch
2008-10-05 16:09:46 +00:00
Aaron Giles
dfa4d1a50f Completed memory maps per Charles' updated docs. 2008-10-05 00:07:36 +00:00
Couriersud
96ea69015f Fixed inputs
* added missing button mappings
* corrected dip switch

This seems to be a prototype. The number of remaining ships displayed is not correct.

New games added or promoted from NOT_WORKING status
---------------------------------------------------
Astropal (Sidam?) [Couriersud]
2008-10-04 21:33:41 +00:00
Aaron Giles
88c710d582 System 24 cleanups:
* correct memory map for CPU A
 * reduced RAM size to 256k
 * correct video timings
 * renamed regions
2008-10-04 17:30:41 +00:00
davidhay
e39b0ece90 Submission from Johnboy for Mame v0.127u6 mainline
Affected files:

	mame\src\mame\drivers\neodrvr.c
	mame\src\mame\includes\neogeo.h
	mame\src\mame\machine\neocrypt.c
	mame\src\mame\machine\neoboot.c

Changes:
 . Begin of a general cleanup
	Sorting OEM / Bootleg sets
	Renaming roms on non OEM / Bootleg sets to ONE naming sheme
	Renaming functions
	Added some comments
   Cleanup is not completed.
2008-10-04 13:00:16 +00:00
Aaron Giles
099373081e Added new functions for building device-relative tags. Changed machine
configuration builder to use these functions. Also changed the laserdisc
player devices to use them. Updated Z80 CTC/SIO code to assume that the
CPU provided for the clock is relative to the device that the CTC/SIO
belong to. Updated memory code to assume that regions and devices
referenced by the memory map are relative to the device the associated
CPU belongs to.
2008-10-03 16:29:33 +00:00
Aaron Giles
d707ec622e Fixed a number of regressions due to recent 68000 IRQ changes. 2008-10-03 06:05:16 +00:00
stephh
e348c244aa Added missing support of normal joystick for player 2 in 'gwarb'. 2008-10-03 04:20:30 +00:00
stephh
fc54f63a09 Removed unneeded keys by removing the constants.
Readded UI_ON_SCREEN_DISPLAY to be changed again in the "Inputs" menu as per Aaron's request.

A clean build is required and cfg/default.cfg has to be deleted !
2008-10-03 04:00:41 +00:00
Nathan Woods
17b9549fef Fixed broken prototypes 2008-10-03 03:27:37 +00:00
Brian Troha
18748a6b3f new games/clones added
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Megatouch 5 (9255-60-07 RON, New Jersey version) [Brian Troha]

New clones added
----------------
Megatouch III (9255-20-07 ROG, New Jersey version) [Brian Troha]
Super Megatouch IV (9255-41-07 ROG, New Jersey version) [Brian Troha] (Not Working)
2008-10-02 22:40:37 +00:00
Aaron Giles
f90a19f2bc MSVC compiler error. 2008-10-02 15:05:46 +00:00
Aaron Giles
5123b07115 Cleanups and version bump. 2008-10-02 05:34:21 +00:00
Aaron Giles
cf63e2baa8 Fixed handling of interrupts when the CPU was in the STOP state. 2008-10-02 05:31:24 +00:00
Aaron Giles
18c6cfb56a From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Sent: Mon 9/29/2008 9:45 AM
To: submit@mamedev.org
Subject: Small SNES changes
Hi,  

enclosed please find a patch which changes a bit the way SNES 
carts (NSS & bootlegs) are loaded at init time. Currently, data 
are loaded once at start and then the read handlers perform various 
mirroring tricks. With the attached patch, the cart is loaded at 
init and mirrored as many times as it is necessary, while handlers 
simply read from the plain offset. Also, blocks of data are mirrored 
until they fill all the available banks. Implementing this behavior 
both simplifies the handlers code and is more faithful to the hardware 
(see mirroring note included in the DRIVER_INIT).

I also slightly changed some handlers to take into account the new 
mirroring system. OTOH sram_handlers haven't been updated (they will 
be eventually) because with carts as small as the ones in nss.c and 
snesb.c, they basically have no overlapping with the new mirroring 
approach... as soon as I come up with a satisfactory implementation 
that works in MESS (which has to deal with much larger carts), I will 
also submit the MAME side.

No regressions appear with the patch, as far as I could test.

Regards
   Fabio

--

From: Fabio Priuli [mailto:doge.fabio@gmail.com] 
Sent: Wednesday, October 01, 2008 12:01 AM
To: submit@mamedev.org
Subject: further snes changes

Hi,

enclosed please find a patch which rewrites memory handlers in 
machine/snes.c to take into account the additional cart/memory layouts 
(mode 22 & 25) which were available for the home console (almost no 
impact on nss.c & snesb.c, which only use mode 20 & 21). rather than 
only add a bunch of if(snes_cart.mode == XXXX), I preferred to slightly 
rewrite the handlers. main changes on the MAME side are:

* merged regions 0x700000 up to 0x7dffff in snes_map (this allows to 
make memory maps in nss.c and snesb.c identical: the zone previously 
NOPed in nss.c is now handled by snes_r_bank5, because it was not 
reserved for all cart types)
* split region 0x800000-0xbfffff from 0xc00000-0xffffff in snes_map. 
This simplifies a bit handlers used by MAME and it will be necessary 
when MESS supports special chips like SDD-1 (which dynamically changes 
the part of cart loaded in the latter region)
* slightly enlarged SRAM regions (in this case, it only affects what 
happens inside the handler, NOT snes_map) to support carts with 512kbits 
of SRAM (e.g. Thoroughbred Breeder III for MESS). I'm still not 100% 
satisfied with SRAM mirroring, but this is closer to the real thing 
than the previous way to handle it

No regressions are present, neither in MAME nor in MESS, as far as I 
could test (well, for MAME weren't expected, since most changes affected 
mode 22 & 25).

Regards,
     Fabio
2008-10-02 05:09:37 +00:00
Aaron Giles
96943508cd From: abcd efgh [mailto:cix_999@yahoo.it]
Sent: Sunday, September 28, 2008 6:01 AM
To: submit@mamedev.org
Subject: System1 Dips Location

Hi folk!
I continuing   the work on System1
- Added dips location in all game
- Moved in generic Cabinet dip for eliminate the redundancy
- Better implementation of generic input
Bye Sonikos
2008-10-02 05:06:13 +00:00
Aaron Giles
742dcf52f3 From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Sent: Friday, September 26, 2008 11:01 PM
To: submit@mamedev.org
Subject: fix for sbasketb

As pointed out by ShimaPong on mameworld forums, dips are 
read in the wrong way in sbasketb.c. It seems that when 
DipLocations were added, the tags were changed in the input 
ports but not in the memory map.

The enclosed patch fixes this regression

Regards,
    Fabio
2008-10-02 05:05:20 +00:00
Aaron Giles
adaaf55595 From: Matt Ownby [mailto:matt.ownby@gmail.com]
Sent: Fri 9/26/2008 10:15 AM
To: submit@mamedev.org
Cc: Philip Bennett
Subject: fix for Cube Quest Line CPU emulation
I found a bug in the emulation of the Cube Quest Line CPU.

Proof of bug:
After looking at .diff,
Assume 'ci' is 1, and assume 'r' and 's' are both 0xFFF 
(0xFFF equals -1, as these numbers are 12-bit signed).
The result should be mathematically equivalent to -1 - (-1) 
which is 0.
~0xFFF is 0xF000, so you'd have 0xF000 + 0x0FFF + 1 which equals 
0x10000 but since 'res' is 16-bits this is truncated to 0x0.  
'C' then becomes 0 and 'V' becomes 1 (as I recall).  The result of 
0 is correct, but the flags are wrong; V should be 0 and C should 
be 1.

Under my proposed fix, you'd have 0x000 + 0x0FFF + 1, which equals 
0x1000, so the lower 12 bits are 0 (correct) and C is 1 and V is 0 
(correct).

I discovered this bug while disassembling the line CPU's ROM.
2008-10-02 05:04:06 +00:00
Aaron Giles
4e9364ded5 Stupid compiler. 2008-10-01 17:12:04 +00:00
Aaron Giles
ce465cb509 Changed 68000 interrupts to only trigger during execution. This
means that multiple changes without any execution will be seen as
atomic. It also means that PULSE_LINE no longer works for signalling
IRQs.

Added checks in the debug build to catch people who try to use
PULSE_LINE for non-NMI and non-RESET input lines on CPUs that no
longer support direct interrupt generation. Over time expect this
list to increase.
2008-10-01 17:09:11 +00:00
Aaron Giles
34cd80a8e5 Added mechanism to generically specify input port tags in place of
machine/device handlers. Unfortunately, the implementation relies on
sentinel values to distinguish a port tag versus a pointer to function
code. However, since this is a very common situation, it will hopefully
be worth the slight grossness. New macros are defined in inptport.h:

   DEVICE8_PORT(name) - use this to specify the name of a port to read
     wherever a read8_device_func would normally be used

   MACHINE8_PORT(name) - same as DEVICE8_PORT except it can be used
     wherever a read8_machine_func would normally be used

   IS_HANDLER_PORT(ptr) - accepts a read8_device_func or read8_machine_func
     and determines if it is an actual function or a reference to a port;
     intended for use by devices that accept DEVICE8_PORT-style functions

   CALL_DEVICE8_READ(ptr,device,offset) - either calls through the given
     read8_device_func, or calls input_port_read with the appropriate
     tag, depending on the result of IS_HANDLER_PORT; intended for use 
     by devices that accept DEVICE8_PORT-style functions

   CALL_MACHINE8_READ(ptr,machine,offset) - same as CALL_DEVICE8_READ
     except for read8_machine_func

Note that in order for these to be useful, the consumer of the function
pointer must be enhanced to use the CALL_* macros above instead of directly
calling through the function. So far, only the 8255 PPI is set up to do
this, as part of the cleanup below. Also note that the sentinel value is
currently 4 consecutive 0 bytes; this may need to change in the future, in 
either length or value, so it is important to stick to the macros above.

8255 PPI interface cleanup:
 - added MDRV_PPI8255_ADD, MDRV_PPI8255_RECONFIG and
    MDRV_PPI8255_REMOVE macros; updated all drivers to use them
 - changed callbacks to device read/write handlers intead of
    machine read/write handlers; updated all drivers accordingly
 - normalized function and variable names to be lower_under
 - removed a number of redundant interfaces from the galaxian/
    scamble line of games

LD-V1000: added some (compile-time removed) information about the
ROM and memory map
2008-10-01 16:36:04 +00:00
Andrew Gardner
8515504a7b Added additional Motorola DSP56k reset behavior. (Andrew Gardner) 2008-10-01 04:24:46 +00:00
Couriersud
a10dfb942d Removed GAME_IMPERFECT_GRAPHICS from Phraze Craze
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Pit Boss, [Couriersud]
2008-09-30 22:51:36 +00:00
Couriersud
227dccde00 merit.c:
* Hooked up 6845
* Hooked up lscnblk line
* Fixed Phraze Craze gfx rom ordering
* Clocks from schematics
* Ram palette moved to static var. This should not be in RAM.
* Added save state support
2008-09-30 22:45:10 +00:00
davidhay
c44a5d3d1c adds new Csclub set
New Clones
----------

Capcom Sports Club (EURO 971017) [Corrado Tomaselli]

This is newer than any of the other sets, it probably fixes the euro specific crash in the special extended bonus round (at a guess)
2008-09-30 16:54:34 +00:00
Aaron Giles
e3dd5224c0 Converted Z80 SIO to device. Updated drivers accordingly. 2008-09-30 05:29:59 +00:00
Brian Troha
b91c8e11e2 adds include to Z80ctc interface. Fixes compile issue 2008-09-29 22:47:20 +00:00
Brian Troha
fa978eb229 by DITraI4D0
expro02.c
- fixed DIPSW
- added graphics decode routine (probably it can be simpler)

video/kaneko16.c
- tilemap scroll position is different for expro02, so added new
function (is it better to fix current one?)

TODO
- in gfx data banking function (newly added), some strange gfx are shown.
Timing issue?



New games added or promoted from NOT_WORKING status
---------------------------------------------------
Gals Panic (US, EXPRO-02 PCB)
2008-09-29 21:42:19 +00:00
Brian Troha
34a21d3cff New Clone: 20 Year Reunion (V1.04)
New Clones Added
------------------------------
20 Year Reunion (V1.04) [Johan Samuelsson]
2008-09-29 21:30:11 +00:00
Couriersud
8f094e3d0f merit.c: Fix colours
* implemented palette & colour decoding from crt 200 schematics.
2008-09-29 19:58:25 +00:00
Aaron Giles
f4dc7a2f36 Converted Z80 CTC to a proper device. Updated all drivers.
Added new item to the interface which is the tag of a CPU
to take the base clock from. Are there any known cases
where the base clock does NOT come from the CPU directly?

Changed Z80 daisy chain interface to simply be a list of
devices in the chain. Interrupt callback functions are now
fetched via the standard device interface and referenced by
the daisy chain code.

Changed Z80 PIO interrupt callback to pass a device instead
of the machine. All device callbacks should provide the
device.
2008-09-29 17:20:58 +00:00
Aaron Giles
3355357ffc Simplified core deinterlacing logic based on availability of pre-
decoded VBI data. Added plumbing for allowing for overall brightness/
contrast/gamma corrections on laserdisc video. Fixed bug when combining
brightness values in the palette logic.
2008-09-29 09:23:22 +00:00
Aaron Giles
296347baab Plumbed machine parameters through the renderer. Removed need for
deprecat.h.

Changed render_texture_set_bitmap() to accept a palette object 
instead of a palette index. The renderer remains optimized for the 
system palette but will work if objects have their own palette as 
well.

Changed renderer to permit palettes for RGB and YUY textures. If
specified, these palettes specify a 32-entry (RGB15) or 256-entry
(others) lookup for applying additional brightness/contrast/gamma
on a per-texture basis.

Removed rescale notification. It never really worked that well and 
violated proper layering.

Renamed palette_set_brightness() to palette_set_pen_contrast() for 
clarity.

Changed palette objects to support global brightness/contrast/gamma
in addition to per-group and per-entry controls.
2008-09-29 08:02:58 +00:00
Aaron Giles
ef2fa89e44 Compile error fix. 2008-09-29 07:01:55 +00:00
Aaron Giles
ce7edb155d ldverify improvements:
- uses back-end decoding for CHDs directly to bitmaps
 - changed min/max detection to only check 0/255
 - fixed off-by-one bug in min/max computation
 - separated white code detection from frame number detection
 - track cadence with frame numbers as well as white codes
 - use vbiparse.h constants where appropriate
2008-09-29 02:26:20 +00:00
Couriersud
4021930758 Verified watchdog behaviour in schematics. 2008-09-28 18:08:43 +00:00
Andrew Gardner
889a589849 Fixes build with official dev tools. 2008-09-28 16:43:13 +00:00
Wilbert Pol
08e57e7e28 Converted the z80pio implementation into a device. 2008-09-28 15:32:18 +00:00
stephh
e8896b0416 Removed unneeded keys :
- UI_ON_SCREEN_DISPLAY (there is now a "Slider Controls" menu)
  - UI_ADD_CHEAT, UI_DELETE_CHEAT, UI_SAVE_CHEAT, UI_WATCH_VALUE, UI_EDIT_CHEAT, UI_RELOAD_CHEAT (these keys belonged to the old cheat engine)

A clean build is required and cfg/default.cfg has to be deleted !
2008-09-28 14:56:17 +00:00
stephh
490823b1aa Updated warpwarp.c driver :
- fix Mantis bug ID 02323 (this might not be the best way though).
  - reworked 'geebee', 'navarone' and 'warpwarp' INPUT_PORTS definitions by using conditional Dip Switches.
  - added 'geebeeb' INPUT_PORTS definition (this game has specific "Replay" settings).
2008-09-28 14:22:02 +00:00
Couriersud
197085900b 01090: invadpt2, sicv: Watchdog reset. 2008-09-28 12:07:27 +00:00
Couriersud
841649ee4c 02440: abcop, gprider1, rachero: abcop just shows a black flickering screen, rachero gives an error and crashes on exit 2008-09-28 11:03:24 +00:00
R. Belmont
a51c28697d Minor NSS/SNES cleanups [Fabio Priuli] 2008-09-28 01:13:07 +00:00
Aaron Giles
6c05b835a2 02442: -aviwrite produces faulty files 2008-09-27 22:48:52 +00:00
Aaron Giles
2a3301d0b9 Removed render_container_set_palette_alpha() hack. Now the alpha value
can be set directly in the palette entry and will be respected for
laserdisc overlays.
2008-09-27 22:05:30 +00:00
Couriersud
3959354577 02441: rdft22kc: rdft22kc just shows a black screen and fails to boot 2008-09-27 20:51:36 +00:00
Couriersud
e2e042dc14 02194: All Sets in othunder.c: Black screen, game does not start 2008-09-27 20:37:39 +00:00
Aaron Giles
9766dc2367 Changed MAKE_RGB macro to set the alpha to 255 instead of 0. Updated
palette.c to preserve the alpha when transforming palette values.
These changes should be transparent to almost all drivers and rendering
(ha-ha), but there may be an occasional instance where a driver relied
on the alpha being 0 in the system palette. This also means that the
palette_set_color() function preserves any alpha value that is set.

Changed Firefox to RGB32 to allow for mid-screen palette changes. Because
of the above change, the hacky alpha manipulation that was previously
required is no longer necessary; the alpha is set directly in the palette
entry.
2008-09-27 20:36:04 +00:00
Aaron Giles
c391ab646f 02410: -aviwrite: files over 2 gigs sometimes get cut off 2008-09-27 20:04:01 +00:00
Nicola Salmoria
9ff6c5bb96 added pen_mask tile attribute to the tilemap system.
implemented dynamic tile & sprite bit depth in the Taito F3 driver.
02024: pbobble3, pbobble4, ringrage and clones: Color Regression
2008-09-27 17:30:17 +00:00
davidhay
448984121f remove obsolete function in neocrypt.c 2008-09-26 21:12:43 +00:00
davidhay
c423c47d14 NeoGeo Update from Johnboy
(Guru, can you check that ms5pcb you have, the roms in MAME are now marked as NO DUMP)

Updated Neo-Geo game pcb infos
2020bba: Marked MVS and AES version
sonicwi2: Added correct sized v2
kof95 / kof95a:
	. Renamed kof95 to kof95h
	. Renamed p1 to correct chip label
	. Added note
	. Renamed kof95a to kof95
	. Renamed p1
samsho3 / samsho3a:
	. Renamed samsho3a to samsho3
	. Renamed samsho3 to samsho3h
	. Renamed p1 to correct chip label
	. Marked AES version
kof98 / kof98n:
	. Renamed m1 in kof98 to correct chip label
	. Renamed m1 in kof98n to correct chip label
	  (kof98n should be latest revision, cart had very high SN 1xx.xxx)
kof97: Marked MVS version
samsho5 / samsho5h:
	. Correct text layer size
	. Marked samsho5h AES version
neogeo:
	. Updated system set to what is found on NEO-MVH MV1FS
	. Added note
ms5pcb:
	. Hooked up bios dip
	. Renamed bios to correct chip label
	. Renamed p1 / p2 to correct chip label, marked NO_DUMP
	. Added note
2008-09-26 20:41:47 +00:00
davidhay
ef10dec73f para2dx rom should be good now. 2008-09-26 20:24:12 +00:00
Aaron Giles
229d598989 Cleanups and version bump. 2008-09-26 13:42:51 +00:00
Aaron Giles
6d7ed9b573 Reverted change 2915. 2008-09-26 13:31:31 +00:00
davidhay
d67de02bda getting there. 2008-09-26 08:10:28 +00:00
Couriersud
d9988a4f21 01187: gseeker: In attract mode, there is a priority error where a stealth bomber is coming out of a hanger. 2008-09-26 07:48:21 +00:00
davidhay
3e245f35a9 new game
--------

Paradise Deluxe 2 [Chris Hardy]

(redump of incorrect size roms pending)
2008-09-26 06:54:44 +00:00
Aaron Giles
8a78b0252d Hi,
compared to other emulator (i.e. kawak), mame does not perform very well in
terms of speed of emulation against Neo Geo games.

Looking at profiling data for these neo geo games, we can see :
---------------------------------------------------------
  %   cumulative   self              self     total
 time   seconds   seconds    calls   s/call   s/call  name
 18.40     18.80    18.80   971070     0.00     0.00  video_update_neogeo
 10.42     29.45    10.65     4416     0.00     0.00  texture_set_data
 10.06     39.73    10.28  1144463     0.00     0.00
sprite_line_timer_callback
  6.24     46.10     6.37 187970965     0.00     0.00  astring_cmpc
  3.77     49.95     3.85 35732143     0.00     0.00  memory_region
---------------------------------------------------------

I was wondering why functions like 'astring_cmpc' and 'memory_region' where
in the top 5 of the most time consuming functions.

The answer is found in the function 'draw_sprites' from
'mame/video/neogeo.c' where 'memory_region' is called for each sprites for
each VIDEO_UPDATE.
I patched mame in order to keep track of this 'memory_region'. This is done
in VIDEO_START via a global variable (region_zoomy) just like in some other
drivers.
2008-09-26 05:38:40 +00:00
Aaron Giles
decc35b5f2 From: Oliver Stoeneberg [mailto:oliverst@online.de]
Sent: Thursday, September 25, 2008 3:15 AM
To: submit@mamedev.org
Subject: using macros in UI message

This patch changes the message, that appears when no roms have been 
found, to use the macros instead of hard-coded strings
2008-09-26 05:32:29 +00:00
Aaron Giles
0f775dc84e From: Christophe Jaillet [mailto:christophe.jaillet@wanadoo.fr]
Sent: Wed 9/24/2008 2:00 PM
To: submit@mamedev.org
Subject: Speed up fillbitmap
Hi,

there are many places in mame which make use of "fill_bitmap" or the
equivalent "fillbitmap"

An optimisation is done when the depth of the bitmap is 16 or 32 bpp and
when the UINT16 or UINT32 corresponding to the color is composed of same
bytes (i.e 0xffff for example). This is usefull because most of the calls
are for color 0 (black).

In all other cases, the bitmap is filled one pixel at a time using a loop
with a code like :
================
    for (y = fill.min_y; y <= fill.max_y; y++)
    {
     UINT16 *destrow = BITMAP_ADDR16(dest, y, 0);
     for (x = fill.min_x; x <= fill.max_x; x++)
      destrow[x] = (UINT16)color;
    }

================


However, each rows of the final bitmap will be the same. So I modified this
simple assigned to work as follow :
    1) fill the first row one pixel at a time
    2) fill all the other rows by copying the first one.
This makes us use memcpy instead of a hard coded loop for most of the
filling process.
2008-09-26 05:31:34 +00:00
Aaron Giles
07d208cbbd From: Samuele Zannoli [mailto:samuele.zannoli@airmachine.it]
Sent: Tue 9/23/2008 1:16 PM
To: submit@mamedev.org
Subject: More naomi ...
Hi.

This patch shows the contents of the framebuffer if the 3d accelerator is
not used so that now the atomiswave logo and messages are shown (if you
wait enough).
Removes a maple bug (no more strange messages in cvs2gd).
Improves documentation of the communication registers with the dimm board.
And if DEBUG_VERTICES is defined as 1 the vertices sent to the tile
accelerator are collected and then drawn connected by a segment to give a
wireframe-like view of the scene.

Bye,
 Samuele Zannoli
2008-09-26 05:27:40 +00:00
Aaron Giles
3d65b57f77 From: Micko [mailto:mmicko@gmail.com]
Sent: Tuesday, September 23, 2008 4:46 AM
To: Aaron Giles
Subject: 8080 bug

To fix this bug : http://mametesters.org/mantis/view.php?id=2322
 
a part of my code should be removed.
 
It seams that this feature I have added is only available on KP580BM80A (Russian clone of this processor).
 
So until I make a new patch (that support this clone processor)  please apply this to fix MAME drivers.
 
Thanks,
Miodrag
2008-09-26 05:27:00 +00:00
Aaron Giles
390e9f007c From: abcd efgh [mailto:cix_999@yahoo.it]
Sent: Mon 9/22/2008 3:15 PM
To: submit@mamedev.org
Subject: Better Input clean in system1
I've re-made the job better than last time (i hope), clean up the inputs in system1, next time i'll fix all dips location.
Bye Sonikos.
2008-09-26 05:26:15 +00:00
Aaron Giles
0f3e79564d From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Sunday, September 21, 2008 10:45 AM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] More static qualifiers

Hi mamedev,

Another static function update from yours truly, almost entirely
affecting code added in the last few months to MAME.  The fixes are
the usual lot, changing enum definitions so they aren't declared,
decorating dead code/declarations with #if...#endif, and of course,
adding static where appropriate.  In addition, I fixed a bunch of
UNUSED_FUNCTON symbols to be spelled correctly (I didn't introduce
this).

~aa
2008-09-26 05:25:11 +00:00
Aaron Giles
844dca9402 -listroms knows about device-specific ROMs now. 2008-09-26 05:00:14 +00:00
Couriersud
f82a2aa779 Move memory_region calls into initialization routines. 2008-09-25 23:07:50 +00:00
davidhay
55f42eed2c copy + paste error in geebeeg romset? 2008-09-25 22:19:38 +00:00
Aaron Giles
4ef4716752 Changed indytemc to use the new BIOS stuff. 2008-09-25 16:28:57 +00:00
Aaron Giles
ed87d81e3d From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Sent: Thursday, September 18, 2008 6:01 AM
To: submit@mamedev.org
Subject: fix for MT 2252

1 line fix (silly mistake that I was sure I had fixed BEFORE sending the patch) :(

Regards,

    Fabio

---

From: Fabio Priuli [mailto:doge.fabio@gmail.com] 
Sent: Friday, September 19, 2008 1:15 AM
To: submit@mamedev.org
Subject: Fix for MT 2258

Regressed in 126u3 due to a wrong tag. Fixed.

   Fabio

---

enclosed please find a patch which makes non-static two pointers to i/o handlers and includes them in megadriv.h. This makes possible for external drivers (in particular MESS genesis emulation) to define elsewhere their own input handlers and to feed them to the megadriv.c routines.

---

From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Sent: Mon 9/22/2008 2:15 PM
To: submit@mamedev.org
Subject: fix for MT 2254
Hi,  

enclosed please find a patch which fixes bug 2254. Tags were switched. Thanks to Haze for noticing the root of the problem.

Regards,
    Fabio
2008-09-25 16:27:01 +00:00
Aaron Giles
9b72b5abc4 Added 22VP931 emulation, which is mostly working. Communication works
fine and basic searching/playback/skipping is functional. Still a bit
glitchy.

Firefox improvements:
 - removed need for deprecat.h
 - memory map is complete from schematics
 - gutted laserdisc hacks in favor of actual laserdisc implementation
 - fixed all CPU and sound clocks
 
Removed old laserdsc.c implementation.

Added generic timer devices, which simply allocate a timer but don't
prime it. This is the preferred method for allocating timers, and may 
eventually be the only mechanism for doing so in the future.
2008-09-25 16:21:35 +00:00
Wilbert Pol
e4dc04a323 rescale_notifier() changed to always allow rescaling for screenless drivers. 2008-09-25 10:02:46 +00:00
R. Belmont
45c7d1a094 System 23: fixed sound CPU shared RAM. comms not yet correct. 2008-09-25 03:26:41 +00:00
Couriersud
924e6acf54 Change timer_t to emu_timer * 2008-09-24 21:25:09 +00:00
Couriersud
2376fc84ad 02024: pbobble3, pbobble4, ringrage and clones: Color Regression
* set tile_bpp and sprite_bpp to 4. This reenables previous behaviour for theses games.
2008-09-24 20:23:31 +00:00
Couriersud
28173a071d leland ay8910/12 have all outputs tied together 2008-09-24 19:55:00 +00:00
Couriersud
df41a23888 02191: wseries, basebal2, dblplay, strkzone: Speech quality regression
* use a timer to update dacs per scanline
2008-09-24 19:54:03 +00:00
Aaron Giles
fad77cb08e Fixed AF calculation in mcs48. 2008-09-24 15:54:13 +00:00
R. Belmont
60fd22db00 Updates
System 23:
* Added Rapid River readme
* Adjusted Gorgon h/w MIPS clock to 133 MHz based on readme
* Renamed GP500 to 500GP, which is it's correct name

Game Cristal:
* Use correct BIOS [f205v]

Uploaded to roms/current/g.
2008-09-24 13:34:18 +00:00
R. Belmont
5564389ead Add alternate version of "GameCristal" MAME bootleg.
Includes mamedriv.c I missed with the System 23 checkin.

New games marked as GAME_NOT_WORKING
------------------------------------
GameCristal (version 2.613) [ANY, f205v]
2008-09-24 03:45:21 +00:00
R. Belmont
8e3cd1573d 65816/377xx: fix disassembly of BRL [ShimaPong] 2008-09-24 03:25:11 +00:00
R. Belmont
53bb5e5107 System 23 updates:
* Fixed text layer to show (colors are wrong)
* Added very preliminary support for Gorgon h/w
* Added Rapid River and an alternate Time Crisis 2

New games marked as GAME_NOT_WORKING
------------------------------------
Rapid River (RD3 Ver. C) [Guru, R. Belmont]
Time Crisis 2 (TSS2 Ver. B) [Guru]
2008-09-24 01:27:29 +00:00
Couriersud
a6624fbce7 Fixed typo and added explanation 2008-09-23 20:08:53 +00:00
davidhay
07a34e9cd3 New Games
---------

Chanbara [Tomasz Slanina, David Haywood]
2008-09-23 18:35:10 +00:00
smf-
bc3fdbecd7 removed sprite to tile priority, it doesn't exist. 2008-09-22 21:47:00 +00:00
Couriersud
42dc413890 02156: naughtyb: Wrong RESNET calculation of the green component.
* RGB circuit is driven by a 7407 open collector IC
2008-09-22 20:51:04 +00:00
Aaron Giles
990ef98b53 02280: any set with multiple CPUs: Disassembler freezes when doing a Run on any CPU other than CPU 0 2008-09-22 06:06:23 +00:00
R. Belmont
aca7c102f4 NB1/2: Fixed dips, added diplocations, used latest idioms. 2008-09-21 20:16:06 +00:00
R. Belmont
d0ee12bc4c NB1/NB2: fix default dips. IMPORTANT: you must delete all cfg and nv files for these games! 2008-09-21 16:17:27 +00:00
davidhay
0ccf1e16da reworked neogeo m1 decryption a little [Andreas Naive] 2008-09-20 21:58:34 +00:00
davidhay
acf1eb7cb8 fix some comments 2008-09-20 20:57:57 +00:00
davidhay
ff996589e3 fixed kf2k3pcb decrypt, the checksum (used to generate the key) must be calculated BEFORE the additional bitswap is applied. 2008-09-20 20:34:22 +00:00
davidhay
41e49963f0 the neogeo m1 key is actually generated from a checksum of the first 64kb of the m1 rom (confirmed on real hardware) [cyberwillis] 2008-09-20 20:26:29 +00:00
davidhay
df77920f75 typo 2008-09-20 12:00:00 +00:00
davidhay
3b6ebfba72 ms5pcb decryption is the same, rom was bad 2008-09-20 11:53:46 +00:00
Roberto Zandona
75c3ea62a7 removed unused variable 2008-09-20 09:59:41 +00:00
davidhay
9685c7cf7d decrypt ms5pcb m1 rom, it uses a different bitswap in one of the stages [Andreas Naive] 2008-09-20 07:31:33 +00:00
Andrew Gardner
49c8293fd9 Rewrite of the Motorola DSP56k disassembler. (Andrew Gardner)
(Same changelog as before - found another couple - not worth adding to whatsnew)
2008-09-19 02:49:18 +00:00
Andrew Gardner
66954044d1 Rewrite of the Motorola DSP56k disassembler. (Andrew Gardner)
* Fixes branch relative offset decoding.
2008-09-19 02:28:20 +00:00
Andrew Gardner
e5efb8a895 Rewrite of the Motorola DSP56k disassembler. (Andrew Gardner)
* Removes arbitrary opcode groupings in favor of flat decode model.
* Fixes a number of small issues with unknown opcodes.
* Added the final ALU parallel move ops.
2008-09-19 02:07:52 +00:00
Phil Bennett
b65671f81b Comment out a printf statement. 2008-09-18 23:08:28 +00:00
davidhay
6a3f53319a Correct NeoGeo M1 decryption for all CMC50 sets except ms5pcb [Andreas Naive]
I've ported Andreas' code over, it doesn't work for ms5pcb, there is probably an additional lineswap or something, I've asked him to look at it.  Some of the bootlegs are still using decrypted roms but that should be correct IMO.
2008-09-18 22:34:49 +00:00
Phil Bennett
49b0c4feb3 New games added or promoted from NOT_WORKING status:
TX-1 (Atari/Namco/Taito license) [Phil Bennett, Guru]
2008-09-18 21:36:17 +00:00
Brian Troha
d1a9e0d0ce Adds newest Naomi 2 BIOS 2008-09-18 21:06:16 +00:00
Aaron Giles
7f819dbfef Cleanups and version bump. 2008-09-18 16:17:42 +00:00
Aaron Giles
acc32658ac From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Sent: Thursday, September 18, 2008 6:01 AM
To: submit@mamedev.org
Subject: fix for MT 2252

1 line fix (silly mistake that I was sure I had fixed BEFORE sending the patch) :(

Regards,

    Fabio
2008-09-18 16:11:25 +00:00
Aaron Giles
5f597be8b1 From: Corrado Tomaselli [mailto:corrado.to@tiscali.it]
Sent: Wednesday, September 17, 2008 10:31 PM
To: submit@mamedev.org
Subject: Shadow Force clocks

Verified cpu clocks and corrected/verified OKI M6295 frequencies and pin

7 status. Updated Xtal.h file
2008-09-18 16:09:58 +00:00
Aaron Giles
c61b8ff249 From: Luigi30 [mailto:luigi30@gmail.com]
Sent: Wed 9/17/2008 10:00 AM
To: submit@mamedev.org
Subject: 40love.c fix
Fixes bug 2210

Actual fix from MASH
2008-09-18 16:09:09 +00:00
Aaron Giles
dad99e7107 From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Sat 9/13/2008 5:15 PM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] Make NBA Jam TE a set
Hi mamedev,

This patch treats NBA Jam TE versions as a set, rather than treating
them as clones of NBA Jam.  The treatment of sets varies throughout
MAME, this choice is emphasizing the fact that the games were distinct
from NBA Jam, with different marquees et cetera.

~aa
2008-09-18 16:07:12 +00:00
Aaron Giles
495d0c53ba Initially, this was to address adding the DIPs for the game, Birdie Try.
After adding these, I downloaded all manuals for the driver (couldn't find a
Boulder Dash manual) and I validated the DIPs with the manual and ensured that
the service mode (when available) matched up as well.  I also added DIP
LOCATIONS for all sets in the driver.  There were also a couple DIP items set
up in the source which did not show in the manuals I obtained - so I noted
these facts in the driver.

This .DIFF is based on 0.127u3 sources and resolves MAMETesters Bug #01897.

Tafoid
tafoid@yahoo.com
2008-09-18 16:03:03 +00:00
Aaron Giles
d4cfc65c9b I was checking the game CATAPULT and noticed this game, despite not working
due to bad roms had a fully working service mode.  I also noticed the DIP
locations were well documented on-screen and differed some from the ones in
source.  I took the time to read up on how to assign DIPs correctly - but I was
frustrated initially thinking I didn't understand it.  I spoke to ETABETA about
this and it seems I picked an uncommon game/driver which doesn't have normal
mapping locations (for whatever reason) and that I'd need to find out what each
value is actually doing.  As a result and some work and some more help - I was
able to understand how to do this and reworked the DIPs to what is output in the
service mode for all games (except for Revenger) which did not work enough at all.
While I was there, I added DIP LOCATIONS for all sets.  I would assume this
eventually benefit from a PORT_CUSTOM implementation.

This .DIFF is based on 0.127u3 sources.

Tafoid
tafoid@yahoo.com
2008-09-18 16:01:44 +00:00
Aaron Giles
2cb15a9047 From: Barry Harris [mailto:barry@barryharris.me.uk]
Sent: Monday, September 15, 2008 5:31 AM
To: submit@mamedev.org
Subject: Patch for new dumps

Hi,

I have attached a patch which adds support for the following;
* The "Three Wonders (Hack?)" dump from the EMMA dumping team (I'm not
100% sure of the CPS B-ID this should use)
* The "Marvel vs. Capcom (Euro 980123)" dump by bonky_0013 (this becomes
the parent set).

Regards,

Barry Harris
2008-09-18 16:00:41 +00:00
Aaron Giles
db3e968a6d CPU-internal regions now have priority again. Fixed mario by
installing a handler in the SOUND_START function.

02249: All Sets in zn.c: Game Hangs 
02248: All sets in m58.c: No sound in game 
02241: kncljoe, kncljoea: Missing AY-3-8910A sound effects. 
02240: All Sets in namcos12.c: Game Freeze 
02239: stunrun: No OKI6295 sound.
2008-09-18 15:54:25 +00:00
Aaron Giles
eab7222f92 Fix compile error. 2008-09-18 15:35:44 +00:00
Aaron Giles
1eb3c2d964 Changed requirements for laserdisc CHDs to require a new chunk of
metadata with pre-decoded frame information. Modified chdman to
automatically produce this for CHDs that are of the appropriate
parameters. To fix up existing CHDs, use chdman -fixavdata on the
CHD.

Modified the laserdisc core to leverage the pre-decoded frame
metadata, which is now required. This improves seek times when
searching and allows the player-specific emulation access to the
VBI data as soon as it would really be available. Changed update
callback timing to fire just before the first line of VBI data
would be read; at that point, the frame selection is assumed to
be committed. 

Converted PR-8210 emulation over to using the actual MCU from the
laserdisc player. This MCU controls low-level functions such as
slider position and laser on/off, and receives decoded vertical
blanking data in order to make decisions. Removed old HLE behavior.
Note that the overlay text is displayed via the UI; this is
temporary and will be fixed shortly.

Converted Simutrek-hacked laserdisc emulation to using the actual
MCU from the game, which in turn hands off commands to the PR-8210
MCU. This is still not 100% but is pretty close at this point and
achieves the correct behaviors in most cases.

Fixed Cube Quest overlay scaling to cover the whole screen.

Changed laserdisc video parameters to position the screen area at
the bottom rather than the top, since this corresponds more closely
to standard line numbering.

Extended the vbiparse code to support pack/unpack, and to more
fully document all the meanings of the VBI codes.

Updated ldplayer to support slow/fast forward movement, frame/chapter
display, and separate controls for scanning/stepping.

Added new built-in variable "frame" to the debugger.

Fixed device-based ROM loading to support loading ROMs from the
game's ZIP as well.
2008-09-18 15:17:42 +00:00
smf-
8e4ed69247 improved display, not sure if it's accurate. 2008-09-18 07:54:11 +00:00
Brian Troha
c6e60c5378 updated some rom names to correct labels. Actual rom dump will be verified against a New Jersey set in a week or so. 2008-09-17 21:30:09 +00:00
Curt Coder
b42e581368 [SG1000A] Fixed refresh rate and interrupts, added 8255PPI and coin counter. Fixes bug #02233, please credit Tafoid for that. 2008-09-16 18:35:16 +00:00
Roberto Fresca
ca5fa888aa Hotminda:
Full controls, plus complete DIP switches and port locations. Promoted to working.
This set has adjustable prize.


New clones added
----------------
Hot Mind (adjustable prize) [David Haywood, Roberto Fresca]
2008-09-16 07:12:19 +00:00
davidhay
4ee7a57a71 Jaleco 'Bomb's Away' Improvements [aDG4W+qp0] 2008-09-15 09:27:37 +00:00
Nicola Salmoria
0e24966dd1 adjust coinage dips 2008-09-15 08:24:22 +00:00
davidhay
e056f3782f replace vf4 keyfile with correct one. 2008-09-15 07:37:03 +00:00
Nicola Salmoria
8109e2a0e8 from 9IEM1smI0: fixed inputs in Main Event (SNK) based on the info in http://otoya.sheep-cloud.net/dipsw/ma-mo/mainevent.html 2008-09-15 05:23:37 +00:00
Nicola Salmoria
b1ae1a0d6c the coin inputs don't appear to be ACTIVE_HIGH after all.
02242: ikarijp, ikarijpb: Test screen now required to be cycled to enter game.
2008-09-15 04:52:23 +00:00
davidhay
5ac9465f70 added 'sderbya' set, it's actually a version of hotmind running on magic sticks / power balls hardware. I haven't mapped the inputs yet. 2008-09-15 00:12:50 +00:00
Phil Bennett
55805d22ce Added correct colour PROMS to arkatour [Dazzer] 2008-09-14 19:03:17 +00:00
Phil Bennett
6ff2372d8c Namco NA-2: Use real C70 BIOS. Removed sound and input simulation code. Changed the NA-1/2 MCU type to M37702. 2008-09-14 17:51:01 +00:00
smf-
75e68187dc preliminary firefox emulation. 2008-09-13 07:58:39 +00:00
Aaron Giles
fc453dc652 Fixed crash when hitting watchpoints on static handlers. 2008-09-13 06:36:29 +00:00
Roberto Fresca
0bf917467e Added lamps support + layout to magjoker and galaxi.
Magjoker has a good lamps sequence in the attract.
2008-09-12 23:56:09 +00:00
R. Belmont
c66c4d162e Namco NB-x: Use real C75 BIOS, read controls the real hardware way. 2008-09-12 21:15:18 +00:00
Andrew Gardner
22e84a0585 Part 12 of "The big IO_MAP merge of 2008". (Andrew Gardner) 2008-09-12 15:27:13 +00:00
Roberto Fresca
9f029c6956 Improvements to Funworld driver:
- Added new clone: Pool 10 (italian, set 4).
 - Improved lamps layout for all games.
 - Added Pool 10 pinout and DIP switches info.
 - Updated technical notes.


New clones added
----------------
Pool 10 (italian, set 4) [Roberto Fresca]
2008-09-12 03:33:45 +00:00
Phil Bennett
fe9541407a Added redump of indytemc.
[Dazzer]

There's sprite/playfield flipping issues, hence GAME_IMPERFECT_GRAPHICS...
2008-09-11 22:26:28 +00:00
Brian Troha
8048eb8422 Make "World" the default for Tengai (World) :-p 2008-09-11 21:47:56 +00:00
Brian Troha
1cbefbf928 New Clone added - Tengai (World)
True world set with World, USA & Canada, Korea, Hong Kong, or Taiwan

Minor clean up of port include dipswitch defs

New clones added
----------------
Tengai (World) [Jet Black / Tormod]
2008-09-11 21:43:59 +00:00
Tomasz Slanina
2575571021 Added 'Funny Land de Luxe' to adp driver.
Updated pcb info.

New games marked as GAME_NOT_WORKING
------------------------------------
Funny Land de Luxe [Tomasz Slanina]
2008-09-11 18:58:04 +00:00
Aaron Giles
aa2b6bd29a Cleanups and version bump. 2008-09-11 16:25:46 +00:00
Aaron Giles
ae2d1ed21a Ok, I submit. Maximum tag length is 15. Be good. 2008-09-11 16:04:35 +00:00
Aaron Giles
70e6d31c73 correct dip settings, verified in game and tested with -valid
http://mametesters.org/mantis/view.php?id=2198

Best regards

Mike
2008-09-11 15:58:37 +00:00
Aaron Giles
3d1dbafcc2 From: Oliver Stoeneberg [mailto:oliverst@online.de]
Subject: Machine -> machine

This is a big patch adding running_machine* parameters and using 
"machine" where available.
2008-09-11 15:57:52 +00:00
Aaron Giles
f67c8732b2 From: Christophe Jaillet [mailto:christophe.jaillet@wanadoo.fr]
Subject: Several patchlets

    ledutil.diff
- checking if memory is allocated before using it is good, freeing what
has
been allocated in the error path is better
2008-09-11 15:40:54 +00:00