Commit Graph

7632 Commits

Author SHA1 Message Date
Scott Stone
486408ca6c Fixed both:
03589: mystston, myststono: VSYNC does not match original PCB [Corrado Tomaselli]
03588: mystston, myststono: Music is faster than original PCB [Corrado Tomaselli]
2009-12-20 21:12:07 +00:00
Scott Stone
290de3bfc6 Fixed 03592: outrun, outrunra, outruno, outrundx, outrunb: Master clock is incorrect.
I also made all clock values XTALs in segaorun.c.
2009-12-20 20:34:51 +00:00
Ryan Holtz
9f1f17d6cd Forgot a few files. 2009-12-20 20:34:01 +00:00
Ryan Holtz
7ab8a6d8f6 More RDP optimization through branch flattening. [Harmony] 2009-12-20 20:12:04 +00:00
Roberto Zandona
dd5315d0ce chnged an opcode (no whats new) 2009-12-20 19:38:49 +00:00
Brian Troha
2979b1329f fix spelling and wording from the last merit.c update. 2009-12-20 19:14:08 +00:00
Brian Troha
2c3fc7437a Corrected several rom names in various sets. Cleaned up some white space. Added misc notes about alternate rom labels and question sets. [Brian Troha] 2009-12-20 19:07:38 +00:00
Angelo Salese
9045f619dd Fixed sprite-tilemap priorities in Super Slams [Angelo Salese] 2009-12-20 17:36:28 +00:00
Roberto Zandona
38ccda1646 added ay8910 and 8255ppi devices
added some info about relation between cmast91 and cb2001
2009-12-20 17:26:43 +00:00
Aaron Giles
30d57e3f48 Minor drc improvments:
- simplified RSP's misaligned memory accesses
 - removed now-unnecessary shifts from direct memory accesses in
    mips3/powerpc drcs
 - optimized AND with 0xff/0xffff/0xffffffff cases for x86/x64
 - added rudimentary memory/register tracking in x86 backend to
    remove redundant loads
2009-12-20 15:21:26 +00:00
Fabio Priuli
f0358680a7 Updated ajax.c, bottom9.c, chqflag.c, rollerg.c, spy.c, surpratk.c to use Konami video devices 2009-12-20 15:18:01 +00:00
Scott Stone
c328e6c190 1943.c - Added comment to document the special procedure needed to access all Service Mode tests. 2009-12-20 04:06:16 +00:00
Ryan Holtz
d47b36dae1 Optimized N64 RDP renderer by using function pointers to function variants that eliminate costly branches. [Harmony] 2009-12-20 01:10:21 +00:00
Couriersud
c58957452c Fix 64-bit compile 2009-12-19 23:37:21 +00:00
Couriersud
3af4cd9bec Added option "numprocessors"
-numprocessors <auto|value>
        Specify the number of processors to use for work queues. Specifying
        "auto" will use the value reported by the system or environment 
        variable OSDPROCESSORS. To avoid abuse, this value is internally limited
        to 4 times the number of processors reported by the system. 
        The default is "auto".
2009-12-19 23:12:07 +00:00
Scott Stone
da19077b98 gomoku.c, sspeedr.c - Added DIPS and changed clock values to XTAL
nitedrvr.c, tourtabl.c - Changed clock values to XTAL
2009-12-19 21:51:30 +00:00
Angelo Salese
3b659a1211 luckgrln: Implemented CRT Controller hook-up 2009-12-19 18:21:01 +00:00
Angelo Salese
f3ba692e44 removed a pointless log 2009-12-19 15:48:36 +00:00
Angelo Salese
a7df1ce05f Fixed a bunch of protection quirks found in Cross Bingo.
(And yes, they won the prize "lamest protection ever" by protecting the attribute RAM of a tilemap element...)
2009-12-19 15:23:28 +00:00
Angelo Salese
5aa4e7d8b8 New Working game
----------------

Poker Carnival [David Haywood, Angelo Salese]
2009-12-19 14:58:48 +00:00
Phil Bennett
b377e78e73 New clones added
----------------

ST-V BIOS 1.11 [2 sets - Japan and Taiwan] [XingXing]
2009-12-19 14:55:52 +00:00
Fabio Priuli
707c4d14cc updated gradius3.c, mainevt.c & gijoe.c to use Konami video devices 2009-12-19 14:32:33 +00:00
Phil Bennett
b1293d18ac Fix crash in tilemap viewer when driver has no tilemaps (no whatsnew) 2009-12-19 14:28:22 +00:00
Angelo Salese
06c1f8edbf Fixed decryption in Cross Bingo [David Haywood] 2009-12-19 14:07:36 +00:00
Phil Bennett
123f4decc7 Fixed NULL pointer dereference in tilemap_set_flip_all() when game has no tilemaps (no whatsnew) 2009-12-19 14:04:10 +00:00
Aaron Giles
c3fb047204 Added new profiler bucket for DRC recompilation.
Removed a number of extraneous sign extensions from the RSP DRC.
2009-12-19 08:50:34 +00:00
Brian Troha
0995630b65 Update the Asian Phoenix Hyper Street Fighter 2 to use the same hs2.07 rom instead of the calling the rom hs2a.07 2009-12-19 06:23:00 +00:00
Ryan Holtz
2e65d4a968 RSP recompiler improvements / optimizations: [Harmony]
- Split SATURATE_ACCUM into a signed and unsigned version to reduce stack usage.
 - Corrected an issue with the 0h variants of VMRG, VAND, VNAND, VOR, VNOR, VXOR and VNXOR.
 - Slightly optimized unaligned reads and writes
 - Optimized unaligned dword reads
 - Corrected an issue where badly-written RSP programs could jump to invalid addresses
2009-12-18 23:14:19 +00:00
Angelo Salese
6bbda18272 Added a bunch of inputs for Victor 21 2009-12-18 19:37:40 +00:00
Aaron Giles
21a522e0ee Clean up initialization, timer usage, memory management in several
drivers.
2009-12-18 17:56:25 +00:00
Angelo Salese
0baad6db2c New Working game
----------------

Victor 5 [David Haywood, Angelo Salese]

(Protection is way much easier than expected...)
2009-12-18 17:56:01 +00:00
Scott Stone
691d9cacb5 hexa.c - Added DIP LOCATIONS as well as assigned XTAL for the clock speeds, using those from Arkanoid, since the boards are nearly identical in many aspects.
Comments:  I've noticed enough similarities in this game to Arkanoid to consider merging this into arkanoid.c, or establishing a drkorea.c file containing Hexa and Tetris (D.R. Korea) version which is already in arkanoid.c.  Any thoughts?
2009-12-18 17:41:09 +00:00
Angelo Salese
f176f8198d New Working game
----------------

Victor 21 [David Haywood, Angelo Salese]
2009-12-18 13:49:48 +00:00
Angelo Salese
8ac68d079a Fixed input ports in Victor 5 / Victor 21, I'll hook-up inputs on a later date 2009-12-18 12:53:42 +00:00
Angelo Salese
18aa27260b Fixed display in Victor 21 [David Haywood] 2009-12-18 12:32:18 +00:00
Fabio Priuli
adf3319b1c Made machine->gfx[num] choice (when starting Konami devices), independent of the device order
Updated overdriv.c to use the Konami video devices

Commit of machine/simpsons.c that I forgot to commit earlier (sorry)
2009-12-18 12:30:33 +00:00
Miodrag Milanovic
ef4d608713 SCMP assert fix (No whatsnew is needed) 2009-12-18 11:55:30 +00:00
Fabio Priuli
8a363b4e08 Improved a few Konami device interfaces, moved most rom deinterleaving to DEVICE_START and fixed k053250 (init and handlers)
Updated parodius.c, simpsons.c, thunderx.c, vendetta.c and xexex.c to use the new video devices
2009-12-18 09:00:09 +00:00
Aaron Giles
e6e51ca4bc Fix MSVC warning. 2009-12-18 06:41:20 +00:00
Angelo Salese
6153136640 Added preliminary inputs to Victor 5, also noticed that this game is actually protected (card combinations + prize counts). 2009-12-17 21:29:14 +00:00
Angelo Salese
279beb1db8 Improvements to Victor 5, Victor 21 and Cross Bingo [David Haywood, Angelo Salese] 2009-12-17 20:55:44 +00:00
Angelo Salese
2391c9aa79 Added preliminary decryption to Victor 5, Victor 21 and Cross Bingo [David Haywood]
Decoded Cross Bingo proms [Angelo Salese]
2009-12-17 19:21:19 +00:00
Scott Stone
5511f14f12 ggconnie.c - Added DIP LOCATIONS to match those showing in service mode. Added game year to source from title screen. 2009-12-17 16:54:50 +00:00
Angelo Salese
38c85d8f57 Obviously me isn't me if I don't do silly errors :/ 2009-12-17 16:53:45 +00:00
Angelo Salese
9cabaac449 New Working game
----------------

Shark Party (Italy, v1.3) [David Haywood, Angelo Salese]
2009-12-17 16:48:36 +00:00
Angelo Salese
78b266473b Decrypted Shark Party, game now boots without inputs [David Haywood] 2009-12-17 16:15:13 +00:00
Fabio Priuli
468decb293 Converted aliens.c, blockhl.c, crimfght.c and gbusters.c to use Konami video devices 2009-12-17 07:20:15 +00:00
Fabio Priuli
93878fd7c2 Fixed crash in cpspicb games (audiocpu is disabled -> no banks) and removed bankptr from fcrash.c 2009-12-17 06:43:37 +00:00
Fabio Priuli
bb388def9e Fixed 32bit compile (un-commented a line in konicdev.c)
I had missed this because I tested a debug+symbols build and it ignores warnings. my bad
2009-12-17 06:32:20 +00:00
Andrew Gardner
1a8d95b3de Re-implemented 3d rasterization in the hng64 driver as a FIFO system.
(This unfortunately didn't solve the flicker problem, but there 
are other theories as to why that happens.  They will be tested
soon.)

(But first I'm going to try to get the 3d rendering in games other
than fatfurwa and buriki)
2009-12-17 05:05:10 +00:00
Brian Troha
002508ee0c clean up whitespace from last naomi.c update 2009-12-17 03:03:26 +00:00
Brian Troha
c7b847a113 adds new Naomi 1 & 2 Export BIOS
Adds newer Export BIOS to the GD-ROM BIOS list (both G & H)
Removed redundant comment about F355 BIOS

No whatsnew please ;-)
2009-12-17 02:58:39 +00:00
Ryan Holtz
0534f875b9 Fixing the RSP disassembler, no whatsnew. 2009-12-17 02:18:15 +00:00
Brian Troha
3a3b1e4519 mark the 07 rom in the set Hyper Street Fighter 2: The Anniversary Edition (Japan 031222) as a bad_dump. The "Japanese" 07 rom differs by a single bit. Marking it as bad will hopefully get a redump at some point. 2009-12-17 01:58:58 +00:00
Scott Stone
e79bc04fc2 sbowling.c - Added proper COINAGE selections as well DIP LOCATIONS to the driver. Added mapping for button 1 which is used to allow change from curve to straight throw. Replaced clock speeds with XTAL values. 2009-12-17 00:48:03 +00:00
Ryan Holtz
60ba4bbfad Fixing Aleck 64 games from hanging, forgot a file. No whatsnew... 2009-12-16 23:49:58 +00:00
Ryan Holtz
f9045e7268 [RSP] Preliminary RSP recompiler, with all vector ops stubbed out to C functions for now. [Harmony] 2009-12-16 23:26:58 +00:00
Angelo Salese
6a6b1eb094 Actually fixed colors for good 2009-12-16 22:22:11 +00:00
Angelo Salese
ea3dd72d94 Super Rider: improved bitplane order and colors 2009-12-16 22:16:56 +00:00
Fabio Priuli
dc96a004e6 some more Konami work (again):
* fixed 053936 init which was giving problems to f1gp2 (in debug build only, apparently)

* removed banptr preventing proper save states in rockrage.c: now save works fine

* added driver data struct and saves states to f1gp.c, fastlane.c, flkatck.c, hcastle.c, labyrunr.c and suprslam.c
2009-12-16 21:59:36 +00:00
Fabio Priuli
9e298f5f96 Fixed longstanding bug MT00400: combascb: since 0.79 this game have some graphic bugs, on the "players" screen, and some scrolling problems on 1st stage.
It seems nobody noticed that default writes to io_ram got lost in the 0.78->0.79 update
2009-12-16 21:49:04 +00:00
Brian Troha
a76bfc1875 New clone added: Hyper Street Fighter 2: The Anniversary Edition (USA 040202)
New Clone Added
-------------------------------------------
Hyper Street Fighter 2: The Anniversary Edition (USA 040202) [Artemio Urbina, David Haywood]
2009-12-16 21:25:09 +00:00
Angelo Salese
f9f9ca6f9a Trivia Madness: Improved graphics & colors [Angelo Salese] 2009-12-16 19:48:08 +00:00
Angelo Salese
2ba1316646 Sky Army: cleaned up the driver, also removed the GAME_WRONG_COLORS flag since the colors actually seems correct according to the references. [Angelo Salese] 2009-12-16 16:59:45 +00:00
Angelo Salese
449143fec6 Carrera: fixed colors [Angelo Salese] 2009-12-16 15:51:01 +00:00
Angelo Salese
5dc1be9b98 Koi Koi Part 2: written an hardcoded table (disabled by default), concluded that a color prom is currently undumped. Also documented a bunch of unused ports [Angelo Salese] 2009-12-16 14:41:23 +00:00
Curt Coder
3dde298da4 CIA6526: fixed FLAG handling 2009-12-16 12:11:52 +00:00
Fabio Priuli
b2c155b9f7 Fix for MT03575: block2: [debug] Memory Leak in Debug 2009-12-16 10:48:42 +00:00
Fabio Priuli
334c553890 some more Konami wip:
* fixed 056832 device start order to avoid wrong settings for layer 0. updated asterix.c and moo.c to use the device implementation now that it's working correctly.

* added driver data struct to 88games.c, combatsc.c and rockrage.c

* added driver data struct and save states to battlnts.c, bladestl.c, crshrace.c and contra.c

* renamed combasc to combatsc now that clones can have longer names
2009-12-16 10:47:22 +00:00
Phil Bennett
85d7a3fb99 03569 escounts: Access Violation after OK [Phil Bennett] 2009-12-15 19:55:31 +00:00
Fabio Priuli
dd269def34 Moved SNES timer allocation to MACHINE_START 2009-12-15 17:28:22 +00:00
Fabio Priuli
908778a92e Updated Guru's readme for coolridr.
Also added info bits (which seemed of interest to me) from Guru's mails.
2009-12-15 17:27:10 +00:00
Curt Coder
ff5c33c8d1 CIA6526: slight interface cleanup 2009-12-15 12:36:38 +00:00
Aaron Giles
3292e64a31 DCS, CAGE, and V-unit timers are now devices. 2009-12-15 08:51:50 +00:00
Aaron Giles
fdcfa2a467 Changed ticket.c into a device, updated all users. 2009-12-15 08:10:30 +00:00
Andrew Gardner
c3916b36c9 (not whatsnew.txt worthy)
Last refactoring pass before doing the 3d FIFO.
2009-12-15 06:28:28 +00:00
Aaron Giles
26d1e3868a Some more atari driver shuffling. Added atarigen_init() function
which allocates all timers and registers for save states.
Updated all drivers to call it. Converted some drivers to use
device timers.
2009-12-15 05:41:34 +00:00
Aaron Giles
f43747b221 Some misc cleanups:
- added warning messages for auto_malloc, timer, and save state
    allocations done after init time. These should be fixed when
    detected, as I would eventually like to disallow them entirely.
 - changed state registration functions to pass through the caller's
    file and line number to facilitate fixing the above warnings
 - converted Taito F3 sound to a separate machine driver which is
    imported into games that use it
 - converted the balsente driver to driver_data structure
 - converted harddriv timers into devices
 - fixed crash in cps2 games due to not configuring the qsound bank
 - cleaned up initialization in taito_l to allocate at init time
    instead of reset time
2009-12-15 02:37:46 +00:00
Aaron Giles
c1c28e486b Fix crash on exit for systems with no tilemaps. 2009-12-15 00:28:30 +00:00
Fabio Priuli
75bf0c5a10 On behalf of David Haywood: added redumped roms to coolridr 2009-12-14 18:39:39 +00:00
Fabio Priuli
f2a4c06f27 Misc Konami updates:
* moved k056800 sound device to emu/sound and removed the old code (mame/machine/konamiic.c )
* updated gticlub.c, hornet.c, nwk-tr.c, ultrsprt.c and zr107.c to use this implementation
* fixed various small (and not so small) problems in konicdev.c
* as a result Konami 007342, 007420, 052109, 052160 and 051316 devices are now working and 88games.c, battlnts.c, bladestl.c and rockrage.c have been updated to use them
2009-12-14 17:58:20 +00:00
Aaron Giles
eb025378a9 Fix tilemaps so they can be initialized at device start time. 2009-12-14 07:33:54 +00:00
Aaron Giles
9dacb74ef0 Fixed obvious typo. 2009-12-14 07:19:00 +00:00
Fabio Priuli
bf07322216 Added preliminary device versions of all the Konami custom ICs currently emulated in machine/konamiic.c and video/konamiic.c.
In particular, device-fied Konami 007121, 051733 and 053251 work fine and combatsc.c, contra.c, crshrace.c, f1gp.c, fastlane.c, flkatck.c, hcastle.c, labyrunr.c and suprslam.c have been converted to use the new code.


Side notes: 
* chips which have their own tilemap in MAME (e.g. 056832 and 052109) are not working yet, and other chips cannot be fully tested because they're used together with these... it's still wip
* some cleanup is in order (especially for interfaces), once I get the remaining chips to working state
* converting the drivers above, I noticed that f1gp2 was only using half of the k053936 regs: this is now fixed and, even if I don't know of any visible improvements, now there are definitely less unmapped writes logged by the debugger ;)
2009-12-14 01:32:51 +00:00
Fabio Priuli
d8e3212c7b Added driver data struct to 8080bw.c and mw8080bw.c. Also merged the .h files. 2009-12-14 01:17:45 +00:00
Fabio Priuli
5424444497 Added SET_TILE_INFO_DEVICE to tilemap.h (it should be correct) 2009-12-14 01:15:48 +00:00
Aaron Giles
8bccdbd5cc Enhanced the UML opcodes for LOAD, LOADS, and STORE to support
arbitrary scaling factors. Previously, specifying a size implied
a scaling factor equal to the size (i.e., specifying DWORD meant
the index was scaled by 4). This is still the default. However,
now you can specify the scale explicitly for other cases. For
example, you can specify DWORD_x1 to fetch a DWORD but don't
scale the index at all, or BYTE_x8 to fetch a BYTE while scaling
the index by 8. Updated all backends to make this work.
2009-12-13 20:01:26 +00:00
Phil Bennett
c254101a9a 03572: pandoras: [possible] Music pitch/speed is too high. [Phil Bennett] 2009-12-13 12:45:07 +00:00
Fabio Priuli
8bdb970d1d Made MB14241 Shifter IC a device and moved its source to emu/machine. Updated mw8080bw.c and 8080bw.c accordingly. Also converted fgoal.c to use this implementation in place of its own version. 2009-12-13 12:03:51 +00:00
Fabio Priuli
4d2eba9882 Added TILE_GET_INFO_DEVICE macro to tilemap.c
Added driver data struct and save states to malzak.c
2009-12-13 11:59:35 +00:00
Fabio Priuli
30e421aac2 Added driver data struct to cvs.c
Added driver data struct and save states to: cbasebal.c, chinsan.c, mitchell.c and quasar.c


Not to be mentioned: I also removed use of memory_set_bankptr from CPS1 sound banking and renamed a couple of rallyx.c constants to be less generic
2009-12-12 19:03:40 +00:00
Fabio Priuli
9ccef5fb60 Imported SAA5050 emulation from MESS and made it a device. Updated malzak.c to use it, removing the almost identical implementation in the driver.
Out of whatsnew: Unfortunately, I was unable to make both malzak and p2000t (in MESS) to work without a small kludge, clearly documented in the source. I plan to further investigating the problem once I manage to merge the other 505x variants (later)
2009-12-12 18:22:43 +00:00
Aaron Giles
26ef740b4b Fix MT03444. Global arrays are now included once again in the memory view.
ALso changed the memory views to determine the list of subviews at
creation time, not init time, allowing for new stuff to appear later.
2009-12-12 08:52:16 +00:00
Fabio Priuli
092edee31b Let's see if we can put a bunch of nails in the coffin of hiscore.dat:
* added driver data struct to neogeo.c and added GAME_SUPPORTS_SAVE flag to all sets, because save state support was already there
* added driver data struct and save state support to cps1.c, cps2.c and fcrash.c
2009-12-12 00:06:43 +00:00
Fabio Priuli
66f8650aac misc small updates:
* added saves to 6522via.c. this fixes problems of gameplan.c and trvquest.c games with -autosave
* added driver data struct and save states to toratora.c and sf.c
* enable GAME_SUPPORTS_SAVE flag to dday.c because some of the core changes have fixed the sound problem at loading
* added a couple of comments about header inclusions
2009-12-11 23:59:11 +00:00
Fabio Priuli
b991a168d1 From David Haywood:
new NOT WORKING
------------------------

Happy 6-in-1 [XX]



(not sure who should be credited, I'll ask)
2009-12-11 23:48:35 +00:00
Fabio Priuli
c081ece894 Removed the last input_port_by_index occurrence in src/mame/
@Aaron: now I think there is only a single occurrence of input_port_by_index in the whole source (in src/emu/sound/disc_inp.c), in case you want to remove the whole handler
2009-12-11 23:39:12 +00:00
Fabio Priuli
67f64cf723 Fix for MT03567: trvquest: Access Violation after OK 2009-12-11 23:35:40 +00:00
Fabio Priuli
e5f5ebeaff Not worth mention: Properly amended s2636 to have correct work ram size. Thanks go to Mariusz for noticing it.
it's funny that I spend my days solving PDEs and functional analysis problems, then I manage to easily fail these stupid calculations...
2009-12-11 23:30:21 +00:00
Scott Stone
ff180f0ce7 Fixes 03570: kf2k3pcb: Access Violation after OK [Fabio Priuli] 2009-12-11 22:06:39 +00:00
Fabio Priuli
fe3420b40f Fixed stupid copy&paste mistake in s2636.c
This is what you get when you forget to press save before the commit :(
2009-12-11 18:20:35 +00:00
Fabio Priuli
72d156a858 of course, you could not compile without these files ;) 2009-12-11 10:54:02 +00:00
Fabio Priuli
989a275f22 Added driver data struct to airbustr.c and djboy.c. Now the latter also supports saves (the former already did). 2009-12-11 10:51:55 +00:00
Andrew Gardner
9f1254ed51 (not whatsnew worthy)
Further refactoring of the hng64 3d code in preparation for FIFO 3d system.
2009-12-11 07:24:24 +00:00
Aaron Giles
40bcc29e8a Cleanups and version bump. 2009-12-11 06:19:46 +00:00
Fabio Priuli
dcd164adc7 Converted Signetics 2636 video chip to be a MAME device and updated drivers using it accordingly
Also, added driver data struct and save states to laserbas.c, laserbat.c, lastfght.c, lazercmd.c and lemmings.c

Finally, added driver data struct to lasso.c
2009-12-11 01:34:38 +00:00
Aaron Giles
64a35dfe95 Added tilemap_create_device() function which lets you create a tilemap
from within a device, and be passed that device in your callback.
2009-12-10 15:42:56 +00:00
Aaron Giles
8ba04b825a Apply mirrors and global masks at address map detokenizing time rather
than later. Also added disabled code to detect address maps with
overlapping regions for future analysis.
2009-12-10 15:32:44 +00:00
Fabio Priuli
ab171be6cd Removed Iron clad, until confirmed against proto 2009-12-10 14:54:01 +00:00
Fabio Priuli
e34fbfef2a on behalf of David Haywood:
Added Astro Fighter wire hack to Tomahawk as well, and documented that some Tomahawks appear to have the Astro Fighter PROM. [David Haywood]
2009-12-10 14:40:17 +00:00
Fabio Priuli
4a396461b3 Added driver data struct and save states to the following drivers:
ladybug.c, ladyfrog.c, lastduel.c, lwings.c, redclash.c and yunsung8.c
2009-12-10 14:22:37 +00:00
Fabio Priuli
c0488dbe0d Converted Kaneko Pandora sprite chip to be a MAME device and updated drivers accordingly. 2009-12-10 09:28:17 +00:00
Phil Bennett
907c61c43e i386 core improvements: [Barry Rodewald]
* Fixed EIP displacement when executing FPU instructions with no 80387 present
* Added 32-bit implementations of SLDT and STR


---------- Forwarded message ----------
From: Barry Rodewald <bsr@xnet.co.nz>
Date: Wed, Dec 9, 2009 at 2:02 AM
Subject: More i386 fixes
To: submit@mamedev.org


Hi,

Here's two more small fixes for the i386 core.

First, is FPU instructions used on 80386.  On a system without a
80387, FPU instructions should have no effect.  Part of the FM Towns
TBIOS (runs as an MS-DOS device driver, providing extra system
functions) initialises the FPU, and tries to detect it.  Upon hitting
the FSTCW instruction, though, it doesn't increase EIP enough when an
extra displacement byte is needed.  So, I've added a call to GetEA to
the escape() function (called when there is no FPU) which will fetch
the extra byte if necessary.

Second, is a 32-bit implementation of the SLDT and STR instructions.
Basically, I copied it from the 16-bit versions, and modified it to
use 32-bit registers.

Thanks,
Barry Rodewald
mailto:bsr@xnet.co.nz
2009-12-10 09:12:35 +00:00
Andrew Gardner
7ffcc2ee76 (not whatsnew.txt worthy)
A tiny bit of reorganization of the hng64 3d.
This is in preparation for rasterizing the 3d FIFO-style.
2009-12-10 08:07:40 +00:00
Brian Troha
eaffaff2ec adds PCB layout for Rapid Fire 2009-12-10 02:19:37 +00:00
Scott Stone
843cf48407 Cleaned out old cheat text commented in the dblewing driver. These can be located in Pugsy's cheat archives. No whatnew is needed. 2009-12-10 00:09:46 +00:00
Fabio Priuli
e0119d9db4 on behalf of David Haywood:
Identified Semicom's Dream World hardware as a copy of Psikyo's 68020 hardware (it was already known that their older platforms were copied from Snow Bros, and Tumble Pop) [David Haywood]

new clones
-----------
Fighting Fantasy (bootleg with 68705) [f205v] (not working)
Phantom (Spectar bootleg) [Team Europe & rades]
Panzar (Spectar bootleg) [f205v]
Fatsy Gambler (Video Hustler bootleg) [f205v]
Fitter (bootleg) [f205v]
Vs. Super Mario Bros. (bootleg with Z80) (2 sets) [f205v, Dante Profeta] (not working)

new NOT WORKING
------------------------
Video Stars [Andrew Welburn]
2009-12-09 23:52:28 +00:00
Fabio Priuli
637085584b Added driver data struct and save states to the following drivers:
kangaroo.c, karnov.c, kchamp.c, kickgoal.c, kingobox.c, kncljoe.c, koikoi.c, kopunch.c, ksayakyu.c and kyugo.c
2009-12-09 23:42:28 +00:00
Brian Troha
db86be935f new games added: Rapid Fire
Adds Rapid Fire v1.0 & v1.1

revert if needed

No whatsnew please
2009-12-09 19:31:02 +00:00
Brian Troha
ef97f61c36 New clone added: Strikers 1945 (Hong Kong, bootleg)
New Clone Added
---------------------------------
Strikers 1945 (Hong Kong, Bootleg) [David Haywood, Brian Troha, Dumping Union]
2009-12-09 19:29:02 +00:00
Angelo Salese
d053723050 Version mismatch, sorry...d-l 2009-12-09 18:02:12 +00:00
Angelo Salese
58f2a610f2 Aleck 64: Worked around hard-locks at start-up, I let decide to MG what's the best solution for it. 2009-12-09 17:47:06 +00:00
Fabio Priuli
58f0e8c7c2 Added driver data struct and save states to: jangou.c, jantotsu.c, jollyjgr.c and jongkyo.c 2009-12-09 16:04:47 +00:00
Fabio Priuli
08b933040b removed comment 2009-12-09 16:03:31 +00:00
Fabio Priuli
700da468ac Added Driver Configuration to astrof.c to emulate common wire hack which causes black background [David Haywood] 2009-12-09 15:51:53 +00:00
Aaron Giles
a0375128a0 Fixed DMADAC wrapping behavior. [Tim Schuerewegen] 2009-12-09 15:40:16 +00:00
Aaron Giles
e349350227 Converted atari drivers over to using driver_data for the most
part. Some shared systems still exist with globals, but this
tackles the atarigen module and the variables local to each
driver.

Also added validity check that AM_BASE_MEMBER and AM_SIZE_MEMBER
items point within the bounds of the driver_data structure.
2009-12-09 15:34:23 +00:00
Fabio Priuli
3781da05a5 Added driver data struct and save states to jack.c 2009-12-09 14:10:54 +00:00
Fabio Priuli
eb9e1e53e5 Added common driver data struct to timeplt.c, tutankhm.c, junofrst.c, pooyan.c, rallyx.c and rocnrope.c (these drivers all use audio/timeplt.c). As a side effect, we now have save states in junofrst.c and rallyx.c.
Added driver data struct to jackal.c

out of the whatsnew, a couple of remarks: 
- rallyx and nrallyx might require a separate driver data struct to deal with namco_soundregs, but I'll take care of this eventually (if really needed)
- jackal does not properly save the work ram banks atm, hence no SUPPORTS_SAVE flag, but I keep looking for a clean solution to the problem
2009-12-09 14:09:22 +00:00
Brian Troha
fa9e91f866 Adds Ironclad to neogeo driver (neodrvr.c)
no whatsnew please
2009-12-09 05:03:02 +00:00
Roberto Fresca
a26c0493cb Fixed the new unknown Draw Poker HI-LO sets, adding both bipolar PROM dumps to each one. 2009-12-09 04:05:41 +00:00
Fabio Priuli
970edeb987 Added driver data struct to ironhors.c 2009-12-09 00:46:57 +00:00
Fabio Priuli
0c3290533f Added save states and driver data struct to the following drivers: fromance.c, fromanc2.c, ikki.c, imolagp.c, inufuku.c
Added driver data struct to pipedrm.c and added devices to gameplan.c driver data struct (to remove a few cputag calls)

Also, removed a couple of memory_set_bankptr that I had forgotten (buggychl.c & homedata.c)
2009-12-09 00:45:33 +00:00
Roberto Fresca
575f81b93e Added a PCB layout for M.Kramer's Black Jack Poker, based on a hi-res pic.
Also added undumped devices as NO_DUMP.
2009-12-08 19:17:53 +00:00
Angelo Salese
bc26ce3ce5 Aleck 64: Implemented player 2 inputs [Angelo Salese] 2009-12-08 18:30:10 +00:00
Phil Bennett
81c2b67b66 Corrected magicmsk.u8 CRC/SHA1 (no whatsnew) 2009-12-08 14:57:21 +00:00
Phil Bennett
c8608dcc22 Cleaned-up several drivers; added missing prototypes and removed dead ones,
marked non-exported functions as static and removed cases of #include "deprecat.h" [Atari Ace]

---------- Forwarded message ----------
From: Atari Ace <atari_ace@verizon.net>

Date: Sat, Dec 5, 2009 at 7:18 AM
Subject: [patch] Header cleanups
To: submit@mamedev.org
Cc: atariace@hotmail.com

Hi mamedev,

This patch improves the quality of the mame driver headers, by adding
missing prototypes and source comments, removing dead prototypes, and
marking some non-exported functions as static within the drivers.  It
also eliminates about a dozen cases of #include "deprecat.h".

~aa
2009-12-08 14:54:29 +00:00
Angelo Salese
ddc7f0334b deleted obsolete comment as per Haze 2009-12-08 13:28:10 +00:00
Fabio Priuli
d1a758c12a Added save states and driver data struct to glass.c & homedata.c
Added driver data struct to hyprduel.c
2009-12-08 10:36:43 +00:00
Roberto Fresca
14cb5e25ce New games marked as GAME_NOT_WORKING
------------------------------------
Fast Draw (poker conversion kit)? [Roberto Fresca]
Draw Poker HI-LO (unknown, rev 1) [Roberto Fresca, Dumping Union]
Draw Poker HI-LO (unknown, rev 2) [Roberto Fresca, Dumping Union]
2009-12-08 04:18:28 +00:00
Angelo Salese
750b79a409 Quick and dirty function to draw some garbage in the blitter, written by Haze 2009-12-07 22:27:43 +00:00
Angelo Salese
ee2a6affca Some hook-ups for the text blitter 2009-12-07 21:53:10 +00:00
Angelo Salese
75b0d0c872 As per Dox, swapped r<->b colors, colors looks now more realistic (and a sincere thank you to Sega that isn't even able to decide a standarized paletteram format for its HWs :/) 2009-12-07 17:42:46 +00:00
Angelo Salese
b20c8a4100 Fixed a DMA list processing quirk, this fixes most black squares in background drawing 2009-12-07 16:57:13 +00:00
Angelo Salese
3d7b47d280 Hooked up videoram reading in drawing functions, more gfxs are now displayed 2009-12-07 15:31:08 +00:00
Angelo Salese
9b4440922d Implemented DMA vram transfers 2009-12-07 15:15:24 +00:00
Angelo Salese
6540973d1a Refactored driver, added Guru's readme^TM and applied alternative gfx rom loading, more logical according to the readme structure 2009-12-07 13:57:33 +00:00
Phil Bennett
54570e176e Fixed srcclean handling of embedded comments within strings [Atari Ace]
(Update of r7501)

---------- Forwarded message ----------
From: Atari Ace <atari_ace@verizon.net>
Date: Sun, Dec 6, 2009 at 5:51 PM
Subject: [patch] srcclean bugfix
To: submit@mamedev.org
Cc: atariace@hotmail.com


Hi mamedev,

My srcclean changes to track C-style quotes didn't handle all the
special cases correctly (for instance, '\"' and "\\\"").  This fixes
it, and adds some /* ... */ to m68k_in.c so that src2html.exe does a
better job on it.

~aa
2009-12-07 11:13:54 +00:00
Aaron Giles
fd34a32091 Added new functions:
memory_install_ram() to assign a un-named bank to a region and specify
    a pointer to where the RAM lives. If this is called in the DRIVER_INIT
    function or MACHINE/SOUND/VIDEO_START functions, then it is permissible
    to specify NULL, in which case the memory system will allocate memory
    and register it for save states.

  memory_install_rom() is like the above except that it only installs a
    read handler.

  memory_install_writeonly() is like the above except that it only installs
    a write handler.

Updated several instances in the code that were assigning banks to these
sorts of static RAM regions and simplified the code.

Also fixed several regressions reported by Tafoid.
2009-12-07 08:32:02 +00:00
Brian Troha
f47d21d30a minor name update to last name update for Merit trivia roms 2009-12-07 02:00:51 +00:00
Brian Troha
61f667fa84 fixes rom names is several merit trivia question sets 2009-12-07 01:46:40 +00:00
Angelo Salese
f98e1228b8 Fixed a stupid math bug with charset decoding... 2009-12-06 23:19:07 +00:00
Angelo Salese
ab385355a8 Moved charram to a more logical position 2009-12-06 23:06:28 +00:00
Angelo Salese
8a675c2e8c Improved DMA understanding 2009-12-06 21:14:21 +00:00
Angelo Salese
b767724436 Fixed paletteram and implemented basic inputs 2009-12-06 20:07:37 +00:00
Angelo Salese
b1923d53ad Allow it to draw RAM-based chars, starts to show correct gfxs 2009-12-06 17:56:16 +00:00
R. Belmont
c165519e07 Fix 64-bit issue noted by Juergen. 2009-12-06 17:30:10 +00:00
Angelo Salese
8fc1ec0384 Fixed program ROM memory map loading as per the service mode item 2009-12-06 17:28:54 +00:00
Angelo Salese
d71b64645a Fixed some stuff as per Guru and Dox, now goes into Service Mode 2009-12-06 16:51:05 +00:00
Aaron Giles
98484d44b0 Internal memory system shuffling. Address maps initialized internally
now call the same installation handlers that drivers do for dynamic
installation. Cleaned up some parameter ordering and error detection.
2009-12-06 08:18:34 +00:00
smf-
0be7db3893 replaced char * pointer comparison with strcmp. 2009-12-06 02:19:12 +00:00
smf-
2c3c41b08f fixed compiling after share were changed to a tag, not tested if this is the correct behaviour. 2009-12-06 02:03:29 +00:00
Aaron Giles
0fd8c755ff Memory shares are now specified by tag instead of index.
The AM_SHARE() macro now takes a tag parameter. All existing
shares have been bulk renamed to "share##". However, the name
does not matter, so please use descriptive tags going forward.

Also added tag validation for bank and share tags.

Added flag to tagmap_add functions that optionally will
replace existing objects if a duplicate is found.
2009-12-05 20:19:04 +00:00
Roberto Fresca
9fdc5ec196 Noraut Poker driver improvements:
* Added new technical notes.
 * Added Kimble Z80 hardware support.
 * Added Prologic-Noraut hardware support.
 * Added proper discrete sound support to Kimble games,
   and Prologic-Noraut Joker Poker.
 * Slightly adjusted the visual area.
   This can be wrong and must be rechecked.
 * Relocated the hardware notes and layouts to ROM_LOAD section,
   so can be seen/maintained in a cleaner way.
 * Fixed the default lamps state.


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Noraut Joker Poker (Prologic HW) [Roberto Fresca, Alan Griffin]


New games marked as GAME_NOT_WORKING
------------------------------------
Kimble Double HI-LO (z80 version) [Roberto Fresca, Alan Griffin]
2009-12-05 20:05:03 +00:00
Angelo Salese
8d4b6387f3 Cleaned up a small left over quirk, not worth mentioning 2009-12-05 19:24:44 +00:00
Scott Stone
86cbe8c506 Changed occurrences of device label "cpu" to "maincpu" to comply to stated guidelines. 2009-12-05 18:22:48 +00:00
Aaron Giles
ee315fe99d Renamed functions:
memory_install_read/write_port_handler -> 
        memory_install_read/write_port

   memory_install_read/write_bank_handler -> 
        memory_install_read/write_bank
2009-12-05 07:59:31 +00:00
Aaron Giles
9eda9e163e More memory system cleanup. Removed SMH_* macros entirely. In
their place are a series of expanded macros and new memory
installation helpers. Some mappings below (not all are new):

   AM_READ(SMH_RAM)                       -> AM_READONLY
   AM_WRITE(SMH_RAM)                      -> AM_WRITEONLY
   AM_READWRITE(SMH_RAM, SMH_RAM)         -> AM_RAM
   AM_READ(rhandler) AM_WRITE(SMH_RAM)    -> AM_RAM_READ(rhandler)
   AM_READ(SMH_RAM) AM_WRITE(whandler)    -> AM_RAM_WRITE(whandler)
   AM_DEVREAD(tag, rhandler) AM_WRITE(SMH_RAM) 
                                  -> AM_RAM_DEVREAD(tag, rhandler)
   AM_READ(SMH_RAM) AM_DEVWRITE(tag, whandler) 
                                  -> AM_RAM_DEVWRITE(tag, whandler)

   AM_READ(SMH_ROM)                       -> AM_ROM
   AM_WRITE(SMH_ROM)                      -> (was a no-op)

   AM_READ(SMH_NOP)                       -> AM_READNOP
   AM_WRITE(SMH_NOP)                      -> AM_WRITENOP
   AM_READWRITE(SMH_NOP, SMH_NOP)         -> AM_NOP

For dynamic memory handler installation of the various types,
use the new functions:

   memory_unmap_read()
   memory_unmap_write()
   memory_unmap_readwrite() -- unmaps a section of address space

   memory_nop_read()
   memory_nop_write()
   memory_nop_readwrite() -- nops a section of address space

Cleaned up the internals of the address_map_entry structure, and
also normalized the way the address map macros work to remove a
lot of redundancy.
2009-12-05 07:54:11 +00:00
Tomasz Slanina
320793ee8f New clones added
----------------
Gals Panic (Korea, EXPRO-02 PCB) [Guru]
2009-12-04 19:30:10 +00:00
Phil Bennett
1c58ec77c5 03557: All sets in namcos12.c: Music is slower than original [Phil Bennett]
Measured and corrected Namco System 12 H8/C352 clocks [Phil Bennett]
2009-12-04 19:01:30 +00:00
Brian Troha
dc53a14ef2 Minor name change for a CPS2 clone to make it more logical 2009-12-04 01:55:12 +00:00
Angelo Salese
3a40556117 Cool Riders: discovered that area 4******* of SH-2 is actually a weird kind of text tilemap blitter [David Haywood, Angelo Salese] 2009-12-04 01:39:17 +00:00
Angelo Salese
9bc7aee599 Cool Riders: basic DMA hooked up 2009-12-03 23:03:13 +00:00
Angelo Salese
179960b682 Fixed a subtle bug... 2009-12-03 20:22:51 +00:00
Angelo Salese
111cc80254 Moved around some data and logged what it seems to be a DMA 2009-12-03 19:26:22 +00:00
Phil Bennett
ac751ce903 new clones
-----------

Invasion (4 bootleg sets) [f205v, ANY]
Head On (Sidam bootleg, set 2) [f205v, ANY]
Head On 2 (Sidam bootleg) [f205v, ANY]
Arkanoid (bootleg on Block hardware, set 2) [f205v, ANY]
2009-12-03 15:12:26 +00:00
Phil Bennett
445eb3eb39 PCB documentation updates: [Kevin Eshbach]
* Added the board xtal's for Battlantis, Contra and Pandora's Palace
* Corrected the MCU dump for Pandora's Palace
* Added indication of an undumped PAL for Contra/Gryzor
* Added PAL dumps for Cruis'n USA - rev L4.1
* Added information on the PROM from the 2 Board version of Congo Bongo


--------- Forwarded message ----------
From: Kevin Eshbach <keshbach@comcast.net>
Date: Fri, Nov 27, 2009 at 2:00 AM
Subject: Patch file with assorted updates
To: submit@mamedev.org


Enclosed is a patch file with the following updates.

* Added the board xtal's for Battlantis, Contra and Pandora's Palace (I did
not verify if cpu's/sound chips are using the correct clock speed though.)
* Added indication of an undumped pal for Contra/Gryzor
* Added pal dumps for Cruis'n USA - rev L4.1 (one pal could not be dumped.)
* Corrected the mcu dump for Pandora's Palace
* Added information on the PROM from the 2 Board version of Congo Bongo

All dumps have been previously forwarded to The Dumping Union.



Kevin Eshbach
2009-12-03 15:01:17 +00:00
Phil Bennett
16ed9e0dcc Fixed srcclean handling of embedded comments within strings [Atari Ace]
---------- Forwarded message ----------
From: Atari Ace <atari_ace@verizon.net>
Date: Wed, Dec 2, 2009 at 2:14 AM
Subject: [patch] Fix srcclean to handle strings
To: submit@mamedev.org
Cc: atariace@hotmail.com


Hi mamedev,

I noticed an odd case in src2html.c where tabs were converted to
spaces unnecessarily.  Turns out srcclean does not track quoted
strings, so an embedded comment in a string will be treated the same
as a comment.  Attached is a patch to fix this.

~aa

P.S. The *.lay files could use a run through srcclean.
2009-12-03 14:34:31 +00:00
Phil Bennett
e62d1e6cd7 Added preliminary HNG64 additive tilemap blending [David Haywood]
-----Messaggio originale-----
Da: David Haywood [mailto:neohaze@nildram.co.uk]
Inviato: martedì 1 dicembre 2009 22.47
A: Angelo Salese
Oggetto: hng64 additive tilemap blending debug

not very optimal, but some debug-key based support for this.

t/y/u/i  enable / disable additive blend mode for the tilemaps.

note, when drawing onto a black background the tilemap will look exactly
the same, because black + colour = colour ;-)

the most obvious use are the effects layers in the samurai games, used
for a light beam effect, and snow / storm effects.

I don't know how the hw enables it.
2009-12-03 14:29:17 +00:00
Aaron Giles
0069237f20 Memory banks are now referenced by tag rather than index.
Changed all memory_bank_* functions to specify a tag.
Bulk-converted existing banks to be tagged "bank##" in
order to ensure consistency. However, going forward, the
tags don't matter, so please name them something useful.

Added AM_BANK_READ/AM_BANK_WRITE macros to let you specify
bank tags. Also changed AM_ROMBANK and AM_RAMBANK macros to
accept tags as well.

Added new functions memory_install_read_bank_handler and
memory_install_write_bank_handler to install banks by tag
name, similar to input ports.

Changed internals of memory system to dynamically allocate
all banks. The first time a bank with an unknown tag is
installed, a new bank object is created and tracked 
internally. Removed all SMH_BANK(n) references outside of
the main code; these should never, ever be useful anymore.
2009-12-03 08:16:38 +00:00
Fabio Priuli
d642d98b58 Fix for MT03562: fcombat: Segmentation Fault after OK 2009-12-03 06:18:14 +00:00
Fabio Priuli
c28e7e339e Fix for MT03561: robokid, robokidj, robokidj2: Segmentation Fault after OK 2009-12-03 06:17:18 +00:00
Fabio Priuli
9a05e23eda Fixed a couple of drivers complaining for missing inputs (see MT3559) 2009-12-02 23:15:00 +00:00
Fabio Priuli
4442c6161c Fixed other two regressions from svn 7449. Thanks Tafoid for spotting these. 2009-12-02 23:03:11 +00:00
Fabio Priuli
6ad7e040ec Added shared driver data struct to 40love.c, bking.c, buggychl.c and msisaac.c (they use the same mcu emulation)
As a result, bking.c, buggychl.c and msisaac.c now support save states (40love.c already did, even if mcu values were not saved)
2009-12-02 22:39:48 +00:00
Fabio Priuli
71be191faf Fixed a small banking problem with bootlegs in aerofgt.c 2009-12-02 22:30:35 +00:00
Angelo Salese
f3bdc40bd6 Cool Riders: some hooks to allow FBI logo drawing [Angelo Salese] 2009-12-02 20:41:38 +00:00
Angelo Salese
05fc796369 Actually fixed colors for good in Wink 2009-12-02 16:57:34 +00:00
Jonathan Gevaryahu
214b3564e9 Cosmic: fixed cosmica2 romset rom split and names to match romset as described in mameinfo, which it matches (except for one rom which mameinfo is probably wrong about). The romset uses a different rom daughterboard to the other cosmica romsets, and different sized roms. 2009-12-02 15:58:28 +00:00
Jonathan Gevaryahu
5dffcb6c6c mostly resolved mix of intel and motorola notation in tms32025 disassembler 2009-12-02 15:32:57 +00:00
Fabio Priuli
b5d9596eff New clone added :
Tower of Druaga (Manufactured by Sidam) [Corrado Tomaselli]
2009-12-02 13:08:56 +00:00
Tomasz Slanina
2841662f1b New games added or promoted from NOT_WORKING status
---------------------------------------------------
LA Girl [Tomasz Slanina, Guru]
2009-12-02 09:51:33 +00:00
Fabio Priuli
dfa4726c7b Not really worth credit: purged some direct use of SMH_RAM in favor of macros from memory.h 2009-12-02 08:56:01 +00:00
Fabio Priuli
e4b27e0b27 Fix for MT03558: drivers with Access Violation since 0.135u2
I hope these are the only regressions I introduced in svn 7449...
2009-12-02 07:34:35 +00:00
R. Belmont
8bc10109ca One more Clang warning fix.
Anyone who's ever been confused by the meaning of a given GCC or MSVC error diagnostic will enjoy this (it's color-coded in real life for added "wow"):

src/emu/memory.c:2148:5: error: comparison of distinct pointer types ('genf *' and 'void *')                                                           
                                check_entry_handler(write);                                                                                            
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~                                                                                             
src/emu/memory.c:2052:63: note: instantiated from:                                                                                                     
        if (entry->handler.generic != NULL && entry->handler.generic != SMH_RAM) \                                                                     
                                              ~~~~~~~~~~~~~~~~~~~~~~ ^
2009-12-02 03:51:45 +00:00
R. Belmont
41091eeda8 A few minor syntax changes to make the Clang compiler (clang.llvm.org) happy.
MAME does not fully build with it yet so I can't do any drag-racing yet.
Stay tuned.
2009-12-02 03:30:33 +00:00
Angelo Salese
b665e8b20d Wink: Improved colors [Angelo Salese] 2009-12-02 02:19:27 +00:00
Fabio Priuli
9872266cbb Added driver data struct and save states to: galspnbl.c, gcpinbal.c, ginganin.c, go2000.c, goal92.c, goindol.c, good.c, gotcha.c, gotya.c, gstream.c, gumbo.c, gundealr.c, hitme.c, holeland.c & homerun.c
Added driver data struct to: aerofgt.c and gyruss.c
2009-12-02 00:24:14 +00:00
Angelo Salese
f1f61bf97b Cool Riders: slightly improved booting 2009-12-01 23:41:11 +00:00
mariuszw1
81520effea Added inputs to Top Shooter
New games added or promoted from NOT_WORKING
--------------------------------------------
Top Shooter [Mariusz Wojcieszek]
2009-12-01 20:24:32 +00:00
Angelo Salese
b8d446b917 Written a video note before I forgot it... 2009-12-01 15:45:46 +00:00
Angelo Salese
ed5385ca31 Cool Riders: hooked up what it looks like a ROM->to->VRAM transfer... 2009-12-01 15:38:53 +00:00
Angelo Salese
c7b68e8f2b Cool Riders: fixed regression [Angelo Salese] 2009-12-01 14:24:05 +00:00
Tomasz Slanina
900636176d New clones added
----------------
Domino Block ver.2 [Guru]
2009-12-01 12:10:03 +00:00
Fabio Priuli
9ac246d99d Added driver data struct and save states to: hnayayoi.c, hanaawas.c, higemaru.c, himesiki.c and sonson.c
Also, added driver data struct to: alpha68k.c, amspdwy.c, gng.c, gunsmoke.c, hotblock.c

Finally, removed a couple of memory_set_bankptr I hadn't noticed in ddrible.c and gberet.c
2009-12-01 11:36:05 +00:00
Phil Bennett
1340ff28dc New games added as GAME_NOT_WORKING
-----------------------------------
White Tiger - 3VXFC5342 (New Zealand) [Heihachi_73]
Magic Mask (A - 09/05/2000, Export) [Heihachi_73]
Geisha (A - 05/03/01, New Zealand) [Heihachi_73]


---------- Forwarded message ----------
From: AGEMAME Development <agemame@gmail.com>
Date: Thu, Nov 19, 2009 at 9:07 PM
Subject: Aristocrat MK4 and Mk5 ROMS
To: submit@mamedev.org


Courtesy of Heihachi_73

White Tiger

KG Bird (just a fix)
Magic Mask
Geisha

All ROMs at http://agemame.fruit-emu.com/aristo/ (split sets, so only
the fixed file for KG bird)
2009-12-01 11:04:25 +00:00
Fabio Priuli
0180f1b0a8 > Subject: Fix for cp1610 cpu
>
> The cp1610 CPU is only used by the Intellivision (in MESS). However the
> disassembler produces garbage. Also I noticed a tiny error in the CPU
> itself.
>
> Here are the fixes:
>
> Firstly, the CPU, a one-line change. In cp1610.c, at line 3515, you may
> notice that 2 flags are sharing the same bit. Please change the V flag
> to
> use 0x20 (instead of 0x10). That's all there.
>
> Next, the disassembler. It assumes oprom to be 16 bits when in fact it
> is 8.
> I could not see a way of specifying the size of oprom, so assuming it
> is
> always 8 bits. If that's the case, please replace 1610dasm.c with the
> enclosed one.
>
> Thanks and have a great day :)
>
> - Robbbert
2009-12-01 10:56:41 +00:00
Phil Bennett
0cd4d21890 Converted cabal, mappy, toypop and zaxxon to use driver_data structure [Atari Ace]
---------- Forwarded message ----------
From: Atari Ace <atari_ace@verizon.net>
Date: Sun, Nov 29, 2009 at 3:28 AM
Subject: [patch] Convert cabal/mappy/toypop/zaxxon to use driver_data
To: submit@mamedev.org
Cc: atariace@hotmail.com


Hi mamedev,

This patch is a resubmit of my earlier patch to have mappy and zaxxon
store their state in driver_data.  It extends the patch to toypop
(which uses some mappy code), and also converts cabal which I also did
some time ago.  cabal.h and toypop.h are new header files.

~aa
2009-12-01 10:56:22 +00:00
Curt Coder
dc5bb22a05 Changed CDP1869 PAL/NTSC signal to use devcb. 2009-12-01 09:04:13 +00:00
Angelo Salese
b29aa316de Fixed priorities, not worth mentioning 2009-12-01 01:58:08 +00:00
Angelo Salese
173377792c Kusayakyu: Fixed sound and tweaked the frequencies in the driver [Angelo Salese]
================================================================================

Taito should explain to me why doing a sound command latch writeable by the 
Sound CPU itself... >_>
2009-12-01 01:51:42 +00:00
R. Belmont
5dc02c1d32 Fix assert on valid 68k variant. (no credit necessary) 2009-12-01 01:41:41 +00:00
R. Belmont
dc4860e8c3 Naomi: add protection data for Sega Tetris [Andy Geezer] 2009-12-01 01:07:44 +00:00
Fabio Priuli
883dd6f1fd Added driver data struct and save states to: gberet.c, ddrible.c, gaelco.c, trackfld.c, hyperspt.c, yiear.c
Added driver data struct to: galivan.c, jailbrek.c, sbasketb.c
2009-11-30 21:19:55 +00:00
Scott Stone
efb9b61b6c Hooked up cocktail (P2) fire button so that it can be used in-game and in test mode.
Comments:
Corrected long-standing issue in Tron where the cocktail fire button never worked at all or was always held down.  Work still needs to be done with the 10 position dip which isn't properly hooked up yet.
2009-11-30 20:28:38 +00:00
Angelo Salese
6caf4d0608 Kusayakyuu: fixed color prom hook-up, tilemap color offsets and tilemap flipping [Angelo Salese] 2009-11-30 19:09:20 +00:00
Aaron Giles
b5c3081f3e Cleanups and version bump. 2009-11-30 01:46:32 +00:00
Aaron Giles
6967cdf013 From:CD-i Fan
I found that it needs to be slightly different if you want correctly
terminated audio streams:

		/* add up the samples */
		if (channelsamples > chunksamples)
			file->info.audio_numsamples = stream->samples += chunksamples;
		else if (channelsamples > 0)
			file->info.audio_numsamples = stream->samples += channelsamples;

Otherwise extra silence will be counted at the end of the audio stream.
Not really that big an issue but a bit sloppy...
2009-11-30 00:51:05 +00:00
Aaron Giles
93671925bd Memory regions now use a tagmap for lookups. 2009-11-30 00:48:31 +00:00
Fabio Priuli
9694fca5f2 Added save states to funybubl.c, galaxi.c, gaiden.c and rocnrope.c
Added driver data struct to fuukifg2.c and fuukifg3.c (no save states yet due to anonymous timers)
Also, added more devices to dkong driver data (to minimize # of cputag_xxxx calls)

As a side note, now drgnbowl (one of the worst game ever) supports saves! enjoy :-P
2009-11-30 00:03:05 +00:00
Angelo Salese
6dd4c78bcd Joker's Wild: implemented bare minimum to allow it to go into gameplay and fixed tilemap graphics [Angelo Salese] 2009-11-29 23:00:22 +00:00
Angelo Salese
8be42ffeeb Joker's Wild: bypassed the rng test [Angelo Salese] 2009-11-29 21:54:34 +00:00
Angelo Salese
d638e3b6b3 hng64: implemented screen disable when the visible area regs are equal to zero and fixed back layer [Angelo Salese] 2009-11-29 20:39:09 +00:00
Brian Troha
47af70d471 Figured out 2 dipswitch setting for Sigma Submarine (sub.c), Demo Sounds and Cabinet. 2009-11-29 19:34:38 +00:00
Brian Troha
85a220b9a4 New clone added: Super Puzzle Fighter II Turbo (Hispanic 960531)
Please disreguard the previous "Not Working" submission of the same in the what's new.  Thank you!

New Clone Added
--------------------------------
Super Puzzle Fighter II Turbo (Hispanic 960531) [Artemio Urbina, David Haywood]
2009-11-29 18:09:25 +00:00
Aaron Giles
be41f9036b Make use of AM_BASE_SIZE_MEMBER macros. 2009-11-29 04:06:34 +00:00
Fabio Priuli
6446f7ffa5 same as 7449 (less cputag calls during emulation and no generic sizes for struct elements) for a few remaining drivers
both changes are not really worth mention in the whatsnew, imho
2009-11-29 01:57:36 +00:00
Fabio Priuli
1a309ff78b Cleaned up many driver data structs to obtain two results:
* drop almost completely the use of generic sizes with struct members 
* reduce as much as possible accesses to cputag calls during emulation (they are now mainly concentrated at MACHINE_START & DRIVER_INIT)

unfortunately I had been away for half a day and I have found only now rev 7446 (which could have been used in many of these cases). too late to use the new macro, sorry (almost 3AM here)
2009-11-29 01:49:13 +00:00
Tomasz Slanina
796b597e06 New games added or promoted from NOT_WORKING status
---------------------------------------------------
Iron (SNES bootleg) [Tomasz Slanina, Volker Hann & Team Europe]
2009-11-29 01:09:07 +00:00
Phil Bennett
960f3b1d7a Added missing includes for r7445 2009-11-28 23:26:25 +00:00
Aaron Giles
6895fc3b66 Added AM_BASE_SIZE_MEMBER() macro for specifying both base and size
structure members at once. Updated all cases where this could be
used.
2009-11-28 19:41:12 +00:00
Aaron Giles
90560a421d From: Atari Ace <atari_ace@verizon.net>
Date: Sat, Nov 28, 2009 at 5:49 PM
Subject: [patch] Eliminate spriteram3
To: submit@mamedev.org
Cc: atariace@hotmail.com


Aaron's patch to move the generic pointers into machine conflicts with
a patch I'd worked on some time ago to start eliminating those globals
altogether, so I've become motivated to finally submit it ;-).  This
patch eliminates spriteram3, which unlike the other spriteram
variables, is only a convenience for some drivers.

~aa
2009-11-28 19:33:18 +00:00
Brian Troha
bd4199f31c New clone added (not working): Super Puzzle Fighter II Turbo (Hispanic 960529)
This one needs a decrypt key.

WARNING: Due to the small size of encrypted code and the requirements of the key finding code, this set may never have a key.  Haze tried and ran the key exctractor for 25 hours with "no key found"...  Nicola or Andreas will have to work this one over.

New Clone Added
--------------------------------
Super Puzzle Fighter II Turbo (Hispanic 960529) [Artemio Urbina]
2009-11-28 18:42:08 +00:00
Phil Bennett
a6dc556396 Fixed i386 REP prefix to use segment:SI when address size is 16-bit (ie: when using OUTSB or OUTSW). [Barry Rodewald]
---------- Forwarded message ----------
From: Barry Rodewald <bsr@xnet.co.nz>
Date: Sat, Nov 28, 2009 at 6:55 AM
Subject: Another i386 fix
To: submit@mamedev.org


Hi,

Small fix this time.  This fixes an issue with the FM Towns version of
MS-DOS where it was feeding nonsense parameters to the CD-ROM
controller.  MS-DOS uses REP OUTSB to send the parameters, and I
noticed that the expected data was not what was sent to the I/O port.
Looking at the i386 code, I saw that it always used segment:ESI,
regardless of address size.  This fix makes it use segment:SI when
address size is 16-bit (ie: when using OUTSB or OUTSW).

Patch is based on 0.135u1.

Thanks,
Barry Rodewald
mailto:bsr@xnet.co.nz
2009-11-28 18:26:43 +00:00
Phil Bennett
07d42fe3d9 New clones added
----------------

Wizard of Wor (with German Language ROM) [Volker Hann]
Gorf (program 1, with German Language ROM) [Volker Hann]


---------- Forwarded message ----------
From: David Haywood <neohaze@nildram.co.uk>
Date: Fri, Nov 27, 2009 at 10:52 AM
Subject: Re: new dumps
To: klaus@hotsummer.at, Philip Bennett <p.j.bennett@gmail.com>


new clones
------------

Wizard of Wor (with German Language ROM) [Volker Hann]
Gorf (program 1, with German Language ROM) [Volker Hann]
2009-11-28 18:20:45 +00:00
Phil Bennett
e58f69f66c New games marked as GAME_NOT_WORKING
------------------------------------
Iron Commando (SNES bootleg) [Volker Hann & Team Europe]


--------- Forwarded message ----------
From: David Haywood <neohaze@nildram.co.uk>
Date: Thu, Nov 26, 2009 at 11:34 PM
Subject: Re: new dumps
To: Klaus Sommer <klaus@hotsummer.at>, Philip Bennett <p.j.bennett@gmail.com>


It dosen't work as a rom-swap (boot vector probably needs to be
different at least, maybe swaps, haven't checked against the snes
version)

New NOT WORKING
-------------------------

Iron Commander (SNES bootleg) [Volker Hann & Team Europe]
2009-11-28 18:06:54 +00:00
Phil Bennett
b6072ef38c New clones added
-----------------
X-Men (4 Players ver EBA) [Irongiant]
2009-11-28 17:59:00 +00:00
Angelo Salese
d168f1b8c0 hng64: Start to document 3d / framebuffer video registers, implemented a quick hook-up that fixes Buriki One 3d model colors minus one case [Angelo Salese] 2009-11-28 17:33:46 +00:00
Angelo Salese
723bf8dfe3 hng64: implemented dynamic visible area [Angelo Salese] 2009-11-28 15:54:30 +00:00
Roberto Fresca
c682f844d4 * Renamed kimblejp to kimbldhl. Changed game description to Kimble Double Hi-Lo.
* Added specific memory map & machine driver to Kimble Double Hi-Lo.
 * Fix the Kimble Double Hi-Lo CPU type.
 * Added notes about the code obfuscation and PPI's handling/offsets.

Aaron: Please, in the New games marked as GAME_NOT_WORKING,
change the line: "Kimble Joker Poker [Roberto Fresca, Alan Griffin]"
to: "Kimble Double Hi-Lo [Roberto Fresca, Alan Griffin]"
2009-11-28 13:14:35 +00:00
Phil Bennett
26bbf78480 03553: extdwnhl: Game does not start [Phil Bennett] 2009-11-28 13:11:22 +00:00
Aaron Giles
5e643c1251 Purged remaining globals from video/generic.c and audio/generic.c 2009-11-28 08:31:22 +00:00
Aaron Giles
6bfe172c78 Removed global videoram, colorram, paletteram, and spriteram.
Added equivalent pointers to machine->generic. Updated all
references.

Now that accessing these is more awkward, it is probably best
to put these pointers in the driver data structures instead
of using the generic pointers. The main reason to continue
using generic pointers is to allow use of paletteram shortcuts
and buffered spriteram handling.
2009-11-28 03:06:46 +00:00
Fabio Priuli
b716ea8271 Added driver data struct to freekick.c
Also (but no need to mention it), removed some SMH_RAM occurrences in fitfight.c and fixed regression I caused in bowlrama (capbowl.c)
2009-11-27 23:31:21 +00:00
Fabio Priuli
6ab509cb8d Added driver data struct and save states to fitfight.c, flstory.c and funkybee.c
Also, added driver data struct to flyball.c and merged video emulation
2009-11-27 22:15:46 +00:00
Curt Coder
abb8ad1fb6 Actually use the speaker interface if provided. 2009-11-27 13:11:19 +00:00
Curt Coder
a2e82426fe Intel 8255A: clear input latch after reading it 2009-11-27 13:10:50 +00:00
Phil Bennett
aa14c5764e New clones added
----------------

Cannon Ball (bootleg on Crazy Kong hardware) (set 3, no bonus game) [Volker Hann, Team Europe]


From: David Haywood <neohaze@nildram.co.uk>
Date: Wed, Nov 25, 2009 at 1:57 PM
Subject: Cannon Ball bootleg
To: Philip Bennett <p.j.bennett@gmail.com>


this one has the bonus round ripped out to avoid the protection
check.... of course that introduces it's own visual glitches, but
bootleggers will be bootleggers and I guess not crashing was more
important ;-)

new clones
-----------

Cannon Ball (bootleg on Crazy Kong hardware) (set 3, no bonus game) [Volker Hann & Team Europe]
2009-11-27 12:24:11 +00:00
Phil Bennett
1430bdc1a2 Temp fix for namcos23.c validity check warning 2009-11-27 12:10:39 +00:00
Fabio Priuli
832b946cc5 Added driver data struct and save states to btime.c and scregg.c 2009-11-27 10:09:27 +00:00