Commit Graph

4007 Commits

Author SHA1 Message Date
Ryan Holtz
b723f83edc Added savestate support to the following devices: [MooglyGuy]
- TTL74148, TTL74153
Removed anonymous timers from gridlee and added savestate support [MooglyGuy]
Added savestate support to all games in 40love.c, 88games.c, 1943.c, carpolo.c, circus.c and exidy.c: [MooglyGuy]
- 40love, fieldday, undoukai, 88games, konami88, hypsptsp, 1943, 1943j, 1943kai, carpolo, circus, circusse, robotbwl, crash, ripcord, sidetrac, targ, targc, spectar, spectar1, rallys, phantoma, mtrap, mtrap3, mtrap4, venture, venture2, venture4, teetert, pepper2, hardhat, fax, fax2
2009-01-04 22:33:11 +00:00
Aaron Giles
3701e7c374 And even more dangling code in galaxold.c. 2009-01-04 22:32:12 +00:00
Aaron Giles
eba6cff7c5 Dangling code removal from scobra as well. 2009-01-04 22:27:07 +00:00
Aaron Giles
9165297ffc Removed dangling old code from scramble.c 2009-01-04 22:21:54 +00:00
Angelo Salese
5fabf88271 02644: tdragon, tdragon1, hachamf: Coin counter doesn't decrease [Angelo Salese] 2009-01-04 22:18:12 +00:00
Luca Elia
413ba46a0e Added crsbingo to subsino.c.
Marked some PALs as bad in jingbell.

New games marked as GAME_NOT_WORKING
------------------------------------
Cross Bingo [f205v]
2009-01-04 13:15:44 +00:00
Aaron Giles
dead7010da Another out-of-bounds error caught by randomizing memory. 2009-01-04 07:06:12 +00:00
Aaron Giles
38b9895e51 Fixed a few out-of-bounds errors revealed by randomly initializing auto_malloc()
memory.
2009-01-04 06:59:08 +00:00
Ryan Holtz
d6bbd1cbde Changed Status Trivia 2 (and related games) clock to 13.684MHz to fix game speed. Still wrong, but better than before. [MooglyGuy] 2009-01-04 06:08:57 +00:00
Aaron Giles
41879d052a Removed bogus port 4-7 definitions from MCS-48. Added i8243
implementation. Connected 8243 properly to monsterb and 
system 16a sound. Changed draw80pkr to connect the PROG
line like videopkr.
2009-01-04 03:35:12 +00:00
Brian Troha
a4455577a0 re-ordered some clones newest to oldest... slight rename of the jojo sets 2009-01-04 02:10:03 +00:00
Phil Bennett
0d4a9e7e2d Fix 02799: mace: No player 2, button 4 available for mapping 2009-01-04 00:09:04 +00:00
Phil Bennett
90a9f17cd4 It's actually 'Power-JC System'... 2009-01-03 23:28:45 +00:00
Roberto Fresca
52c56d3ee0 Slot Carnival:
- Added gfxdecode & palette lenght to the machine driver, so tiles stuff can be viewed through F4 in case of someone wants to help.
- Defined SND_CLOCK for the ay8910.
2009-01-03 22:10:28 +00:00
Angelo Salese
796226f59f Fixed more stuff with Diamond Derby,game is playable but not yet working (due of a subtle bug,see source) [Angelo Salese] 2009-01-03 19:10:48 +00:00
Roberto Fresca
bc684e993c New driver for Slot Carnival. (1985, Wing Co. Ltd) [David Haywood, Roberto Fresca]
The driver is quite complete, but need some work to get proper colors and reels support.

New games marked as GAME_NOT_WORKING
------------------------------------
Slot Carnival [David Haywood, Roberto Fresca]
2009-01-03 17:26:35 +00:00
Angelo Salese
3fbfe210ab Wrote a preliminary driver for the original Magic Card [Roberto Fresca,David Haywood,Angelo Salese]
New games marked as GAME_NOT_WORKING
------------------------------------
Magic Card [Roberto Fresca,David Haywood,Angelo Salese]

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

This thing is pretty Amiga-ish...How much similar is this one to the Amiga HW?
2009-01-03 16:55:01 +00:00
Phil Bennett
67b625e3e9 New games marked as GAME_NOT_WORKING
------------------------------------
Operation Tiger [Chris Hardy, Phil Bennett]
2009-01-03 16:42:51 +00:00
Roberto Zandona
1789136165 cb2001: last table version 2009-01-03 14:49:56 +00:00
Luca Elia
a5d9d44c00 Improved mgcs. It now runs through attract mode.
[Luca Elia]

It still locks up as soon as one coins up though,
due to the unemulated IGS029 protection.
2009-01-03 14:16:25 +00:00
Roberto Zandona
a689b835b7 cb2001: some opcodes (from interrupt routine)
there's a fint (0f 92) opcode -> it's surely a encrypted v30
2009-01-03 13:47:59 +00:00
Roberto Zandona
da44a4ebe6 added another opcode 2009-01-03 13:08:39 +00:00
Roberto Zandona
48e581baa2 cb2001: new opcodes (the start up code is similar to cmast91) 2009-01-03 11:46:09 +00:00
Pierpaolo Prazzoli
496b8503d9 Fixed Super Triv colors (maybe)
Someone wants to fix the sound as well?
There's also an unknown bit for the tilemap, used for the whole title box.
2009-01-03 10:57:37 +00:00
Aaron Giles
a1e098a078 Changed P4 control to the PROG line, which is more likely. The way to toggle
the PROG line is to read/write/and/or to ports 4-7. Since the board doesn't
list an 8243 port expander, it is likely the "writes" to port 4 are really
just a mechanism to get the PROG line to toggle to clear the interrupt.
2009-01-03 08:44:30 +00:00
Ryan Holtz
a783dfc3c6 Audited and added GAME_SUPPORTS_SAVE to 4enraya [MooglyGuy] 2009-01-03 04:30:04 +00:00
Roberto Fresca
0ff277afe4 Lots of improvements to the different Cherry Master hardwares. [Roberto Fresca, David Haywood]
Added new sets, created new machine drivers, fixed colors, added PPI devices, created new 8255 and ay8910 interfaces, worked out inputs and DIP switches from the scratch, fixed memory maps, merged the cherrym2.c driver with goldstar.c and much more...


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Cherry Master (Corsica, ver.8.01) [Roberto Fresca]
Cherry Master (ver.4) [Roberto Fresca, David Haywood]
Cherry Master I (ver.1.01) [Roberto Fresca, David Haywood]
2009-01-03 04:09:31 +00:00
Ryan Holtz
1ea15d973c Audited and added GAME_SUPPORTS_SAVE to all games on statriv2 hardware [MooglyGuy] 2009-01-03 03:28:50 +00:00
Angelo Salese
e31a7d847f Fixed some stuff with Diamond Derby [Angelo Salese]
========

Actually fixed hackish things from the last update by "Mike Green",I'll finish this off tomorrow,it's playable if you hack the 8880-888f areas to ff just 
before the "token error"...
2009-01-03 03:08:27 +00:00
Ryan Holtz
506b82aa17 Log:
Audited and added GAME_SUPPORTS_SAVE to all games on mrdo and docastle hardware [MooglyGuy]
2009-01-03 02:26:34 +00:00
Aaron Giles
e71d65e896 Added simple built-in layout for polepos showing the position of the shifter
(this works thanks to recent changes from Nathan; in fact, any input can
affect the state of an artwork element). Removed debug build hack to popmessage
the shifter state.
2009-01-03 00:47:44 +00:00
Roberto Zandona
81d05dc866 cb2001: added another opcode 2009-01-02 21:57:02 +00:00
smf-
52e71a1f3f Fix for odd word dma transfers, found by OG. 2009-01-02 20:30:48 +00:00
Angelo Salese
99103e89bb Fixed layer enable,flip x & x/y position in goodejan.c driver [Angelo Salese]
=============

Several Seibu games (i.e. D-Con,sdgndmps,Sengoku Mahjong,goodejan/totmejan and the raiden2.c/legionna.c games) all have a standard 0x48 (0x50?) 
regs-wide C.R.T.C. 

I wonder if it is a custom Seibu crap or a known video chip,would be good if somebody can do tests on it. For sure,it should be abstracted,this 
commit was made by looking mostly at Sengoku Mahjong.
2009-01-02 20:08:54 +00:00
Aaron Giles
84618c3f7a romload cleanups:
- added running_machine to internal structure, removed as explicit parameter
 - added new function rom_file_size() to compute the size of a ROM
 - removed rom_first_chunk() and rom_next_chunk() which are no longer needed
 - changed progress display to be based on size of ROMs loaded, not number
 - changed temporary load buffer to be dynamically allocated
 - fixed reload logic to handle skipped BIOSes

Also changed rand_memory() to use a fixed seed for consistent behavior.
2009-01-02 19:20:55 +00:00
Aaron Giles
b7c652b8dd Removed a couple of unnecessary typedefs from mamecore.h.
Updated romload to use an astring for accumulating errors (I always feared
busting that buffer with some huge romlist).
2009-01-02 17:26:37 +00:00
Aaron Giles
74d7495dbc 02104: metlhawk, metlhwkj: Crash while decoding with '-debug' trigger
Fixed auto_malloc() along the way to randomize its memory when allocated in
the debug build. This used to be the standard, but it seems to have been removed 
when the pool allocation was moved into the library.
2009-01-02 16:55:07 +00:00
Angelo Salese
fc7e4f0f46 Added NO_DUMPS for the VHS on hnxmasev,hnageman,av2mj1bb and av2mj2rg [Angelo Salese] 2009-01-02 14:22:38 +00:00
Aaron Giles
0b2c86bb02 Cleaned up the profiler. Reduced its runtime overhead significantly by
inlining the check to see if it is running. Removed obsolete entries
and updated the text to more accurately describe each one. Added CPU
tags to the CPU names. Switched to using an astring for building the
final string.

Unfortunately, still a bit too much overhead to leave it on in all builds.
2009-01-02 10:52:40 +00:00
Aaron Giles
ba92f06dd7 Minor tweaks to please valgrind. 2009-01-02 10:50:40 +00:00
Pierpaolo Prazzoli
3ccd54014d Fixed speed-up for Vamf x1/2 (Europe) 2009-01-02 09:46:20 +00:00
Aaron Giles
967eb6ef16 Fixed minor glitch in UI display of screen information. 2009-01-02 08:23:53 +00:00
Aaron Giles
403fca8a23 Fixed rendering of slider controls so it doesn't overlap when menus get large. 2009-01-02 08:20:04 +00:00
Aaron Giles
196b8abe93 Fix royalngt regression. 2009-01-02 07:46:47 +00:00
Aaron Giles
e49f88d17d 02575: taitogn: Not marked as bios in -listxml 2009-01-02 05:58:55 +00:00
Aaron Giles
fecf3709fc 02141: sunaq: At the Title, Game is Crash 2009-01-02 04:15:50 +00:00
Aaron Giles
150d84a552 Oops, undo an accidental change in 6850acia that broke the bfcobra games, among others. 2009-01-02 03:25:15 +00:00
Angelo Salese
fc90b8fd1d Added a work-around for 2 Minute Drill,to get it booting again. [Angelo Salese]
==============

irq 5 code is this one:

04425A: 007C 0500                  ori     #$500, SR
04425E: 0279 FFEF 0060 000C        andi.w  #$ffef, $60000c.l
044266: 0079 0010 0060 000C        ori.w   #$10, $60000c.l
04426E: 48E7 0080                  movem.l A0, -(A7)
044272: 206D 1C18                  movea.l ($1c18,A5), A0
044276: 30F9 0070 0002             move.w  $700002.l, (A0)+
04427C: 2B48 1C18                  move.l  A0, ($1c18,A5)
044280: 4CDF 0100                  movem.l (A7)+, A0
044284: 4E73                       rte

60000c is an unknown port,but 700002 is for arm power sensor. So I'm guessing that's not related at all with the ym sound chip.
I'll check this again at some point...
2009-01-02 01:42:23 +00:00
Aaron Giles
b931a734df zr107 crash fixes. 2009-01-02 01:03:23 +00:00
Aaron Giles
d52a995f15 Same assertion fixes for wwfsstar/wwfwfest drivers. 2009-01-02 00:48:18 +00:00
Aaron Giles
78f5d6e9ea Fix shadfrce assertions. 2009-01-02 00:46:23 +00:00
Aaron Giles
9ce87edb3f Fixed crash in aica games due to initialization code blowing away the device pointer. 2009-01-02 00:43:05 +00:00
Phil Bennett
2789bac1fe Remaining fixes for 02760: Games using MC6845: Crash with an error on startup before OK.
Fixed xsedae validation warning.
2009-01-02 00:33:59 +00:00
Aaron Giles
6e84bc886d Fix for assertion in ddragon3 driver. 2009-01-02 00:30:02 +00:00
Aaron Giles
c2b4b32688 Checksums for mach3 and usvsthem. Promoted both to working. 2009-01-02 00:29:41 +00:00
Angelo Salese
fccb297a95 Added Mahjong Gaiden to the nbmj8688.c driver [David Haywood]
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Mahjong Gaiden [David Haywood]
2009-01-01 23:43:03 +00:00
Brian Troha
27fc534abb slightly update the game description for DK Foundry 2009-01-01 23:39:17 +00:00
Brian Troha
1109fb653b adds clones with the graphic hack "Dux" by Two Bit Score to Centipede and Millipede
Was discussed on the list a while back and ok'ed but no one ever added it.

No credit please ;-)
2009-01-01 23:31:52 +00:00
Aaron Giles
2407e06237 ldplayer works again. Added MDRV_LASERDISC_GET_DISC callback hook
which allows for dynamically finding the CHD, rather than relying 
on the DRIVER_INIT hackery that was there before.
2009-01-01 23:05:52 +00:00
Angelo Salese
776596cc63 Added AV Hanafuda Hana no Christmas Eve and AV Hanafuda Hana no Ageman to the nbmj8891 driver.Playable but not working (missing VHS dump/emulation) [Angelo Salese]
New games marked as GAME_NOT_WORKING
------------------------------------
AV Hanafuda Hana no Christmas Eve [Angelo Salese]
AV Hanafuda Hana no Ageman [Angelo Salese]
2009-01-01 23:04:34 +00:00
Brian Troha
d250eb04a0 New clone added
Adds Jeff's Romhack Donkey Kong Foundry set.  I spoke with him before the d2k thing and he gave his permission to use this set with MAME

No credit please ;-)
2009-01-01 22:55:58 +00:00
Brian Troha
0172af4493 corrected sound sample rom name with location. 2009-01-01 22:18:49 +00:00
Aaron Giles
e044b80e97 02676: All Laserdisc Games: Wrong colors using Direct3D on ATI cards
You can't add only 1 pixel to border YUY textures. Changed to add 2 instead
and generate proper borders.
2009-01-01 21:32:34 +00:00
Aaron Giles
c6da1059e1 Turn off giant dump files. 2009-01-01 21:22:42 +00:00
Roberto Zandona
542d0fa5c3 cb2001: added new opcodes 2009-01-01 20:29:31 +00:00
Phil Bennett
b7ef380a5d Fix 02793 funkyjet: Unable to locate input port 'P1'. 2009-01-01 18:16:56 +00:00
Angelo Salese
4ec6abcb58 Added Mahjong Senka/Mahjong Yarou to the Royal Mahjong driver.They suffers the exact same issues as Mahjong Shiyou (i.e. encrypted sub z80 cpu,
that shares the work ram with the main z80) [Angelo Salese]

New games marked as GAME_NOT_WORKING
------------------------------------
Mahjong Senka [Angelo Salese]
Mahjong Yarou [Angelo Salese]
2009-01-01 17:34:36 +00:00
Phil Bennett
c32801fb82 Fixed buggyboy I/O, engine sound and tilemap scrolling. 2009-01-01 17:31:23 +00:00
Brian Troha
f901453256 corrected rom names to standard MAME Konami style:
IE: game_rom.location
2009-01-01 16:33:53 +00:00
Brian Troha
e3227346aa minor white space cleaning 2009-01-01 16:31:53 +00:00
smf-
ca91d3bbb0 fixed void function returning a value compile error 2009-01-01 16:11:54 +00:00
Angelo Salese
bf33ccf507 Added X Se Dae Quiz to the raiden2.c,obviously not working like the rest [David Haywood]
New games marked as GAME_NOT_WORKING
------------------------------------
X Se Dae Quiz [David Haywood]
2009-01-01 15:55:46 +00:00
Aaron Giles
5938ef61cd 02790: Mame will crash on single monitor system if set to numscreens 2 in the *.ini. 2009-01-01 01:22:44 +00:00
Roberto Fresca
6645a29484 Decripted Cherry Bonus III (version 1.40 encrypted), added proper work to promote to working status.
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Cherry Bonus III (version 1.40, encrypted) [Andreas Naive, Roberto Fresca]
2008-12-31 18:54:32 +00:00
Roberto Fresca
0a85553367 From David Haywood...
Skeleton driver for Lucky Girl (1991, Wing Co.Ltd.)
2008-12-31 18:48:06 +00:00
smf-
c419b63019 another bldyror2 flash1 redump from guru 2008-12-31 18:23:13 +00:00
Aaron Giles
55afb292df Some minor MCS-48 cleanup. Added 8040/8050 variants. 2008-12-31 16:30:09 +00:00
Angelo Salese
6f2a490788 quick bug-fix for the janoha adding 2008-12-31 13:46:06 +00:00
Phil Bennett
2b9dc5ee31 Fix 02791: cafetime: Access Violation with -debug 2008-12-31 12:33:58 +00:00
smf-
e91a6c28f3 redumped bldyror2 flash1 2008-12-31 08:03:17 +00:00
Brian Troha
5c28238d2a removes some old incorrect statements (about roms not dumped) and tries to better document the "upgrading" or "recycling" of the Dragon Blaze PCBs. 2008-12-31 05:02:57 +00:00
Aaron Giles
379e2e1fdc PTR -> FCT naming for a few remaining items in CPU cores. [Duke, Aaron Giles] 2008-12-31 03:08:34 +00:00
Aaron Giles
88f4221231 From Kevin Eshbach:
atarisy1.c:
 * Support for new Atari System 1 TTL Motherboard dump (Previously MAME would crash when using it and now it just seems to hang.)
 * PROMs dumped from Atari System 1 TTL Motherboard (One PLA needs dumping though.)
 * Added notes on the Atari System 1 Motherboard and some of its supported games

balsente.c:
 * Placeholders in the Bally Sente driver for the various PALs that need to be dumped
 * Added notes on some of the type of Bally Sente cartridges

galaga.c:
 * Placeholders in the Galaga driver for various PALs that need to be dumped
 * Added notes on the two different Atari Dig Dug board revisions

galaxian.c:
 * Added notes to the Galaxian driver on the single board Galaxian bootleg and the board labels for Lost Tomb and Turtles

ms32.c:
 * Placeholder in the Jaleco MegaSystem 32 driver for the PAL on the motherboard

namcofl.c:
 * Placeholder in the Namco FL driver for the PALs on Speed Racer

popeye.c:
 * Corrected the rom names for Popeye
 * Added save state support to Popeye
 * Added the dip location to the encrypted Popeye and fixed the coin settings according to the manual (unencrypted Popeye not changed)

rocnrope.c:
 * Placeholder in the Roc 'n Rope driver for a PAL 

tutankhm.c:
 * Added the dip locations to Tutankham

tx1.c:
 * Placeholder in the Buggy Boy Jr. for the various PALs
2008-12-31 03:02:07 +00:00
Aaron Giles
a748f24dae Added the ability for a ROMset to specify a default BIOS. Use
ROM_DEFAULT_BIOS("biosname") in the ROM definition. This can be
used to ensure a correct default BIOS for ROM versions that care.
2008-12-31 02:58:30 +00:00
Brian Troha
bd543ab54f re-adds the 2 Tetris Grand Master 2 games.
please revert if found to be inappropriate

No credit please ;-)
2008-12-31 02:40:32 +00:00
Aaron Giles
10ba2e18e9 Improved graphics and sound in Grand Prix '98 [David Haywood] 2008-12-31 02:38:01 +00:00
Aaron Giles
200345b6da 02714: 3stooges: Speech works for a while, then starts going in and out of horrible noise and static
Interim fix, waiting until 0.129 is done before trying to sort out IRQ
handling for real.
2008-12-31 02:36:09 +00:00
Aaron Giles
a08644c8ff Converted gottlieb speech driver to use polling for SP0250 DRQ line. 2008-12-31 02:26:22 +00:00
Aaron Giles
c5915ad2e5 Not working:
9-Ball Shootout Championship [David Haywood]
2008-12-31 02:23:10 +00:00
Phil Bennett
d99d6e84b9 New games marked as GAME_NOT_WORKING
------------------------------------
Landing High Japan [Ordyne, Phil Bennett]
2008-12-31 00:13:22 +00:00
Aaron Giles
951bb250e5 Added polling hooks for SP0250 DRQ line. The callback is now optional.
If not provided, then the kick timer is not used.
2008-12-30 22:02:10 +00:00
Aaron Giles
3d7b496183 REP instructions with high interleave would never complete.
Also fixed cpu.mak dependencies for i286.
2008-12-30 22:00:54 +00:00
Aaron Giles
7416f961fa Correct clocks, video parameters, merged memory maps. 2008-12-30 21:08:32 +00:00
Aaron Giles
c96bd5b910 Added new frontend option -listbrothers. This will list all "brothers"
of a given driver, meaning those drivers that come from the same source
file, along with their parent names if they are clones. If a wildcard
name is specified for the driver, then the first driver in a given
source file will trigger a list of his brothers, and any other drivers
in the same source file which match the wildcard will be flagged.
2008-12-30 20:19:04 +00:00
Aaron Giles
06970c54a7 Added two new Windows OSD options: -debugger_font and -debugger_font_size,
which control the font and size used in the debugger text Windows. These 
default to "Lucida Console" and 9pt, which is the same face as previously 
hard-coded but 1pt larger. Personally, I prefer "Consolas" 9pt, which is
one of the new "C" fonts included with Windows Vista and later (also
available for free download on older systems). Note that only fixed-width
fonts really work here, for obvious reasons.
2008-12-30 19:43:34 +00:00
Aaron Giles
e0c6f269de Made xsleena run at perfect interleave and simplified the shared RAM.
Also moved to modern banking and cleaned up memory maps a bit.
2008-12-30 17:01:42 +00:00
Aaron Giles
9d08f4fa9e 02768: mk3, mk3r20, mk3r10, mk3p40, umk3, umk3r10, umk3r11 : Roms incorrectly named as umk3 instead of mk3 + two versions of U2 SOUND ROM
(Also spacing cleanup in ppccom.h)
2008-12-30 16:41:18 +00:00
Aaron Giles
a7071bb8cb Hooked up PPC602 IBR. 2008-12-30 07:02:01 +00:00
Aaron Giles
c303794661 Hooked up DSA/ESA instructions for PowerPC 602 (as no-ops for now).
polystar gets a little farther but crashes when the sub cpu attempts
to enable interrupts.

Removed HAS_PPC* in favor of a single HAS_POWERPC, and a single
definition in cpu.mak for all PowerPC variants.
2008-12-30 06:54:17 +00:00
Aaron Giles
13fff98e5f 02773: all gamecstl.c sets: [debug] Assertion 2008-12-30 06:08:55 +00:00