Commit graph

199 commits

Author SHA1 Message Date
Aaron Giles
2f8231e10a TMS3203x core updates:
* fixed interrupt handling
 * added support for edge-triggered interrupts on '32
 * expanded interrupt support for the '32
 * updated drivers using TMS3203x core to deassert interrupts
 * added externally accessible functions for converting '3x floating point format
 * updated gaelco3d driver to use new functions

Zeus2 (+related) updates:
 * fixed save states for DCS games
 * cleaned up Zeus2 waveram handling
 * added Zeus2 save state support
 * added preliminary model and quad rendering support for Zeus2
 * added support to timekpr for the ZPRAM used on Zeus2
 * hooked up ZPRAM in Zeus2 games
 * hooked up controls in Zeus2 games
 * updated poly.c to ensure it is idle before saving state
2007-12-28 06:11:52 +00:00
Phil Bennett
8d6c62b976 Removed GAME_IMPERFECT_SOUND flag from qtheater (ref: qtheater0122u1ora) 2007-12-27 11:45:00 +00:00
Phil Bennett
da78ef37e1 Corrected tx1 and tx1a coinage DSW assignments.
Reversed buggyboy/buggybjr 'Game Time' settings.
2007-12-27 00:55:09 +00:00
Aaron Giles
e5a0e34716 Oops, error in my previous fix for save state. 2007-12-26 23:28:18 +00:00
Nathan Woods
eb5699299c Changed an unamed enumeration to a named one (input_seq_type) 2007-12-26 21:20:34 +00:00
Couriersud
08f8fbf348 Changed int to UINT8 in dkong_state (includes/dkong.h) 2007-12-26 18:42:25 +00:00
Couriersud
6b2a41d6e1 - documented TRS-02, TKG-02/03 "voice" interface 2007-12-26 18:03:32 +00:00
Aaron Giles
28d23853ae (From AtariAce)
This patch should complete the addition of static qualifiers to all
MAME symbols that aren't explicitly exported.  It primarily handles
generated code (e.g. amspdwy.c), plus a handful of cases I'd
previously missed and some new cases introduced in the last update.
One interesting bit was the discovery that the 32-bit scanline
routines in drawgfx.c are unused.  I debated eliminating them but
decided instead to just export them.  Various internal drawgfx
functions were conditionally removed by examining a new RAW define,
although one routine (blockmove_8toN_alphaone) was determined to be
dead code.

While investigating constifying MESS, I came across a few core APIs
that were missing const qualifiers which this patch fixes.  I also
consted up tx1.c while I was at it.
2007-12-26 16:55:35 +00:00
Aaron Giles
6e44952678 Fixed save state errors reported on MAMETesters. 2007-12-26 15:37:47 +00:00
Couriersud
f76a01ecc7 - Fixes mwalk0122red
The peplus games I tested (pexp0019, peps0716, pebe0014 and pepp0188) did not hang so this should be ok for peplus and mwalk
2007-12-26 00:47:40 +00:00
Couriersud
bf79fa4948 - radarsc1 uses tms5110 speech synth
- cvs games: according to PCBInfos speech chip is TMS5100.
  Changed driver to use TMS5100 and "game system operational" now sounds more natural
- removed sound/m58817.*
- added support for multiple coefficients maps to tms5110.*
- added coefficient maps for TMS5100 and M58817 from documented sources to tms5110r.c
- fixed interpolation factors (see tms5110r.c for reason)
- made lattice calculation precision 9bit
- added support for READBIT and LOADADDRESS commands to tms5110.c
- more changes in line with various patents
2007-12-25 22:47:08 +00:00
Couriersud
dd82d11edb - added some comments relating to Z80 DMA chip (dkong3) 2007-12-25 22:21:57 +00:00
Nathan Woods
24edb7d555 Fixed M65C02 optimization [Peter Trauner] 2007-12-25 17:56:12 +00:00
Couriersud
3ff2882dda - Fixes radarscp0122yel
- Updated driver "todo" section
2007-12-24 22:16:41 +00:00
Couriersud
e613da3c3b - Fixes hunchbkd0122red
Note: Protection still not understood in detail. Driver only contains "hacks" as workarounds. Consequently, more protection issues are likely to surface in the future.
2007-12-24 22:10:04 +00:00
Nathan Woods
dd703b9d81 Reverting my change; I must be understanding this as well as I thought 2007-12-24 18:09:23 +00:00
Couriersud
787d8d1a8d Fixes mametesters bug pestplce0122red 2007-12-24 14:07:55 +00:00
Nathan Woods
f27de85b8e 1. Added assertion to append_render_primitive() to test for degenerate case
2.  Added check that seems to occur on screenless systems
2007-12-24 07:39:36 +00:00
Aaron Giles
707e623381 One more straggler for spacing cleanups. 2007-12-24 04:06:02 +00:00
Aaron Giles
76278ddf02 Spacing cleanups. 2007-12-24 04:03:00 +00:00
Aaron Giles
2d19847752 (From Corrado Tomaselli)
Besides confirming clocks on some games, I modified:
Aerofighters and Turbo Force sound z80 to 5mhz
Midnight Resitance 68k cpu to 10mhz (20mhz crystal) and modified m6295 
clock to 1mhz. Also confirmed pin 7 is high.
Midnight resistance has a lot of slow downs on the pcb too
2007-12-24 03:43:45 +00:00
Aaron Giles
b5087df8d2 (From Atari Ace)
This small patch makes some minor "code quality" improvements to MAME.
First off, some remaing static/const qualifier missed cases were
addressed.  Secondly, a few cases of missing #include "foo.h" were
added.  Thirdly, a few global names were modified to make them less
generic/more consistent (voodoo.c, vrender0.c, lethal.c, rungun.c,
zac2650.c).  Fourthly, some dead/useless code was removed
(i8051.c,model1.c,romcmp.c).
2007-12-24 03:41:16 +00:00
Aaron Giles
a570a7d8c6 (From Corrado Tomaselli)
Verified some cpu clocks of original boards using a frequency counter:
 * Changed Success Joe Ym2203 clock from 3mhz to 4mhz
 * Changed Pang M6295 clock from 990khz to 1Mhz
 * Changed Halley Comet main cpu clock to 1.664mhz (it's not a mistake, the clock is very low)
2007-12-24 03:13:19 +00:00
Aaron Giles
ec956ae1bf Further Zeus 2 implementation.
Hooked up ZPRAM for Zeus 2.
Fixed digital inputs for crusnexo.
Fixed default screen parameters to match the games.
2007-12-24 03:09:07 +00:00
Brian Troha
959d2d85bb adds driver def for WCBowl v1.3 to mame/mamedriv.c 2007-12-23 17:18:21 +00:00
Brian Troha
975f32f1cc Changes LFO Frequency table entry 232 from 13.35547 to 14.35547 as per discussions of the list. Adds notes about it and the other error in the manual. IE entry 201 & 202 were the same 3.74490 and 202 has been changed to 3.92 which is "about right" 2007-12-23 15:21:00 +00:00
Brian Troha
28e5db00d5 Adds v1.3 of World Class Bowling and some minor clean up of the driver. 2007-12-23 15:17:33 +00:00
Phil Bennett
b36449e08c Game description changes:
'buggyboy' : "Buggy Boy/Speed Buggy (Cockpit)"
'buggybjr' : "Buggy Boy Junior/Speed Buggy (Upright)"
2007-12-23 02:37:31 +00:00
Phil Bennett
7dd02be32d Fixed daft input-port mappings in TX-1 and the Buggy Boys. 2007-12-22 23:14:53 +00:00
Aaron Giles
997890a56d Fixed bug that would cause events to leak through to the game when the debugger was up. 2007-12-21 17:46:00 +00:00
Aaron Giles
dbb50ed634 Zeus hardware:
* Cleaned up zeus wave RAM accessors.
 * Changed rendering code to allow for greater parallelism on multicore systems.
 * Removed some vestigial zeus 2 hacks.
 * Reduced visible area to remove artifacts.
 * Made right/bottom vertices inclusive to fix some gapping issues.
 * Fixed invasn lightgun offset.
 * Marked invasn as playable.

Zeus 2 hardware:
 * Fixed ROM loading, added banking support.
 * Separated zeus 2 video implementation from zeus implementation.
 * Implemented direct pixel accesses; enough to get startup screens to show.

ADSP-2100:
 * Properly documented ADSP-2104 internal memory map.
2007-12-21 16:12:20 +00:00
Phil Bennett
4371646560 Workaround for ym2610_0119u2gre 2007-12-21 01:32:15 +00:00
R. Belmont
047ec5ff5c One more fix for 64-bit GCC. 2007-12-21 00:43:47 +00:00
Phil Bennett
366460bd8f Renamed 'buggyb1' set to 'buggybjr'
Also made it work properly.
2007-12-20 23:58:28 +00:00
Aaron Giles
6b1fab82d2 Fixed ROM-based DCS2 system to ignore HLE transfers. (Fixes broken sound in invasn.)
Properly reduced internal memory on the ADSP-2104 variants.
2007-12-20 07:18:16 +00:00
Phil Bennett
cae7ef0587 * Fixed C219 sample read order and implemented sign+magnitude format.
* Removed GAME_IMPERFECT_SOUND flag from all Namco NA-1 games.
2007-12-19 19:46:12 +00:00
Aaron Giles
675246085e Oops, had the 2 matrix multiply order reversed! 2007-12-19 14:25:24 +00:00
Tomasz Slanina
f80cc32b04 Merged afega.c and nmk16.c drivers
Removed many hacks from both.
A couple of games changed status from GAME_NOT_WORKING to fully playable:
stagger1, redhawk, redhawkb, grdnstrm, spec2k, firehawk (all - former afega.c) 
and  tharrier/tharrierj(nmk16.c)
2007-12-19 14:16:30 +00:00
Aaron Giles
9334535a4d Figured out data format of 2 matrix form.
invasn looks a lot better now.
Extracted data for lights.
Added backface culling which mostly works but fails sometimes, so it is disabled.
Started on some initial lighting calculations.
2007-12-19 06:27:29 +00:00
Aaron Giles
b347392d92 Cleanups for MAME 0.122.
Added missing driver entry for orbs.
2007-12-18 08:24:58 +00:00
Aaron Giles
75265e5e23 Changes for MAME 0.122. 2007-12-18 08:09:03 +00:00
Aaron Giles
8a9ea25d74 Fixed bogus characters in newvideo.txt.
Fixed const changes in sidvoice.c.
Removed GAME_SUPPORTS_SAVE from namcond1 driver.
2007-12-18 03:13:07 +00:00
Aaron Giles
507ca2d275 Changes for MAME 0.121u4. 2007-12-17 16:41:39 +00:00
Aaron Giles
df34329a47 Changes for MAME 0.121u3. 2007-12-17 16:39:40 +00:00
Aaron Giles
c82a966b3b Changes for MAME 0.121u2. 2007-12-17 16:37:57 +00:00
Aaron Giles
8a8ccc5949 Changes for MAME 0.121u1. 2007-12-17 16:33:33 +00:00
Aaron Giles
7b77f12186 Initial checkin of MAME 0.121. 2007-12-17 15:19:59 +00:00
Aaron Giles
3da7f47606 First checkin of MAME 0.121 docs folder. 2007-12-17 06:11:01 +00:00
Aaron Giles
811ef79c66 Created directory structure. 2007-12-17 05:15:05 +00:00