Commit Graph

3935 Commits

Author SHA1 Message Date
smf-
2d7051b826 maps all games third cpu rom to 0x0000 so that mame doesn't log unmapped reads constantly. haze spotted this. 2008-12-28 15:51:46 +00:00
smf-
091c3814d8 A write isn't allowed to start if there is one in progress and a write isn't started if the data is already correct. This allows my dream horse to boot again. Further investigation is needed. 2008-12-28 15:33:50 +00:00
smf-
d0a5273861 Implemented GTE divider using reciprocal table derived by pSXAuthor, this should allow the results to be calculated as inaccurately as the real hardware. 2008-12-28 14:56:15 +00:00
Angelo Salese
c0eb642e6a Added some other Merit clone games from SoftwareThis dumps to the merit.c driver [David Haywood]
New clones added
----------------
Trivia ? Whiz (Horizontal) (question set 3) [David Haywood]
Trivia ? Whiz (Edition 2) (question set 2) [David Haywood]
Trivia ? Whiz (Edition 3 - Horizontal) (set 2) [David Haywood]
Trivia ? Whiz (Edition 4) (question set 2) [David Haywood]
Phraze Craze (set 2) [David Haywood]
2008-12-28 14:33:44 +00:00
Roberto Zandona
9abe952f90 jongkyo: added coin counter and a note to the port 4a (probably a palette bank selector) 2008-12-28 07:59:47 +00:00
Roberto Fresca
78f56c2415 Improved colors of New Lucky 8 Lines. [David Haywood] 2008-12-28 07:25:02 +00:00
Brian Troha
6ee8964007 New Clone: Thunder Cross II (World)
New clones added
----------------
Thunder Cross II (World) [Stefan Lindberg]
2008-12-28 00:37:08 +00:00
Roberto Zandona
35c777e068 New clones added
----------------
R-Type (world, bootleg) [mameitalia]
2008-12-27 07:46:44 +00:00
Roberto Fresca
ecbc085428 Improvements to New Lucky 8 Lines.
- Proper 3x PPI 8255 connections.
- Created a new AY8910 interface due to different ports addressing.
- Hooked all the input banks (8).
- Improved DIP switches with main game and D-UP rates, keyin values, D-UP game type (reels/cards) and other options to both sets.
- Added PORT_DIPLOCATION to all DSW banks.
- Promoted both sets to working state.

The game has 2 sets of controls. Once coined, both players can switch control through their own 'BIG' key.
If the game boots with 'Coin Jam' error, press RESET to normalize. Please delete your old .nv and .cfg files before run this update.


New games added or promoted from NOT_WORKING status
---------------------------------------------------
New Lucky 8 Lines (set 1) [Roberto Fresca]
New Lucky 8 Lines (set 2) [Roberto Fresca]
2008-12-27 07:37:16 +00:00
Roberto Fresca
ca1296732b Cherry I Gold:
- Completed the missing inputs.
- Mapped 4 of the 5 DIP switches banks. (can't find the 5th)
- Worked out the conditional DIPs.
- Documented all DIP switches bank.
- Added PORT_DIPLOCATION to all switches.

Cherry Bonus III (Version 1.40):

- Worked the remaining inputs.
- Mapped and documented all 5 DIP switches banks.
- Worked out the conditional DIPs.
- Added PORT_DIPLOCATION to all switches.

The game is working, but need a workaround for the status connection. Each time the player press 'Take' to get the credits, a "call attendant" msg appear and credits must be taken pressing 'Key Out'.
2008-12-27 04:02:22 +00:00
Phil Bennett
94e5061670 Fixed ddrago3p gfx ROM loading [Creamymami]
(This overrides SVN commit 3912)
2008-12-27 03:43:31 +00:00
Angelo Salese
99c20bffe9 Merged Mahjong Shiyou to the Royal Mahjong driver,graphics are improved because of that [Angelo Salese] 2008-12-27 00:43:50 +00:00
Angelo Salese
c9ea0052cc Added preliminary sound & colors to the Mahjong Shiyou driver,game now throws a sound error. [Angelo Salese] 2008-12-26 23:27:09 +00:00
Angelo Salese
ce490dc0c8 Added a (newer?) clone of Pit Boss to the merit.c driver [David Haywood]
New clones added
----------------
Pit Boss (Set 2) [David Haywood]
2008-12-26 22:24:10 +00:00
Roberto Fresca
db384a1afb Fixed Cherry Bonus III and Cherry Bonus III (Version 1.40) colors. 2008-12-26 22:12:31 +00:00
Angelo Salese
fe588b3099 (small correction to the added note) 2008-12-26 18:34:24 +00:00
Angelo Salese
a8cfa478b4 Added Barline to the nbmj8688.c driver,working with sound issues (caused by NMI trigger) [David Haywood,Angelo Salese]
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Barline [David Haywood,Angelo Salese]
2008-12-26 18:30:33 +00:00
Roberto Zandona
a677c4c5fc jongkyo: added some unknown ports 2008-12-26 18:19:46 +00:00
Phil Bennett
d62f15859f Fixed Top Landing ADPCM ROM loading. 2008-12-26 15:00:00 +00:00
Roberto Fresca
6501b7e5a8 Improvements to lucky8...
- Fixed memory map.
- Fixed NVRAM. (please delete the old .nv)
- Added sound through sn76496.
- Added 3x PPI 8255.
- Created basic inputs from the scratch to match the PPI connections.
- Defined the output port.
- Change description to "New Lucky 8 Lines"
- Change manufacturer to Wing Co.Ltd.
- Added an alternate set.

New clones added
----------------
New Lucky 8 Lines (set 2) [Roberto Fresca]
2008-12-26 14:46:11 +00:00
Phil Bennett
9655d61dec Fixed crash when mouse-clicking without a valid mouse_target set (typically after startup when no mouse movement events have occurred). 2008-12-26 14:01:14 +00:00
Roberto Fresca
4e65aa95f4 Correctly setup the MC6845 device in the Calomega driver.
Added common device interface.

Updated notes.
2008-12-26 13:14:44 +00:00
Roberto Fresca
f5da988c76 Correctly setup the MC6845 device in the Goldnpkr driver.
Added common device interface, merged witchcrd and sloco93 machine drivers, and added/corrected the 50/60 Hz. DIP switches to all games. The 50hz mode needs to be corrected. Some games as most bsuerte sets have the 50/60 Hz. DIP switch connection patched.
2008-12-26 12:31:11 +00:00
Phil Bennett
7827134d61 A couple of sound-related fixes but still no speech :( 2008-12-26 11:08:13 +00:00
Roberto Fresca
2f93f0042f Correctly setup the MC6845 device in the Funworld driver.
Added common device interface and eliminated the screen size & visible area parameters to Magic Card 2.
2008-12-26 10:54:19 +00:00
Luca Elia
2938c6018d Corrected title for ddenlvrk, ddenlovb.
(from Justin Kerk)
2008-12-26 10:25:40 +00:00
Aaron Giles
ee9f02668c 02758: linking ldplayer fails
Cleaned up mcs48 to be dependent on a single makefile define, rather than
separate defines for each CPU which didn't really buy us anything in terms
of code size or performance.
2008-12-26 07:31:44 +00:00
Aaron Giles
2a4df134e0 02765: all naomi.c sets: Assertion 2008-12-26 07:16:09 +00:00
Aaron Giles
097e05dcb0 Minor tweak to previous fix. 2008-12-26 06:55:07 +00:00
Aaron Giles
c891803a8c From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Wednesday, December 24, 2008 2:49 PM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] Fix 02764: liberatb: [debug] Access Violation

Hi mamedev,

This fixes 02764.  When all the CPUs got tags in 0126u2, this driver
ended up removing it's own cpu(!), causing this crash in debug and
similar unhappiness in non-debug.

~aa
2008-12-26 06:53:41 +00:00
Aaron Giles
750d52e090 From: Smitdogg Jones [mailto:jcsmith23@yahoo.com]
Sent: Wednesday, December 24, 2008 11:09 AM
To: submit@mamedev.org
Subject: Gururin redump...

This diff replaces the bad (likely hacked) Gururin dump with one Guru did yesterday from my cart and I fixed some rom names in Double Axle according to the pcb. Here's the changed roms:

http://smitdogg.mameworld.info/random/g.zip

Smitdogg
2008-12-26 06:52:20 +00:00
Aaron Giles
b7110e6214 DownTown / Mokugeki (Joystick Hack) [Corrado Tomaselli] 2008-12-26 06:50:52 +00:00
Aaron Giles
1df287a875 * chinagat.diff:
- converted driver to be fully scanlines based using timers
 - hooked up interrupts
 - updated driver to new video screen raw parameters (based on ddragon.c driver)
2008-12-26 06:49:30 +00:00
Aaron Giles
27af046497 Adds the other set of Jan Oh to royalmah.c [David Haywood]
(roms/current/j/janoha.zip)
2008-12-26 06:47:24 +00:00
Aaron Giles
cafa7fc102 From: Mamesick [mailto:mamesick@libero.it]
Sent: Tuesday, December 23, 2008 7:49 AM
To: submit@mamedev.org
Subject: Submissions

* ddragon.diff:
- converted scanline timer to be a device
- corrected M6809 CPU frequencies, they are supposed to be internally divided by 4 but
  there's no internal divider in the core

* gstream.diff:
- improved oki banking (educated guesswork, see notes in the driver)
- replaced CPU_EAT_CYCLES hack with CPU_SPINUNTIL_INT because the first cause the video
  completely out of sync with audio. I think the game is really so slow on the PCB too

* vball.diff:
- converted driver to be fully scanlines based using timers
- hooked up interrupts
- updated driver to new video screen raw parameters (based on ddragon.c driver)

* xain.diff:
- converted driver to be fully scanlines based using timers
- fixed ID 02742
- updated driver to new video screen raw parameters (based on ddragon.c driver)
2008-12-26 06:46:32 +00:00
Aaron Giles
4ed7452ceb From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Monday, December 22, 2008 8:04 AM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] Update sound core header files

Hi mamedev,

This patch updates all the sound core header files to declare their
SND_GET_INFO functions, which will be needed once the sound cores
become proper devices.  It also makes a handful of other header
declaration fixes in emu/sound, and makes one SND_RESET routine
static.  Note: votrax.h is a new include file altogether.

~aa
2008-12-26 06:40:58 +00:00
Aaron Giles
6a32a2c7c4 New clone: Vamf x1/2 (Europe) [Smitdogg] 2008-12-26 06:39:49 +00:00
Aaron Giles
70f3194097 02770: aceattac: Interger Overflow
Cleaned up cycle handling in the 68k core.
2008-12-26 06:37:19 +00:00
Phil Bennett
3857af378a Fix 01437: hardhead: MAME has the clock frequency of the YM3812 wrong. 2008-12-25 22:56:54 +00:00
Phil Bennett
1a57936bac Fix 02772: hanayara: [debug] Access Violation 2008-12-25 21:53:43 +00:00
Phil Bennett
60d2d46820 02186: vliner, vlinero: Typo of manufacturer. 2008-12-25 17:16:12 +00:00
Luca Elia
c2afcb65b6 Adds jongtei and corrects name for showhanc.
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Mahjong Jong-Tei [Luca Elia]
2008-12-25 15:26:14 +00:00
Phil Bennett
d984fa551b Correctly setup the MC6845 device in the carrera driver. 2008-12-25 09:58:00 +00:00
Phil Bennett
ffdc537488 Correctly setup the MC6845 device in the coinmstr driver. 2008-12-25 09:51:14 +00:00
Andrew Gardner
e7ec9c0df6 Adds extremely preliminary i860 disassembler and hooks it up to the vcombat driver. [Jason Eckhardt, Andrew Gardner]
(We're not even decoding args yet, but it's on its way).
2008-12-25 03:03:30 +00:00
Angelo Salese
d02bbcbfb6 Added proper inputs to Jongkyo [Angelo Salese] 2008-12-25 01:49:39 +00:00
Aaron Giles
7cb99192f0 02747: Compile error on openSUSE 11.1 / gcc 4.3.2 with OPTIMIZE=3
Appease the compiler. There is no actual bug here, but it is tricky for the
compiler to understand that.
2008-12-25 01:39:55 +00:00
Phil Bennett
8dc7a57d54 Correctly setup the MC6845 device in the usgames driver. 2008-12-25 00:12:54 +00:00
Phil Bennett
f7484cda13 Fix 02763: some leland.c sets: Access Violation 2008-12-24 23:40:38 +00:00
Phil Bennett
2d981a3be7 Correctly setup the MC6845 device in the rockola driver. 2008-12-24 22:35:48 +00:00
Phil Bennett
6497510da6 Fix 02766: topgunnr: Hangs
Corrected cpu_attomtime_to_clocks() calculation.
2008-12-24 21:40:36 +00:00
Luca Elia
185ba3c941 Log:
Adds some clones.

Adds Cafe break as not-working (it needs the internal CPU rom dumped).

Also added the (commented out) rom loader for the new "Dai Dai Kakumei" dump,
that only differs in rom sizes.

New clones added
----------------
Show Hand (China) [Luca Elia]
Don Den Lover Vol. 1 (Korea) [Luca Elia]

New games marked as GAME_NOT_WORKING
------------------------------------
Mahjong Cafe Break [Guru]
2008-12-24 21:17:38 +00:00
Wilbert Pol
ebf81feae7 Update to a bit of MESS-only code. 2008-12-24 20:00:55 +00:00
Wilbert Pol
4e980dcba7 Updates to some MESS-only code. 2008-12-24 19:06:07 +00:00
Aaron Giles
aa161c426b Converted 68000 to state tables. 2008-12-24 09:11:03 +00:00
Aaron Giles
9a37bb9e6b Put some logging behind a compile-time define (disabled). 2008-12-24 08:16:30 +00:00
Wilbert Pol
b6f61fbd07 Cleaned up the sid interface. 2008-12-23 23:00:26 +00:00
Angelo Salese
3914152d3e Preliminary Night Gal driver,not yet working for comms issues [David Haywood,Angelo Salese]
New games marked as GAME_NOT_WORKING
------------------------------------
Night Bunny / Royal Night [David Haywood,Angelo Salese]
Night Gal [David Haywood,Angelo Salese]
Night Gal Summer [David Haywood,Angelo Salese]
Sexy Gal / Sweet Gal [David Haywood,Angelo Salese]
2008-12-23 21:09:34 +00:00
Phil Bennett
c24e437028 Fix 02761: cntrygrl: [debug] Access Violation 2008-12-23 20:57:59 +00:00
Wilbert Pol
f4530bf179 Added f3853 to src/emu/emu.mak 2008-12-23 20:24:13 +00:00
Phil Bennett
c1af00f64b Fix 02762: galkaika, galkoku, hyouban, mcontest, tokimbsj, tokyogal, uchuua: Access Violation 2008-12-23 20:24:01 +00:00
Wilbert Pol
da128743fb Changed the F3853 implementation into a device. 2008-12-23 20:14:57 +00:00
Phil Bennett
8fc4c36454 Minor adjustments. 2008-12-23 13:17:51 +00:00
Roberto Zandona
c928004eda Updated wc90b2 to use newly-dumped roms 2008-12-23 06:26:12 +00:00
Andrew Gardner
f32ca9b1c6 Fixed the palette in Virtual Combat. [Jason Eckhardt, Andrew Gardner]
(It's using a RAMDAC like the ones in the artmagic driver)
2008-12-23 00:49:14 +00:00
Brian Troha
f7b6ea4b77 additional info from the Guru on the CPU 2008-12-22 22:02:25 +00:00
Aaron Giles
e6bbeeceaa Perfect synchronization for thunderj, which has always been iffy.
Removed synchronization hacks.
2008-12-22 21:57:18 +00:00
Aaron Giles
70f56a133e Turned on perfect interleave for remaining tnzs games, and for qix
hardware games.
2008-12-22 21:48:22 +00:00
Brian Troha
687a760b7f add correctly ID'ed CPU 2008-12-22 21:34:19 +00:00
Andrew Gardner
c253ae863b Virtual Combat memory map updates. [Jason Eckhardt, Andrew Gardner]
(You can see a mirrored test menu with a few ROM patches now)

(The i860 code has been found and has been deemed "dead simple" by the guy who wrote the unix binutils i860 disassembler, Jason Eckhardt.  He also wrote an i860 cpu core in the past and has donated parts of it to MAME.  If he weren't finishing up his phd thesis in 2 months, i'd say he'd have finished this driver by now himself :) )
2008-12-22 21:10:06 +00:00
Phil Bennett
ac0a9ecfc8 Fixed incorrect ddragonp ROM loading. 2008-12-22 17:40:11 +00:00
Aaron Giles
a70fdf00a1 CPU interface organization shuffle. The file cpuintrf.h now merely
describes the interface, but does not contain any implementation.
All remaining bits of implementation have been migrated either to
cpuexec.c or to debugcpu.c. Specifically, cpu_dasm() is now
debug_cpu_disassemble(), and cpu_set_dasm_override() is now
debug_cpu_set_dasm_override(). Also moved memory_address_physical()
to debug_cpu_translate(), since it was only ever used for
debugging.

Changed all CPU and sound cores to use memory_find_address_space()
instead of cpu_get_address_space(). The former is reliable even
during early initialization when the CPU cores generally need it.

Removed the dummy CPU core and cpuintrf.c.

Changed the core execution loop to directly call the execute
function instead of using the inline helper (which has been removed).
2008-12-22 17:35:27 +00:00
Roberto Fresca
b4c9d1fc87 Added another set of Space Echo.
The program ROM has only 3 bytes of difference at offset 0x008b.

Spacecho:    0x008b:  call $2929 ; cd 29 29

Spacech2:    0x008b:  im 1       ; ed 56
             0x008d:  nop        ; 00

So... spacech2 is avoiding to enter the sub at $2929.


New clones added
----------------
Space Echo (set 2) [Roberto Fresca]
2008-12-22 17:04:26 +00:00
Phil Bennett
9f76d751c0 New games added or promoted from NOT_WORKING status
---------------------------------------------------
Turbo Sub (prototype rev. TSCA) [Phil Bennett]
Turbo Sub (prototype rev. TSC6) [Phil Bennett]
2008-12-22 13:19:01 +00:00
Aaron Giles
bf20e586d1 Significantly optimized the inner execution loop. arknoid2 is ~2.5x
faster with maximum interleave now.
2008-12-22 10:28:20 +00:00
Aaron Giles
6c4013134f Fixed validity checks for MC6845. 2008-12-22 05:38:43 +00:00
Roberto Fresca
a2081bb2b1 Improvements to goldstar.c driver.
- Hooked the 3x PPI 8255 devices to chryigld and ncb3.
- Reworked the chryigld and ncb3 inputs based on PPI 8255 connections.
- Added the unmapped PSG sound to chryigld and ncb3.
- Some works on their machine driver.
- Some cleanups.


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Cherry I Gold (bootleg of Golden Star) [Roberto Fresca]


New games marked as GAME_NOT_WORKING
------------------------------------
Cherry Master I (v1.01) [Roberto Fresca, David Haywood]
2008-12-22 04:51:23 +00:00
Andrew Gardner
2485660bfd Fixes 'run to cursor' and 'toggle breakpoint' operations in the win32 debugger. [Andrew Gardner]
(It was doing a double-shift for CPUs with a address shift)
(The bpset command seems to occasionally behave oddly for cpus with address shifts as well.  Didn't figure that problem out in the few minutes i looked at it.)
2008-12-22 04:51:20 +00:00
Aaron Giles
6be42cb850 Missed a file. 2008-12-22 04:02:57 +00:00
Aaron Giles
c0ca96b075 Cleanups and version bump. 2008-12-22 04:01:51 +00:00
Aaron Giles
54424acf76 Skeleton driver for Eagle's "Janshi" (missing internal 0-3fff z(1)80 rom
code apparently) [David Haywood]

New games marked as GAME_NOT_WORKING
------------------------------------
Janshi [David Haywood]
2008-12-22 03:36:28 +00:00
Aaron Giles
64c7591175 From: Oliver Stoeneberg [mailto:oliverst@online.de]
Sent: Sunday, December 21, 2008 3:28 AM
To: submit@mamedev.org
Subject: minor stuff

Hi,

just a small one:
- adds a ATTR_PRINTF in inptport.c
- removes an unnecessary memset in emu/sound/rf5c68.c

So long
Oliver
2008-12-22 03:34:54 +00:00
Aaron Giles
b86e015e32 Preliminary driver for Taito's "Parent Jack" [David Haywood]
New games marked as GAME_NOT_WORKING
------------------------------------
Parent Jack [David Haywood]
2008-12-22 03:34:01 +00:00
Aaron Giles
8213a7af4f Rewrote 8080/8085 interrupt handling so that it makes sense.
Changed 8080/8085 callbacks to be specified in a config structure.
Converted 8080/8085 core to cpu_state_table.
Changed to a single HAS_808X define for both cores.
Fixed several drivers that used interrupts in odd ways.
Converted warpwarp driver to raw video parameters.
2008-12-22 03:18:03 +00:00
Angelo Salese
9f29926c2f Wrote a driver for Casino Winner,working with sound [Chris Hardy,David Haywood,Angelo Salese]
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Casino Winner [Chris Hardy,Angelo Salese]
2008-12-22 00:17:44 +00:00
Roberto Fresca
421f6842fd Improvements to the skylncr.c driver. [Roberto Fresca, David Haywood]
- Complete reel support from the scratch.
- Full inputs, outputs & DIP switches from the scratch.
- Added new games.
- Updated technical and game notes.


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Sky Lancer (Bordun, ver.U450C) [Roberto Fresca, David Haywood]
Butterfly Video Game (ver.U350C) [Roberto Fresca, David Haywood]
Mad Zoo (ver.U450C) [Roberto Fresca, David Haywood]


New games marked as GAME_NOT_WORKING
------------------------------------
Leader [Roberto Fresca, David Haywood]
2008-12-21 23:18:28 +00:00
Andrew Gardner
44a99ed738 Rewrite of the Motorola DSP56k CPU core. (Andrew Gardner)
* Fixed flag calculation and sign extension for numerous ops.
* Added rnd, mpysuuu, and dmac ops.
* Fixed do loop behavior to skip empty loops.
* Added stack underflow exception handling.
2008-12-21 19:07:44 +00:00
Phil Bennett
6bd48dad88 02757: sengoku3: manufacturer should be "Noise Factory / SNK" 2008-12-21 17:31:22 +00:00
Phil Bennett
432ac09596 New clones added
----------------
Double Dragon 3 - The Rosetta Stone (prototype) [Guru]
2008-12-21 17:14:08 +00:00
Roberto Fresca
c8b595039b Improvements to the dmndrby.c driver.
Please credit Mike Green.
2008-12-21 11:02:39 +00:00
smf-
1f25d3f935 fixed access violation caused by passing a NULL pointer into the dma finished code. 2008-12-21 09:52:56 +00:00
Andrew Gardner
c17377e8a9 Fixed update_handler for the dsp56k and polygonet. [Andrew Gardner]
(The driver more or less works again.  And holy moly is this thing fast with my crazy interleave values!)
2008-12-21 08:21:34 +00:00
Aaron Giles
f5ca4e1d0e From: David VanVoorhis [mailto:iq_132@hotmail.com]
Sent: Saturday, December 20, 2008 7:43 AM
To: submit@mamedev.org
Subject: Agress Fix

Here's a fix for Agress' title screen

Link if the attachment doesn't work. :)
2008-12-21 07:57:00 +00:00
Aaron Giles
825cfee6a8 From Mamesick:
* ddragon3.diff
- converted driver to be fully scanlines based using timers
- hooked up interrupts
- updated driver to new video screen raw parameters

* shadfrce.diff
- converted driver to be fully scanlines based using timers
- implemented raster interrupt timer in the main routine
- updated driver to new video screen raw parameters

* wwfsstar.diff
- converted driver to be fully scanlines based using timers
- updated driver to new video screen raw parameters

* wwfwfest.diff
- converted driver to be fully scanlines based using timers
- hooked up interrupts
- updated driver to new video screen raw parameters
2008-12-21 07:53:28 +00:00
Roberto Fresca
41ef03afbb Merged goldstar and lucky8 drivers. [David Haywood] 2008-12-21 07:26:49 +00:00
Aaron Giles
181f77e83a Fixes the reel emulation on IGS-009 driver [David Haywood]
New games marked as GAME_NOT_WORKING
------------------------------------
Grand Prix 98 [David Haywood]
2008-12-21 03:14:44 +00:00
Aaron Giles
c8ef4d72d0 From: Lei Wu [lanewu@hotmail.com]
Sent: Monday, December 15, 2008 1:27 PM
To: submit@mamedev.org
Subject: sfz2aad->sfz2ald
2008-12-21 03:12:36 +00:00
Aaron Giles
668647d2eb Fixed some color issues in the goldstar.c driver [David Haywood] 2008-12-21 03:11:20 +00:00
Aaron Giles
c93da768c5 Additional notes from hap. 2008-12-21 03:10:10 +00:00
Aaron Giles
dc63238265 From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Friday, December 19, 2008 8:50 PM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] Add machine/space to some callbacks

Hi mamedev,

This patch widens some machine callbacks to include an object (either
machine or space).  I didn't convert these earlier since MAME didn't
explicitly need them, but some of these will be needed by MESS now
that Machine is gone and in general all callbacks need to pass an
object.

~aa
2008-12-21 03:07:52 +00:00
Aaron Giles
d617d4369d Minor code simplification. 2008-12-21 00:41:10 +00:00
Aaron Giles
5279595eee Removed MDRV_INTERLEAVE(x), which specified the minimum scheduling
quantum in terms of "frames" (a dubious concept now with multiple
screens and changing refresh rates). Replaced it with a new
MDRV_QUANTUM_TIME(x) which specifies the minimum scheduling quantum
as a time value. Time can be specified as HZ(x), NSEC(x), USEC(x),
etc. Updated all drivers to use this, assuming 60 was the frame
rate (this is not perfect but should work for almost all cases).

Changed MDRV_WATCHDOG_INIT_TIME(x) to automatically prepend
UINT64_ATTOTIME_IN_ to the parameter, ensuring there is no
improper use of this macro and bringing it in line with the
MDRV_QUANTUM_TIME() macro. Updated all callers.

Added new MDRV_QUANTUM_PERFECT_CPU(x) to specify that the minimum
quantum should be enough to ensure that the specified CPU tag
only ever executes a single instruction at a time. This can be
used to explicitly require "perfect" synchronization for drivers
that have multiple CPUs with shared memory. Turned this on for
the arknoid2 driver for now as a test (the interleave on that
driver was already very close to perfect anyway).
2008-12-20 21:17:53 +00:00
Wilbert Pol
0b6b3886cc Added running_machine parameter to the callback in the sid interface. 2008-12-20 20:00:25 +00:00
Angelo Salese
ac26377859 Added Three Ds to the Pastel Gal driver [David Haywood,Angelo Salese]
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Three Ds - Three Dealers Casino House [David Haywood,Angelo Salese]
2008-12-20 19:13:57 +00:00
Wilbert Pol
8850e49309 Added running_machine parameters to the f3853 callbacks. 2008-12-20 19:10:31 +00:00
Roberto Zandona
20cc01ef5f sscope2: used new dumped roms 2008-12-20 18:18:47 +00:00
Nathan Woods
c9c8b50669 Added running_machine callbacks for the Amiga code 2008-12-20 17:54:15 +00:00
Angelo Salese
b501c8dd73 (Oh snap,forgot to add the driver)... 2008-12-20 16:44:48 +00:00
Angelo Salese
59c1045ffa Wrote a driver for 4nin-uchi Mahjong Jantotsu,working with some issues [David Haywood,Angelo Salese]
New games added or promoted from NOT_WORKING status
---------------------------------------------------
4nin-uchi Mahjong Jantotsu [David Haywood,Angelo Salese]

(and commented out a printf line in Jangou HW.)
2008-12-20 16:42:59 +00:00
Angelo Salese
c3673f5aa1 Added Country Girl to the Jangou driver,working with sound [David Haywood,Angelo Salese]
- Fixed transparency pens in the Jangou driver (so removed the GAME_IMPERFECT_GRAPHICS flag); [Angelo Salese]
- Added a kludge for Jangou Lady RNG,will be worked on in the future; [Angelo Salese]

New games added or promoted from NOT_WORKING status
---------------------------------------------------
Country Girl [David Haywood,Angelo Salese]
2008-12-20 16:28:18 +00:00
Roberto Zandona
fd26606354 removed unused variable "result" 2008-12-20 13:18:09 +00:00
Roberto Zandona
dcc258f634 added pal in arkgcbl 2008-12-20 12:53:47 +00:00
Aaron Giles
f32fa3b2e6 02745: all sets using autosave: Games using autosave segfault on startup 2008-12-20 07:39:19 +00:00
Aaron Giles
446f13607f Memory view fixes:
* Fixed bug that computed the wrong total size if the address
  space was a full 32 bits
* Improved display to show unmapped memory with *s
* Disabled enumeration of disk and 0-length regions
2008-12-20 07:25:39 +00:00
Aaron Giles
9be5d30f20 More cleanup. Added address-space-specific constants for the various
bus width and shift CPU interface constants. Changed all the cores
to use them.

Minor spacing cleanup in Z80, Z180, TMS34010, ADSP21xx cores.

Changed ADSP21xx cores to accept a configuration struct instead of
using set_info to specify serial port callbacks. Simplified the
ADSP21xx get/set info significantly. Removed support for only
including certain variants of the chips; they are now either all
supported or all unsupported.
2008-12-20 02:57:13 +00:00
Aaron Giles
bc33516388 Oops, missed this file. 2008-12-20 00:06:49 +00:00
Aaron Giles
165be1ee47 Z180 uses new cpu_state_table 2008-12-19 23:04:42 +00:00
Aaron Giles
63a6f364f8 Fixed registers view to only show those entries valid for the
CPU type.
2008-12-19 22:34:19 +00:00
Aaron Giles
d2d5def542 Oops, swapped import/export on the R register. 2008-12-19 22:29:14 +00:00
Aaron Giles
320097d9fe Renamed CPUINFO_PTR_* to CPUINFO_FCT_* for function get infos.
Changed Z80 over to the new cpu_state_table mechanism.
2008-12-19 22:26:25 +00:00
Aaron Giles
f36fc8641e This update is the below two patches, plus the remaining changes
necessary to remove 12 of the final 14 references to the global
Machine. The remaining 2 are in fatalerror() and logerror(), which
are both local to mame.c, so Machine is now fully static.

--

From: Atari Ace [mailto:atari_ace@verizon.net] 
Sent: Thursday, December 18, 2008 5:47 PM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] Make Machine static followup

Hi mamedev,

This incremental patch to my last patch undoes the change that caches
the ppu2c0x videorom.  I changed the code back to how it behaved
originally, using an existing machine on the chip struct to eliminate
the one troublesome Machine reference.

~aa

--

From: Atari Ace [mailto:atari_ace@verizon.net] 
Sent: Thursday, December 18, 2008 2:54 PM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] Make Machine static!

Hi mamedev,

This large patch completes the removal of the use of Machine
throughout MAME.  It does so primarily by adding machine, device or
space to various apis and modifying the callers, but for some
remaining cases it adds a new api, mame_get_running_machine(), which
will be called instead.  There are only 14 uses of this api currently,
and that number should drop over time.

There are a few changes of note:
1.  6821pia.c.  I attached machine to the 'device' structure.  I'm
working on converting this to a proper device, but that change isn't
ready.
2.  fddebug.c.  I added a proper header so that the apis won't get
accidentally converted to static again.
3.  scsi.c.  I added a machine to SCSIInstance.
4.  system16.c.  I modified sys16_patch_code to take an array of
patches.
4.  custom.h.  I added the owning sound device to the reset/stop
routines as well as the token.  Note that passing only the device
would require exposing the internals of custom_sound, as the token
passed is not the device token, but the token returned from the
CUSTOM_START routine.  Better ideas here are welcome.
4.  ppc2c0x.c.  To avoid changing more interfaces, the init routine
saves the videorom location rather than looks it up each time.

I tried to choose what I felt was the natural parameter for an api,
rather than always pass machine, but in some cases I used machine to
limit the number of additional changes.  Some additional cleanup here
is probably warranted, I'll look into that later once I'm recovered
from this two-week project.

~aa
2008-12-19 19:40:22 +00:00
Aaron Giles
42c9aeff39 Cleaned up device and sound interfaces to match the CPU
interfaces when handling strings. Namely, the generic
get_info functions allocate a temporary string and the
device in question copies its string to the target,
instead of assigning a const char *. Updated all device
and sound cores to operate this way.

Added the concept of a cpu_state_table, which is
supplied by the CPU cores and which describes all the
register state accessible to the debugger and other
subsystems. The format of the table is such that most
data can be simply fetched from memory without the
further involvement of the CPU core, including the 
display of common formats. Extensibility points are
available for custom display and for importing/exporting
the data to intermediate variables for more complicated
scenarios. Updated the ADSP21xx, TMS340x0, and i86 cores
to use this.

Removed the old debugger register list, which was never
used. Replaced it with using ordering from the
cpu_state_table.

Renamed REG_PC -> REG_GENPC, REG_SP -> REG_GENSP, and
REG_PREVIOUSPC -> REG_GENPCBASE. Updated a few spots
that were using these directly. Moved these definitions
into the end of the register area rather than leaving
them outside which put them in a weird range.
2008-12-19 06:46:17 +00:00
Andrew Gardner
3fdd1d460a Decoded some graphics and setup some RAM in the Virtual Combat driver. [Andrew Gardner] 2008-12-19 03:59:48 +00:00
Roberto Zandona
a382407df8 fixed proms in boobhack 2008-12-18 22:40:04 +00:00
Wilbert Pol
4830ff3e28 Some PIC8259 updates:
- Fixed operation of edge-triggered interrupts
- INT output line is now cleared when an IRQ is acknowledged
- Implemented basic OCW3 features
2008-12-18 20:23:45 +00:00
Aaron Giles
72b283a0d1 Removed index and clock parameters from CPU_INIT function. 2008-12-18 10:11:10 +00:00
Aaron Giles
aa7e2482e2 CPU header cleanups....
i86/i286/i386/nec/v30mz:
 * renamed i86.h -> i86priv.h
 * renamed i86intrf.h -> i86.h
 * consolidated i88intrf.h, i186intf.h, i188intf.h, etc into i86.h

m6805:
 * moved memory read/write macros out of public header

m37710:
 * moved memory read/write macros out of public header

spc700:
 * moved many structs/functions/macros out of public header

tms32010:
 * moved memory read/write macros out of public header

sm8500:
 * pointer-ified the core (apparently never had get/set context!)

g65816:
 * moved memory read/write macros out of public header

pic16c5x:
 * moved memory read/write macros out of public header

t11:
 * moved memory read/write macros out of public header
2008-12-18 09:38:12 +00:00
Aaron Giles
785b6a50c6 From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Wednesday, December 17, 2008 9:03 PM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] STREAM_UPDATE update

Hi mamedev,

This patch modifies the parameters of the stream_update_func callback.
The first two patches go through and changes all the callbacks to use
a consistent set of parameters (the larger patch was mechanically
generated, the smaller second patch are hand edits where review or
compilation showed issues with the automatic conversion).  The third
patch then macroizes all the callbacks to STREAM_UPDATE, and was done
mechanically except for the change to streams.h.  The fourth patch
then adds device to the callback, and eliminates Machine in a handful
of callbacks by referencing the device.  deprecat.h -= 8.

~aa
2008-12-18 08:32:50 +00:00
Aaron Giles
cf9fc58618 Made the concept of a "clock" native to devices. The clock is now
specified when the device is added, and the clock is available in
the device_config directly via device->clock. Updated all devices
that have a clock to specify it when adding the device, rather than
as part of their configuration. As part of this work, also created
device-specific _ADD and _REMOVE macros to simplify configuration.

Dfined a generic device execute function callback, though it
is not used yet. The long term plan is that any device with an 
execute callback will be scheduled along with the CPUs. Now that
CPUs are devices, their scheduling will be moved over to this
logic eventually.

Changed various NVRAM devices to fetch their default memory region
from the device->region rather than specifying it in the 
configuration.

Moved a number of CPUINFO_PTR_* constants to CPUINFO_FCT_*.

Fixed several drivers that manually created their own gfx_elements
to fill in the machine object, so they no longer crash.

Fixed incorrect CPU display on info screen (recently broken).

Moved device startup to *before* the DRIVER_INIT is called. This
is to allow the DRIVER_INIT to configure devices that have been
properly allocated. So far I don't see any negative effects, but
be on the lookout if something weird shows up.

Rewrote the device iteration logic to make use of the typenext
field and the newly-introduced classnext field for iterating more
efficiently through devices of a given type or class.

Fixed behavior of MDRV_CPU_REPLACE so it does not delete and then
re-add a CPU (causing the order to change).
2008-12-18 08:28:50 +00:00
Wilbert Pol
d9fbf0dba5 Removed unneeded segment base changes from the 80286 core. 2008-12-17 19:15:14 +00:00
Yasuhiro Ogawa
09f7e1e8d1 Finalizer update (by poUzVdb90):
- converted to tilemap
- added flipscreen
- changed sound chip name from SN76496 to SN76489A
2008-12-17 15:44:04 +00:00
Aaron Giles
2ed5fee4bb Fix compile error. 2008-12-17 15:15:21 +00:00
Aaron Giles
804860a75c Added the concept of device "owner", for devices owned by other devices.
Modified laserdisc players to walk back to their global device state
via the owner, rather than brute-force searching for the first instance
and hoping that is the right one.
2008-12-17 06:12:58 +00:00
Aaron Giles
e2ae5c7fa3 From: Atari Ace [atari_ace@verizon.net]
Sent: Tuesday, December 16, 2008 12:20 PM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] Migrate CPU defines to cpu header files

Hi mamedev,

This patch migrates all the CPU definitions into the cpu header files.
The #defines and CPU_GET_INFO declarations were added by hand to the
cpu cores in the first patch, plus a few partly related fixes to the
non-DRC cores.  The second patch was produced by the attached script
which inserts all needed #includes, except for two that were added by
hand in the first patch.  The first patch also removed an extra define
of N2A03_DEFAULTCLOCK that would have caused problems with the second
patch.

~aa
2008-12-17 05:52:10 +00:00
R. Belmont
ab8b93e1d1 Improved 64-bit fix. 2008-12-17 05:42:57 +00:00
R. Belmont
84afc85712 Fix fatal pointer truncation on 64-bit builds. 2008-12-17 02:48:17 +00:00
Aaron Giles
4f266b6da4 Hi mamedev,
More deprecat.h cleanup in the core, notably changing the apis for
poly_alloc. I also made cpu_get_index_slow fatalerror on failure 
since no one is checking the return value.

deprecat.h -= 14, Machine -= ~55

~aa
2008-12-16 16:32:05 +00:00
Aaron Giles
5630547540 More device normalization:
cpu_get_info_* -> device_get_info_*
  cpu_set_info_* -> device_set_info_*
  cpu_reset      -> device_reset

Removed the cputype_get_* macros as they are not necessary.

Removed cpuintrf_init() which is no longer necessary.
2008-12-16 16:30:28 +00:00
Aaron Giles
98c40f06db Made CPUs into proper devices. CPUs are now added in the
machine configuration just as any other device, and the
standard CPU configuration is performed via the inline
configuration macros.

Change cpu_type from an enumeration into a pointer to the
CPU's get_info function, very similar to device behavior.
For now all CPUs are declared in cpuintrf.h, but 
eventually they should be declared in the CPU's header
file, and the driver should #include that header.

Added function cpu_get_type() to return the CPU type.

Changed several cpu_* functions into macros that call
through to the equivalent device_* function.

The device system now maintains a parallel list of devices
based on type, for faster iteration through all devices
of a given type.

Cleaned up code that looped over CPUs via the machine->cpu
array to now loop using the type-based device list.

Removed start/stop/reset/nvram functions from the 
device_config in favor of grabbing them as needed.

Cleaned up the generic interrupt_enable code to work with
CPU devices instead of numbers.

Mapped the devtag_* functions to device_* functions via
macros instead of parallel implementations.
2008-12-16 15:02:15 +00:00
Roberto Fresca
76e6a7abc4 Funworld.c improvements...
- Added new set: Jolly Card (italian, encrypted bootleg).
   No coins... Only remote credits. After nvram init, set the Payout DIP to 'manual'
   to allow the remote credits mode to work.
 - Created inputs from the scratch for jolycdib.
 - Updated technical notes.

New clones added
----------------
Jolly Card (italian, encrypted bootleg) [Roberto Fresca]
2008-12-15 07:31:18 +00:00
Aaron Giles
a1bd0a2a92 Removed old cherrym driver. 2008-12-15 05:52:19 +00:00
Aaron Giles
7808378272 Fixed duplicate driver. 2008-12-15 02:06:58 +00:00
Aaron Giles
54db8f077b Cleanups and version bump. 2008-12-15 01:46:32 +00:00
Aaron Giles
f65131343d Added proper artwork for the led in Gridiron Fight [David Haywood]
-----Messaggio originale-----
Da: David Haywood [mailto:neohaze@nildram.co.uk] 
Inviato: domenica 14 dicembre 2008 23.56
A: Angelo Salese
Oggetto: Gridiron update

Changed it from using a hack using the gfx rom to display the 'play 
number' to using the LEDs in the artwork system.
2008-12-15 01:12:26 +00:00
Aaron Giles
4ef83e02c3 This adds Jackie to the Champion Skill HW.
New games marked as GAME_NOT_WORKING
------------------------------------
Jackie [David Haywood]

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

(Personally I'm not really interested in this one at the moment (I'm not
enough keen with Champion Skill HW and its fancy I/O stuff), however it
should be slightly different memory map + different protection)

roms/current/j/jackie.zip
2008-12-15 01:08:32 +00:00
Aaron Giles
1f54995066 -Merged goldstar.c & cmaster.c drivers
-Converted the Reels video to Tilemaps [David Haywood]

New clones
----------
(New?) Cherry Bonus III [David Haywood]
Cherry Bonus III [David Haywood]

New non-working
---------------
Cherry Master (Corsica, v8.01) [David Haywood]
Cherry Master 91? [David Haywood]

-----Messaggio originale-----
Da: David Haywood [mailto:neohaze@nildram.co.uk] 
Inviato: domenica 14 dicembre 2008 22.20
A: Angelo Salese
Oggetto: Gold Star update

I converted the Reels video to Tilemaps
merged cmaster.c with this, since it's basically the same thing, but 
with some changes..  made a few improvements to that.

also added another cherry master set, might be "cherry master '91" but 
it's probably running on an extended version of the hardware as it has 
extra roms etc.

it's still rather messy..   seems this game / hardware was used for the 
base of a lot of hacks, and it's really hard to know what the originals 
were...

------------------------------------------------------------------------

the cherry bonus 3 sets seem to be the same game as goldstar ....

again these were just random messy sets on f205v's pcb with no proper info,
no proms etc. ... ncb3 boots, and does show a dyna logo .  cb3 seems to be
encrypted.
2008-12-15 01:05:48 +00:00
Aaron Giles
6b4efba253 Queen [David Haywood]
This adds the "Queen" game into a driver (a.k.a. the 2002 PC-era game)
(roms are already on the ftp,I believe)

-----Messaggio originale-----
Da: David Haywood [mailto:neohaze@nildram.co.uk] 
Inviato: venerdi 12 dicembre 2008 0.05
A: Angelo Salese
Oggetto: Queen Skeleton..

Didn't think the queen was dead yet, but here is her skeleton ...
2008-12-15 00:58:31 +00:00
Aaron Giles
68bca19400 Fix all obvious regressions based on screenshots. 2008-12-15 00:55:07 +00:00
Aaron Giles
60b43c1d69 Removed hack for setting mcs51 serial callbacks. Updated micro3d to use
new functions. Fixes regression.
2008-12-14 23:47:30 +00:00
Aaron Giles
04fbf4f825 Removed unnecessary masking in disassembly view.
Changed console subview computations to leave the registers portion
fixed.
2008-12-14 21:34:02 +00:00