Commit Graph

100 Commits

Author SHA1 Message Date
Aaron Giles
b3fb536264 Added save state support to btoads.
Fixed btoads0103gre.
2008-01-03 10:42:31 +00:00
Aaron Giles
eafea60950 Enabled UNICODE by default for 64-bit builds.
Fixed several issues with building for Unicode on MSVC.
Almost certainly broke things for MESS/MAMEUI. (Sorry.)
2008-01-03 10:19:41 +00:00
Pierpaolo Prazzoli
eb52ade3c8 Added victnine_gfxctrl_r 2008-01-03 09:18:49 +00:00
Pierpaolo Prazzoli
05cc2aadd9 Fixed victnine0116u2red 2008-01-03 09:11:27 +00:00
Aaron Giles
7902dcfca6 (From Atari Ace)
This fixes namcos1_0118u2yel, and
does a little tidying of the namcos1.c files as well.  There may still
be some additional variables to reset, but this was enough to fix the
bug as reported.
2008-01-03 09:06:47 +00:00
Aaron Giles
3b2b5c5f31 (From Atari Ace)
This should fix wwestern0115u1yel.  It also invalidates every save state
out there, but it is the right thing to do.  ;-)
2008-01-03 09:05:08 +00:00
Aaron Giles
d73ea1bf01 (From Oliver Stoneberg)
This patch fixes a few UNICODE=1 issues in the disassembly and memory 
windows of the MAME debugger. I also removed two redundant arrays.
2008-01-03 09:03:31 +00:00
Aaron Giles
415aebd2bd Rewrote sbrkout driver based on schematics:
* XTAL-based timing
 * Correct video timing
 * Full memory map
 * Correct memory usage ("zero page" RAM is shared with videoram)
 * Removed all input hacks
 * Fixed interrupt generation
 * Connected coin counters
 * Added save state support

Also fixed incorrect dependency in cdrom.c.
2008-01-03 09:01:18 +00:00
Aaron Giles
422ccce762 (From Oliver Stoneberg)
This is an updated version of my earlier ATTR_PRINTF patch. It was 
reviewed by Atari Ace to use ATTR_PRINTF properly and fixes even more 
format errors. I also reviewed the whole source again and it is now 
used in all possible places.
2008-01-03 05:37:18 +00:00
Aaron Giles
25eee632f6 (inspired by Firewave)
Removed ui_popup(). Drivers should always be using popmessage() instead (has been this way for a while).
Augmented popmessage() so that you can pass NULL to immediately dismiss any messages.
2008-01-03 05:33:59 +00:00
Couriersud
75ba20112c tms5110r.c:
- Updated tms5100 table following communication from Lord Nightmare
2008-01-02 17:49:38 +00:00
Aaron Giles
008440aa62 Better documented various bit latches.
Hooked up crusnexo lamp board (added layout).
Fixed year in MK4 startup test.
Switched to XTALs.
2008-01-02 15:16:59 +00:00
Aaron Giles
34642a5def Compilation fixes for MSVC. 2008-01-02 15:14:42 +00:00
R. Belmont
45f85e2677 Implemented a few SysCtrl, Maple, and PVR/HOLLY bits for Naomi. The BIOS gets slightly further but is nowhere near starting up. 2008-01-02 00:36:33 +00:00
Brian Troha
fc148a8f56 Credit: Arzeno Fabrice
Adds Asia 2 Player set to the simpsons.c
Corrects some rom names
2008-01-02 00:21:14 +00:00
Pierpaolo Prazzoli
32dcbe633e Fixed save states in i8051 cpu core
Fixed save states in powerbls (powerbls0112u4red is fixed)
2008-01-01 22:47:24 +00:00
Brian Troha
c2d269ced6 Checking in Bryan McPhail's MAMETesters Challenge fixes
Fixes:
funkyjet055yel
liberate074u1gre
tokiu056gre
2008-01-01 22:15:01 +00:00
Aaron Giles
0738d02527 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
2008-01-01 21:50:08 +00:00
Pierpaolo Prazzoli
7ad91eead6 Fixed typo for IO1 irq callback 2008-01-01 21:39:10 +00:00
Couriersud
744da0e482 dkong.c:
- finally (really) fixes pestplce0122red
2008-01-01 20:46:11 +00:00
R. Belmont
1b708fad34 Fixed sbrkout0118yel. 2008-01-01 19:37:05 +00:00
Couriersud
1ededa80ee Rewrote mario.c:
- fixed mario0110u1gre
- rewrote driver, separate MACHINE_DRIVER(mario_audio)
- palette from schematics
- video timing from schematics
- driver configuration switch Nintendo/Std Monitor
- got rid of COLORTABLE
- clocks as defines in .h
- use XTAL_*
2008-01-01 19:20:50 +00:00
Couriersud
9cea0d22ca - added 11MHz XTAL (Mario) 2008-01-01 19:05:37 +00:00
Brian Troha
4e32b64aa4 Adds the Guru's readme / PCB layout to the driver 2008-01-01 18:50:49 +00:00
Brian Troha
8f9692dbf6 Fixes:
edrandy0113gra
robocop2_0106u3gra

Converts 2 common ports to macros
Uses port_include & port_modify where needed
Added dip locations
Added DSW3 for Robocop2 (thanks to Byran McPhail)
2008-01-01 18:11:53 +00:00
Pierpaolo Prazzoli
841e689fbd Fixed IC.34 memory test
Fixed 2nd player cocktail mode
Changed coin3 to service1
2008-01-01 15:07:23 +00:00
Aaron Giles
fffa20252e Added new file xtal.h with commonly known/used clock XTALs.
Added #include "drivers/xtal.h" to driver.h so that these values are always available.
2008-01-01 09:11:07 +00:00
R. Belmont
bc7cef9498 [NSS/SNES] Sync Andreas Naive's latest DSP-1 emulation. Improves accuracy and documentation value.
Please co-credit Andreas Naive.
2008-01-01 05:04:05 +00:00
Brian Troha
ee69a1e9b9 Mametesters hstennis0103u2gra
too easy to pass up ;-p
2008-01-01 03:43:38 +00:00
Brian Troha
f4a28109fb Credit Stefan Lindberg
Adds Mutant Fighter (World, EM-3) to cninja.c
corrects revision/version names.
2007-12-31 20:33:42 +00:00
R. Belmont
b66afec386 Minor cleanup to previous GCC 64-bit fix. 2007-12-31 16:10:49 +00:00
R. Belmont
67eec8cf26 Fixed various 64-bit GCC warnings. 2007-12-31 07:38:42 +00:00
Brian Troha
da6a8c1fe0 Fixes clocks for Orbs based on info Haze & Dox 2007-12-31 03:35:18 +00:00
Aaron Giles
0e20c80517 Bumped version to 0.122u2. Spacing cleanups. 2007-12-31 02:22:13 +00:00
Aaron Giles
460437f8d1 (From Atari Ace)
The attached patch adjusts most conditional logging in MAME to use the
idiom "do { if (VERBOSE) logerror x; } while (0)".   This has the
benefit that the compiler checks the syntax of the logging even in the
case it will be eliminated, and in fact a number of cases here needed
adjustments to compile because of this.
2007-12-31 02:04:39 +00:00
Aaron Giles
3f6e8e1abf (From Samuele Zannoli)
The attached patch is some more progress in the sh4 core, expecially in the fpu.
Now there should be all the minimum needed to run the naomi bios ...
2007-12-31 02:00:41 +00:00
Aaron Giles
625c8308b9 (From Barry Rodewald)
Here is a fix I've done to the Z80 CPU core that removes the increasing 
of the R register from each IX/IY related (FD xx or DD xx) instruction.

This corrects the amount the R register should increased to to 2, 
instead of 3.  Documentation I've read suggests that the R register is 
increased by 1 for each instruction with no prefix, and by 2 for each 
instruction with a prefix (DD, FD, ED, CB, DD CB and FD CB).  This fixes

some protected cassette loaders in the MESS Amstrad CPC driver, and 
maybe others, which require the R register to be correct for the next 
routine to be decoded correctly.  I'd doubt that there is much, if any, 
noticeable impact for MAME, as the R register is really only useful to a

program as a simple random number generator (or seed).

I've tested the fix with Pacman, in MAME, and when it comes across a LD 
IX,xxxx or ADD IX,xx it will increase R by 2, whereas previously, it 
increased R by 3.
2007-12-31 01:58:34 +00:00
Aaron Giles
d7e58ce2d0 (From Oliver Stoneberg)
Fixed several memory leaks related to SCSI CD emulation.
2007-12-31 01:57:54 +00:00
Aaron Giles
1ea08b6933 (From Corrado Tomaselli and Zsolt Vasvari)
Verified a number of clock frequencies from real PCBs.
2007-12-31 01:57:32 +00:00
Aaron Giles
b482fd8c82 Add register usage tracking to Zeus 2.
Added artifical Z offset of -2 to make the full screen show in crusnexo.
Really fixed TMS3203x interrupt handling.
Added hack to catch invalid SP values during 32031 execution (debug mode only).
2007-12-31 01:46:50 +00:00
Couriersud
3228b1b341 - Updated headers following LN's mail on revisions
- renamed table to _5110a to avoid confusion
2007-12-30 21:48:42 +00:00
Brian Troha
c9a8e71f68 Added the Guru's readme info for Thundercade
Corrected rom name for Thundercade
changed clocks to OSC by divider IE:
  16000000/2 /* 8MHz */
Changed Orbs clock to 16MHz with note about 14.xx MHz
Changed Meta Fox's x0-006 (65c02) to same as Thundercade
Changed the YM3438 in Ultra Toukond Densetsu from 6MHz
 to 1600000/4 /* 4MHz */ as there is no mention of 6MHz
 OSC on PCB
2007-12-30 19:26:09 +00:00
smf-
bb95b2fe55 fixed help for wpset to match the required syntax for checking the data written. 2007-12-30 17:05:00 +00:00
smf-
add1ed21c1 Added guitar freaks 3rd mix revision c. 2007-12-30 15:22:57 +00:00
Couriersud
9652452079 rfjetus
- added note on how to create nvram for rfjetus
2007-12-30 12:25:29 +00:00
Couriersud
1c670facf4 Dkong fixes
- Cosmetic changes
- Fixed regression in radarscp sound
- Added dipswitch locations to dkong3b
2007-12-30 12:04:20 +00:00
Couriersud
4df95f41db - Added dkongjr discrete sound
- Proper interface Z80 - I8035 for dkongjr
- Changed discrete sound output factors
- removed samples support for dkongjr
2007-12-30 01:38:30 +00:00
Couriersud
e15832fcb4 Added discrete 74LS624(56789) implementation
- DISCRETE_74LS624 is a VCO needed for dkongjr
- Supports Logic, Energy and Count outputs
2007-12-30 01:35:45 +00:00
Phil Bennett
83d4e33df8 Replaced tekken2/tekken2a/tekken2b 'tes1wave.8k' ROM with the correct, non-byte-swapped dump. 2007-12-29 11:49:02 +00:00
Aaron Giles
c6e5e16748 Updated Zeus to handle waveram like the Zeus2
Added save state support to the Zeus games
Updated driver flags
2007-12-28 18:16:09 +00:00