Commit Graph

4515 Commits

Author SHA1 Message Date
Aaron Giles
30ca36ecaf Remaining PIA device-ification. 2009-03-03 06:33:51 +00:00
Aaron Giles
ef9e4cb805 Fix speaker/sound ambiguity that caused attempts to round sound outputs
to other sound chips to be broken.
2009-03-03 05:14:22 +00:00
Aaron Giles
949667d62c More PIA devic-ification:
- mcr.c
 - williams.c
 - redalert.c
 - exidy.c
 - calomega.c
 - carpolo.c

Fixed sound in Joust 2.
2009-03-02 17:37:14 +00:00
Phil Bennett
d6c89dba0f 02478: finalapr, finalapo, finalapb, speedrcr: Some graphics are not displayed. [Phil Bennett] 2009-03-02 13:38:54 +00:00
Aaron Giles
1dcd75d039 Removed device types from device queries that use tags, under the
assumption that all device tags are unique. Specifically, the
following no longer need to provide a device type:

   AM_DEVREAD/WRITE
   DEVCB_DEVICE_HANDLER
   devtag_get_device
   devtag_reset
   device_list_find_by_tag

as well as several device interfaces that referenced other devices.

Also fixed assertion due to overflow in the recent sound fix.
2009-03-02 10:59:37 +00:00
Aaron Giles
4ad8ec54f8 Converted the following drivers to the new device-based 6821 PIA:
- qix
 - mcr/williams
 - coinmstr
 - funworld
 - goldnpkr
 - jokrwild
 - nyny
 - r2dtank
 - spiders
 - tugboat

Added new function memory_install_read_port_handler() to more
easily allow you to install read handlers for ports based on tag.

Removed input_port_read_handler8/16/32/64 functions, since they
were really only used for getting a memory handler for a port by
tag, and this is no longer necessary.

Moved input port handlers to internal code in the memory system.

Added port names to the taito8741 device pending its proper
devicification.

Removed all remaining uses of input_port_n_r() functions, and
purged them from src/emu/machine/generic.
2009-03-02 09:31:05 +00:00
Yasuhiro Ogawa
bd35db8db4 Make the system24 linscroll screen-relative. [Olivier Galibert] 2009-03-02 08:39:55 +00:00
davidhay
9671bd3455 ok, looks like these aren't anywhere, leave the information in place for reference against future dumps but turn them off. 2009-03-02 07:44:26 +00:00
Phil Bennett
628d21e758 02877: deadang, leadang, ghunter: Music drowns out sound effects
Scaled up renegade and mjkjidai ADPCM levels in line with recent clock_adpcm() change.

[Phil Bennett]
2009-03-02 02:09:52 +00:00
Aaron Giles
ba374dbb0a 00015: Noticeable static in OKI 6295 audio 2009-03-02 01:33:41 +00:00
Derrick Renaud
c3455e2100 Fixed: 02909: boothill: Specification of discrete filters for shot and hit sounds doesn't agree with schematic. 2009-03-02 00:25:28 +00:00
davidhay
8872083aeb hooked up layer enables in goldstar.c driver, fixes 'girl' in Cherry Master [David Haywood] 2009-03-01 23:24:20 +00:00
Phil Bennett
f1790fa57f A better fix for 02991... 2009-03-01 23:13:58 +00:00
Phil Bennett
a0bc726d0d 02995: liberate, dualaslt: Black screen shows after disclaimer [Phil Bennett]
(I hope this isn't too yucky!)
2009-03-01 20:56:16 +00:00
davidhay
14efd9bf62 System 24 Linescroll update [Olivier Galibert]
Thanks to Haze finding it was used in qrouka, here is the final
system24 linescroll mode.

Guru, it would be nice if you could check if the effect on the title
screen is correct (the wobbling when the name goes back up).  It looks
correct though.

  OG.
2009-03-01 20:45:21 +00:00
davidhay
667a7e19f5 added new clone
Joker Poker (Version 16.03BI) [Jim Stolis] (not working)

just adding it so that it doesn't get lost in the backlog.  inputs don't work, reports 'error' on first boot but you can reboot it.

not sure about the version numbering, the startup text seems to indicate the roms might be 85/86, but the copyright text is 83.

does anybody have a good reference for the colours on these things?  I doubt it can be too hard to fix them..
2009-03-01 20:35:56 +00:00
Couriersud
11a277907a Added GAME_IMPERFECT_GRAPHICS to Tutankham & clones
* Added todo section to documentation
* 02932: tutankhm, tutankst: Background stars missing in attract mode
2009-03-01 15:44:09 +00:00
Phil Bennett
1aac71cbef 02994: labyrunr all sets: all labyrunr sets resets on bootup
Merged labyrunr memory maps.
[Phil Bennett]
2009-03-01 14:35:01 +00:00
Couriersud
a8a09bd084 Adjusted volume level and added more documentation 2009-03-01 12:34:41 +00:00
Couriersud
0a7a58fdde include stddef.h for ptrdiff_t 2009-03-01 12:30:12 +00:00
Aaron Giles
519f0859c3 Merged tetrisp2 memory maps. Renamed teplus2->tetrisp2j. 2009-03-01 07:10:33 +00:00
Aaron Giles
e2757c60d2 Modified the makefile to support experimental optional C++
compilation:
 - new option CPP_COMPILE to trigger this (off by default)
 - split CFLAGS into common, C-only, and C++-only flags
 - when enabled, CPP_COMPILE causes 'pp' to be appended to 
    the target name

NOTE THAT THE SYSTEM CANNOT ACTUALLY BE COMPILED THIS WAY 
YET. IT IS JUST AN EXPERIMENT.

Modified lib.mak to always build zlib/expat as C regardless 
of CPP_COMPILE.

Modified windows.mak to fix warnings with MAXOPT=1, and to 
leverage the new CFLAGs definitions.

Modified vconv.c to do appropriate conversions for new C++ 
options.

Updated sources so that libutil, libocore (Windows), and 
libosd (Windows) can be cleanly compiled as C or C++. This
was mostly adding some casts against void *.

Fixed a few more general obvious problems at random 
locations in the source:
 - device->class is now device->devclass
 - TYPES_COMPATIBLE uses typeid() when compiled for C++
 - some functions with reserved names ('xor' in particular)
    were renamed
 - nested enums and structs were pulled out into separate
    definitions (under C++ these would need to be scoped to
    be referenced)
 - TOKEN_VALUE cannot use .field=x initialization in C++ :(
2009-02-28 22:10:06 +00:00
Angelo Salese
42004cf3ba Fixed King Derby sprite colors [Stefan Lindberg, Angelo Salese] 2009-02-28 21:22:45 +00:00
Phil Bennett
16db3dbc4d 02991 polyplay: Broken graphics when playing [Phil Bennett] 2009-02-28 20:10:26 +00:00
davidhay
30584f0017 various improvements to Heavy Unit [Angelo Salese, Tomasz Slanina, David Haywood]
- Added a VERY preliminary simulation of the protection, just enough to get the game to boot, not make it playable
 - Corrected CPU communication, IRQ/NMI generation etc.
 - Fixed some video emulation issues (added tilemap scroll etc.)
 - Corrected GFX rom loading (at least for the graphics used in attract mode)
2009-02-28 18:20:40 +00:00
Phil Bennett
4fcae8c0dd Add one of the system24 special linescroll modes.
Fix 02526: mahmajn2: Missing 'special' linescroll mode. 
[Olivier Galibert]
2009-02-28 14:22:37 +00:00
Phil Bennett
b58915f149 Best play it safe and not use variadic macros... 2009-02-28 13:15:33 +00:00
Yasuhiro Ogawa
a8292c1245 New clones added
----------------
Violence Fight (Japan)
2009-02-28 11:10:28 +00:00
Yasuhiro Ogawa
56b8d1e578 New games marked as GAME_NOT_WORKING
------------------------------------
Tokimeki Mahjong Paradise Doki Doki Hen [Uki]
2009-02-28 01:48:41 +00:00
Couriersud
465bc2eac8 Fix regression (missing graphics) in ipminvad (m10) 2009-02-28 01:23:47 +00:00
Couriersud
61e96795e1 02979: All sets in m10.c: Dialog box on all sets in m10.c 2009-02-28 00:38:18 +00:00
Couriersud
5a77081209 Finally low pass filtering on channel 2A
* Changed resistor to bill of material value
2009-02-28 00:13:19 +00:00
Phil Bennett
6a455c5dbd 02988: blswhstl, detatwin: ROM RAM EEPROM Check fails at startup [Phil Bennett] 2009-02-27 22:56:43 +00:00
Angelo Salese
813770d659 Input ports clean-up for the jangou driver. [Angelo Salese] 2009-02-27 18:31:59 +00:00
Brian Troha
8113fdd995 Changes name of "Prosport" to "Pro. Sports" as per Smitdogg's email evidence. 2009-02-27 16:26:28 +00:00
Yasuhiro Ogawa
732e27ab69 Added NAOMI game list 2009-02-27 15:03:23 +00:00
Yasuhiro Ogawa
40c470ace9 Fixed descriptions of the games running on NAOMI series hardware. 2009-02-27 13:56:23 +00:00
Phil Bennett
a13930b871 New games added or promoted from NOT_WORKING status
---------------------------------------------------
Great Sluggers 94 (Japan) [Phil Bennett]
2009-02-27 13:06:02 +00:00
Brian Troha
0ec3e58d91 added PCB location to Heavy Unit rom names. Corrected the sets per World, Japan & Japan Newer.
Does nothing useful, so it's not worth noting ;-)
2009-02-26 21:33:25 +00:00
Phil Bennett
8a4eb73d73 02973: chmplst2: Access Violation [Phil Bennett] 2009-02-26 21:29:14 +00:00
Couriersud
906a76dd8a Scramble now is a lot closer to reports and recordings (background sound, sound of bullets). 2009-02-26 21:15:56 +00:00
Phil Bennett
857a7ee91f 02964: dingo: No Audio [Phil Bennett] 2009-02-26 18:40:34 +00:00
Aaron Giles
2d6f8c526c Merged memory maps in nemesis.c. 2009-02-26 17:01:09 +00:00
Phil Bennett
8df5659ba7 02965: gradius, gwarrior, rf2, twinbee: Bootup process is never completed/No Sound [Phil Bennett] 2009-02-26 16:32:15 +00:00
Aaron Giles
6f59a149a9 From: Mr. Do. Note I just wired up the layouts he provided, I left the PORT_TOGGLE alone.
OK, here we go so far.  Layouts for all the games that have a simple one-input shifter.  Except 
Turbo, because I'll need to update the whole file, which will take a little more work.
 
And below is the rest of the games that have shifters, but use a separate input for each gear, 
so something different will need to be done.
 
There are also six games that use a simple shifter, but the button isn't set to toggle.  So to 
play the game, you hold the button for low gear, then let go for high gear.  Not sure if you 
wanted to change these or not, so I just included the layout file for now.

Games to update for PORT_TOGGLE
buggychl - src/mame/drivers/buggychl.c
chasehq - src/mame/drivers/taito_z.c
contcirc - src/mame/drivers/taito_z.c
sci - src/mame/drivers/taito_z.c
roundup5 - src/mame/drivers/tatsumi.c
superchs - src/mame/drivers/superchs.c
2009-02-26 10:44:59 +00:00
Couriersud
1edddcdd69 Galaxian.c:
* separated amplifier Cin from mixer
* AY8910s numbering now in line with schematics
* Scramble sound not yet perfect, but levels improved significantly, Filters are difficult to model
2009-02-26 09:32:04 +00:00
Couriersud
fb3e6c4b52 * Changed AY8910 to use measurements done one a ZX128
* Following advice on mame testers, remove "channel off" kludge
* Added the post containing measurements to documentation
* Added some debugging stuff
2009-02-26 09:23:49 +00:00
Couriersud
24557839b1 Filter switches (used in games such as scramble) need much higher resolution.
Changed 4066 internal resistance to typical one from datasheet (~270 Ohm)
2009-02-26 09:20:14 +00:00
Aaron Giles
8f6f01f263 Cleanups and version bump. 2009-02-26 09:19:15 +00:00
Aaron Giles
26dd96003f From: Duke [mailto:startaq@gmail.com]
Sent: Wednesday, February 25, 2009 5:20 AM
To: submit@mamedev.org
Subject: CIA update

Hello,

this patch adds support for the /PC output pin to the CIA emulation.
From the datasheet "/PC will go low for one cycle following a read or write of PORT B.". 
This is needed for centronics printer emulation on the MESS side, but I imagine it would 
simplify/correct the emulation in some MAME amiga drivers as well (mquake.c for example).

--Dirk
2009-02-26 09:07:02 +00:00