Commit Graph

275 Commits

Author SHA1 Message Date
Aaron Giles
8240d56dd9 Added support for outputting 64-bit target addresses. 2008-01-10 18:14:50 +00:00
Aaron Giles
c09a3df1e9 System 2 driver cleanup.
Proper video timing.
Full memory maps.
Save state support.
Removed 720 sound CPU hack in favor of prepopulated EEPROM like the other games.
2008-01-10 17:57:26 +00:00
Zsolt Vasvari
e48263b694 Fixes tmnt095gre - emulated reset line's effect on the UPD7759 controlling flip-flops 2008-01-10 16:14:02 +00:00
Phil Bennett
c4a20b32bb Added another QOS revision and shuffled existing sets (oldest is now qosb).
Credit HIGHWAYMAN.
2008-01-10 13:30:36 +00:00
Zsolt Vasvari
6b561ebbc2 Clears up memory map 2008-01-10 10:46:58 +00:00
Zsolt Vasvari
46fc94dad9 Removed no longer needed patching from Cosmon, Space Fortress and Gold Bug 2008-01-10 04:49:27 +00:00
Zsolt Vasvari
4260f4f8ab Fixed disassembly of Flag Out bit
Fixed incorrect argument order in OUT instruction
Corrected spacing
2008-01-10 04:47:58 +00:00
R. Belmont
6cbe41fbc1 Fixes hang/crash on empty config file. (patch by Wilbert Pol) 2008-01-10 04:23:41 +00:00
Zsolt Vasvari
19205daeb0 Fixed the disassembly of the Sense bit 2008-01-10 03:07:17 +00:00
Zsolt Vasvari
6257a5476e Remove CVS BIOS entry (ROM sets will need to be updated) 2008-01-10 01:46:52 +00:00
Zsolt Vasvari
ad0e78bc1c Added speech CPU
Removed cvsdrvrc.c
2008-01-10 00:57:25 +00:00
davidhay
43fcffd195 actually lowering the interleave rate seems to fix it..
probably not an ideal solution, but I was unable to reproduce deadang0119u2red with lower interleave values.
2008-01-09 23:58:58 +00:00
davidhay
11d50bcf20 Adds Guru's Lead Angle (Dead Angle Japan ver) dump. I haven't fixed the lockup bug that was introduced recently however. 2008-01-09 23:46:31 +00:00
davidhay
15eeeaa04d Fixes scan functions for Bg.. they were swapped.. no idea who broke this, or when it broke... 2008-01-09 23:15:18 +00:00
davidhay
7088b5139e Reorganization of Raiden 2 driver.. a bit of extra documentation of the 'V33' based set, which I've renamed..
nothing new working.
2008-01-09 23:10:20 +00:00
davidhay
eaf4e19272 Add's 'Name Club Ver.3' to stv.c, it seems to run, you can coin it up, select the images / text.. although you can't print anything. Could do with some speedups. 2008-01-09 21:49:13 +00:00
davidhay
ce332b954b Adds Guru's dump of Sega Marine Fishing (NOT WORKING)
+ Adds Guru's NAOMI cart readme.
2008-01-09 21:04:22 +00:00
Couriersud
377d2b5372 sauro.c:
* Hooked up sp0256 sound
* analyzed and commented some ports
* added palette_bank support without real success
* removed game_imperfect_sound
2008-01-09 15:16:36 +00:00
Zsolt Vasvari
c06b5027d3 Reogranized and started to clean up the CVS driver.
Moved ROM definition into its own file, like the NeoGeo driver
2008-01-09 09:48:39 +00:00
Aaron Giles
16c5f688fa Cleaned up brkthru/darwin memory maps.
Changed both games to use identical video timing parameters based on measurements of darwin.
Guessed based on available information at the master clock and derived all game clocks from it.
2008-01-09 07:06:55 +00:00
Aaron Giles
29f2a7862a Wow. I can't believe I got away for months without saving RBP.
Should fix linux crashes with 64-bit DRC.
2008-01-09 06:35:07 +00:00
Aaron Giles
90e0297191 (From Corrado Tomaselli)
Changed and verified frequencies on Ikari Warriors h/w, Tnk3, Hyper Sports, Jackal and S.A.R
Updated xtal.h to support the 13.4mhz crystal found on Ikari warriors and TNK3 h/w

Verified and corrected a lot of frequencies and oki6295 pin 7 on pcbs:
Double Dribble, Chequered Flag, Diet gogo, Boulderdash, Sly Spy, Psycho 
Nics Oscar, Captain Silver, Magical Cat Adventure, Raiden, Superman, 
Twin Hawk, Vimana, Ghox, Dogyunn, truxton2, Pipi and Bibis, Fix Eight 
and Money Money

They were all verified with frequency counter, even the strangest ones 
are right.
2008-01-09 05:27:45 +00:00
Phil Bennett
3cda58d8c6 Also corrected Cycle Warriors DIP switches... 2008-01-09 02:17:16 +00:00
Phil Bennett
d720998264 Added correct DIP switch settings for Big Fight. 2008-01-09 01:44:09 +00:00
davidhay
1efa9a8c06 (Testing SVN account)
Added Guru's dump of Suchie3, all roms pass service check.
2008-01-09 00:58:35 +00:00
Phil Bennett
352e1e6879 TX-1 improvements (co-credit Guru):
* Fixed remaining arithmetic unit issues
* Added correct object colour pixel LUT PROM to tx1a
* Fixed x-flipping
* Added engine sounds
2008-01-09 00:17:09 +00:00
Couriersud
9756e82982 audio/dkong.c:
* fixed LS123 constant to match TI datasheet diode circuit constant
2008-01-08 20:48:35 +00:00
Couriersud
e8be9779ee mario.c:
* discrete sound
* hooked up z80dma
* combined memory maps
* statics in mario_state struct
* fixed save state issues
* combine sh_* writes into one routine

The skid sound is different from the samples. Reducing the LS123 capacitor by 40% will give the same sound, so I assume this is due to capacitor aging on the board the samples were recorded.
2008-01-08 20:46:56 +00:00
Aaron Giles
5ef1f5ec19 (With help from Mamesick)
Implemented proper video timing and scanline interrupts.
Fixes m72_0115u3yel
2008-01-08 17:55:04 +00:00
Zsolt Vasvari
bc7e03ec5e Fixes DAC sounds 2008-01-08 16:34:03 +00:00
Zsolt Vasvari
c559bb4b4a Removed a bunch of dead code 2008-01-08 12:32:54 +00:00
Aaron Giles
1b378f7136 Simplified Y-unit DMA rendering.
Fixes term20103u4gre and term20104u2gre
2008-01-08 10:29:22 +00:00
Zsolt Vasvari
ecfd14305e Fixed lasso056gre_1 and lasso056gre_2 (same bug, really.) Adjusted CPU clock to the same as the Rock-Ola games of the same era. The hardware is related. With this new CPU clock, the between-level music finishes
perfectly.

Also cleaned-up the driver a bit.
2008-01-08 09:57:40 +00:00
Aaron Giles
c846ce37d9 Added a workaround for umk3059gre and umk3137b5gre.
It's a hack, but a well-understood and clearly documented one.
Maybe smf can fix it for real in the distant future.
2008-01-08 09:26:12 +00:00
Aaron Giles
6f0b1f3e0f Added a comment about why the SRAM test fails and why it won't ever be fixed. 2008-01-08 08:27:18 +00:00
Aaron Giles
f504e2c12c Added XTALs to the DCS system.
Removed unnecessary sound board reset in MACHINE_RESET of kinst.
Fixes kinstc081u7gre and kinst2083gre
2008-01-08 08:26:16 +00:00
Aaron Giles
8fc9bc85e4 Yet another attempt to fix the MIPS 64-bit Linux crash. 2008-01-08 07:48:36 +00:00
Aaron Giles
3a0b58f14e Fixed winwork to use proper tchar functions for getenv. 2008-01-08 07:17:22 +00:00
Aaron Giles
f7ea81a055 (From robiza)
Fix for blktiger060gre
2008-01-08 06:55:31 +00:00
Aaron Giles
a3b57f5fd5 (Windows only)
Added code to debug 64-bit builds to allocate all address space below 4GB to help find 64-bit errors.
Added environment variable OSDDEBUGMALLOC which, if set, explicitly overrides the debug malloc debug settings.
Added environment variable OSDDEBUG4GB which, if set, explicitly overrides the new 64-bit address space allocations.
(Sadly this is necessary due to my nvidia D3D drivers being 64-bit unclean....)
2008-01-08 06:19:50 +00:00
Zsolt Vasvari
1ee549675e This fixes qbert37b14gre1. I changed some of the speech samples to start based on the phonemes played, instead of intercepting the sound command sent. This fixes the start-up sounds in Q*Bert and Reactor, which are triggered by the audio CPU without the main CPU having to send it a command. There are still a bunch more samples that could be converted. 2008-01-08 04:10:15 +00:00
Aaron Giles
a211ba264b (From Atari Ace)
Small fix to the gfxlayout cleanups included in u4.
2008-01-08 03:06:02 +00:00
Aaron Giles
990bc873d6 (From AtariAce)
Added machine and cpunum parameters to INTERRUPT_GEN callbacks.
Fixed several places that were not using INTERRUPT_GEN or OPBASE_HANDLER macros.
2008-01-08 03:05:19 +00:00
Zsolt Vasvari
f57292b93c Adds Road Runner (Midway) GAME_NOT_WORKING due to bad ROM 1E (shame) 2008-01-07 23:31:51 +00:00
Zsolt Vasvari
84a74dfcaa Draws background directly from memory avoiding having to decode the gfx repeadately. 2008-01-07 22:47:56 +00:00
Couriersud
07c3aaafa8 ad2083, scramble.c:
* added comment explaining that the game has no Player 2 input and also does not try to read from one.
2008-01-07 21:56:47 +00:00
Couriersud
92cfc498f6 scramble.c
* fixes scorpion0111u5gra
* fixes flipped tilemap offset for scramble and clones (playable cocktail mode)
2008-01-07 20:50:56 +00:00
Aaron Giles
bce2fa84b4 Cleanups and version bump to 0.122u4. 2008-01-07 17:14:05 +00:00
Aaron Giles
ae478066d7 Changed atarijsa sound implementation to auto-detect CPU and input port.
Cleaned up atarijsa memory maps.
Added save state support to atarirle, and cleaned it up a bit.
Added save state support to atarig1 driver.
Fixed pitfight0109u2gre
2008-01-07 17:07:19 +00:00
Aaron Giles
1465aa81d5 Fixed neogeo layout to support both cropping and stretching.
Fixed cropped layout to crop both left and right sides.
2008-01-07 15:47:18 +00:00
Zsolt Vasvari
e4db091e2d This fixes mtrap37b14gre. As an added bonus, the arrow is now visible in Venture on the zoomed out map. Also, in Hard Hat the twister fades away properly. 2008-01-07 14:13:01 +00:00
Phil Bennett
478d9053ef Added sound to Cycle Warriors and Big Fight.
Corrected OKI M6295 clock values.
2008-01-07 13:57:33 +00:00
Satoshi Suzuki
25a64135a1 Added Dragon Spirits. (Atari license) 2008-01-07 11:42:11 +00:00
Zsolt Vasvari
531aea4a38 This essentially rewrites the CVS system video code. This fixes wallst071gre. Also fixed the S2650 registry window display. 2008-01-07 10:43:55 +00:00
Aaron Giles
9d3cf20f84 Fixed bug that caused us to use a bogus address for the entry point. 2008-01-07 06:05:23 +00:00
Zsolt Vasvari
5a081cf2a1 Removed ancient "dirty" optimizations from CVS/S2656 and related drivers. This fixes at least spacefrt096u1gre 2008-01-07 04:25:21 +00:00
Zsolt Vasvari
162c8fe076 Fixes wotw36b1gre by adding custom visible area (bezel artwork *may* need to be adjusted)
Adds GAME_NOT_WORKING to Space Fortress
2008-01-07 03:36:21 +00:00
Aaron Giles
2d844fe392 Turned down the aggression on the "don't reconfigure screen" kludge in the TMS34010 core.
Fixes stonebal0117u2gre.
Also fixed minor cosmetic bug in last Williams sound update.
2008-01-07 03:29:59 +00:00
Zsolt Vasvari
dad3f8f0ec Researched spaceftr095u6gre
Marked one ROM a BAD_DUMP.  I am 99% sure it's just bit rot
2008-01-07 03:23:06 +00:00
Aaron Giles
891fd96895 (From Oliver Stoneberg)
Added missing debugger commands to the help.
2008-01-07 02:54:59 +00:00
Aaron Giles
6ff095887f (From Jim Stolis)
peplus driver update:
* Updated memory configuration for Superboard game versions.  Fixes CMOS 
DATA errors on reload.
2008-01-07 02:53:17 +00:00
Aaron Giles
852e1704a7 (From robiza)
fix for kingofb37b6gre bug
2008-01-07 02:52:17 +00:00
Aaron Giles
c828f95996 Fixed narc37b16yel.
Added talkback to narc sound boards and wired it up to the Z-unit board.
Connected Y-unit reset for various sound boards.
Added sound IRQ state detect to ADPCM board and wired it up to the Y-unit board.
Verified and documented XTALs on the Williams sound boards and Y/Z-unit PCBs.
2008-01-07 02:49:56 +00:00
Zsolt Vasvari
05725d1c7b Fixes invho2_0122u3red 2008-01-07 02:40:19 +00:00
Zsolt Vasvari
aca6a26c11 Fixes suprridr0122u2gra by multiplexing inputs 2008-01-07 02:38:35 +00:00
Zsolt Vasvari
a52032ce1c Fixes ladybug080u1gre
Removes superfluous 'extern' modifiers and adds appropriate 'static'
2008-01-07 02:36:28 +00:00
Zsolt Vasvari
9dfed95203 Fixes abaseb0122u3red
Simplifies up the video portion a bit
2008-01-07 02:16:39 +00:00
Ryan Holtz
b1081549b7 I am an idiot who sucks and makes bad assumptions about alpha.
SGI are bastards who use a 9-bit-byte framebuffer, use the extra bits to store pixel coverage, and can use the coverage bits for pixel alpha.  This wont' be implemented for a good long while.
2008-01-07 00:27:02 +00:00
Couriersud
6f5af260e6 ad2083 (scramble.c):
* fixes ad2083_0111u5gra - adds cocktail switch

Note: The bug report mentions "And player 2 control is not hooked up in cocktail mode."
The game will use player 1 inputs even in cocktail mode. Probably never designed for cocktail operation
2008-01-06 22:35:30 +00:00
Couriersud
e129bfca92 dkong.c:
* removed 2nd player inputs from sdbk input_ports
* fixed some dump "copy/paste" bugs in dip locations
2008-01-06 22:18:24 +00:00
Bryan McPhail
8a61784229 Fix mametesters bug darius2_0114gre - missing sprites in Darius 2 2008-01-06 19:40:03 +00:00
Couriersud
7ce3ee6529 A major rewrite of skychut.c lying around for months. There are still some glitches and it is not perfect but the following has been achieved:
* fixes skychut37b1yel 
* fixes skychut37b6gre
* adds samples to ipm invaders - just rename your old invaders samples to ipminvad to test
* added - amongst others - "capsule" dip switch to ipm invaders
* sound ports identified
* demo sound and cabinet type driver configuration
* more I don't remember
2008-01-06 18:05:41 +00:00
Pierpaolo Prazzoli
c3cea73c75 Fixed suratk0122u3gra and suratk0122u3ora 2008-01-06 18:02:51 +00:00
Bryan McPhail
dc154ddf98 Fix - last checkin contained an out of date erroneous comment. 2008-01-06 17:41:18 +00:00
Bryan McPhail
e968de67cd Mametesters bug othunder074u1gre2 is proven to not be a bug as screenshots of original game clearly show the offset problem was present in the original game. Comments added to the driver about this. 2008-01-06 17:36:19 +00:00
Bryan McPhail
59c960b061 New playable game added - Big Fight
Major improvements to Cycle Warriors video code (still not perfect, but road layer works now).
2008-01-06 17:32:28 +00:00
Aaron Giles
0ce44c7911 ElSemi -> Miguel Angel Horna in copyright notices 2008-01-06 16:58:33 +00:00
Ryan Holtz
2912b80454 - Credit to SGINut, not MooglyGuy or Ryan Holtz
- Move texture masking to occur after coordinate adjustment
- Fix 32-bit texturing in load_tile (Mario Kart 64 title screen)
- Add zero-alpha early-out (Mario 64 trees/stars, Mario Kart 64 trees/karts)
2008-01-06 09:19:32 +00:00
Aaron Giles
943026c09b Fixed crash when saving state of older DCS-based games.
Added save state support to the midvunit driver.
2008-01-06 07:54:02 +00:00
Aaron Giles
dae5e71408 (Thanks to MooglyGuy for the pointer)
Removed hack in setting the timer in the MIPS core, which caused missed timers on the aleck64 games.
Fixed icount management in the RSP core which caused it to report negative cycle counts.
Fixes aleck64_0120red and mtetrisc0115u1red.
2008-01-06 07:10:12 +00:00
Aaron Giles
aae4b919d1 (From David Haywood)
Added standard layout to neogeo driver, with alternate view to crop out leftmost 8 pixels.
2008-01-06 06:44:24 +00:00
Aaron Giles
13fd2cf515 (From Atari Ace)
Fix for system24_0120u3red
2008-01-06 02:08:16 +00:00
Aaron Giles
240b5b17a5 (From James Wallace)
Added XTAL defines to bfm_sc2.c
There is also a small style cleanup for lvcards.c to remove the AGEMAME 
reference which is now invalid.
I would have done the same XTAL definition for MPU4, but despite the 
schematics claiming a 6.88MHz
crystal, I hven't actually had a PCB in my hands to check, and it's not 
on either of the two lists in xtal.h, so I'm leaving it be.
2008-01-06 01:29:13 +00:00
Aaron Giles
f5db74cc82 (from Wilbert Pol)
This patch fixes the following issue in the 6522 emulation:
- When writing to the ACR register with the timer 1 in continuous  
counting mode, the timer 1 value should not be reloaded but keep on  
counting.
2008-01-06 01:28:09 +00:00
Aaron Giles
8860fe1c56 (From Dirk Best)
attached is an update for xtal.h and the Amiga include file.
2008-01-06 01:27:10 +00:00
Aaron Giles
24bea94d01 (From Oliver Stoneberg)
This fixes the winwork.c and poly(new).c meory leaks in the viper.c 
driver. I didn't look at the x86drc.c, because Aaron said it will be 
changed soon and there is no need to investigate those leaks at all.

As I wanted to update my own personal TODO about that fix I 
recognised it only happens in viper.c as well, so I took a stab at 
it. It was just anothe rmissing cleanup function and I also cleaned 
up the *_exit() potions/usage of the cores supporting DRC a bit.
2008-01-06 01:24:16 +00:00
Aaron Giles
fa3061392e (From Atari Ace)
0. This patch does minor cleanup to existing layouts, trimming/padding
entries as appropriate and reformating a few layouts.

1. This patch introduces a GFXLAYOUT_RAW() macro, and uses it
throughout.  It codifies the requirements for a raw layout in one
place.

2. This patch adds new validation code to the core for some previously
unchecked assumptions about layouts, and reduces the number of
references to the gfx_layout fields in preparation for a change in the
representation.

3. This patch constifies the remaining non-const gfx_layouts in MAME.
It does this by adjusting the code so that the only modification to a
layout ever needed is for the total field, which is then handled by
modifying a stack-based copy of the layout before invoking allocgfx. I
also spent some time consolidating and simplifying the layout code in
konamiic.c.
2008-01-06 01:21:33 +00:00
Aaron Giles
6e6f4f3df2 Fixed verinfo for the yearless copyright. 2008-01-06 01:01:25 +00:00
Aaron Giles
ee9f88963c Copyright cleanup:
- removed years from copyright notices
 - removed redundant (c) from copyright notices
 - updated "the MAME Team" to be "Nicola Salmoria and the MAME Team"
2008-01-06 00:47:40 +00:00
Couriersud
33eeead1da ad2083:
* completed tms5110A code
* working speech synthesis
* documented analysis done on pcb pictures and findings
* as a consequence, marked all sound roms as BAD DUMP
* created sound driver in scramble.c
2008-01-05 23:14:26 +00:00
R. Belmont
26f4b001c5 Moogly's fix for N64 texture clamping. 2008-01-05 20:46:15 +00:00
Phil Bennett
c9554cb8e1 D. Haywood's fix for flkatck058gre. 2008-01-05 20:39:51 +00:00
R. Belmont
24662a0b72 Removed unnecessary extra BIOS load in csmash. 2008-01-05 20:01:16 +00:00
R. Belmont
3e433a79ee Updated Naomi driver, now boots and shows some test menus (press F2 to get into test, use 9 to navigate). Also hooked up ROM board PIO and skeleton for DMA.
Please co-credit Samuele Zannoli and ElSemi.
2008-01-05 19:56:49 +00:00
R. Belmont
b6a4ebd248 Implemented decent-sounding FM (kingshriek). 2008-01-05 19:53:34 +00:00
Aaron Giles
deeb54eab6 Added save state support to slapstic.
Added save state support to YM2413.
Modified slapstic code to support address range mirrors.
Cleaned up Rampart driver:
 - simplified rendering code
 - full memory map
 - added save state
2008-01-05 19:28:30 +00:00
Aaron Giles
4b9f336c1f Switched to use the standard compile-time logging pattern, which is more widely compatible (varags macros aren't C89 compliant). 2008-01-05 19:23:13 +00:00
Brian Troha
bf53837ffa Slight documentation update. This PCB is an "A" revision
and the 2 lattice chips have markings stamped on them.
2008-01-05 18:24:45 +00:00
Pierpaolo Prazzoli
78dba81dde Fixed bad ram pages errors in stactics service mode 2008-01-05 17:19:40 +00:00
Bryan McPhail
2dd013188c Fix Mametesters bug arkanoid061gre - MCU reset line was not hooked up.
arkanoid: When you press the tilt button the "tilt" text will show for a short while and then it says "bad hardware".
2008-01-05 15:01:57 +00:00